Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.59/2.59, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 180.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001256, allocations: 84.44 kB / 0.7428 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005211, allocations: 14.38 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2489, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.277, allocations: 145.2 MB / 1.12 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.278, allocations: 84.28 kB / 1.12 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0896/1.367, allocations: 18.54 MB / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/1.367, allocations: 0 / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.912e-05/1.368, allocations: 11.5 kB / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003507/1.371, allocations: 0.9055 MB / 1.139 GB, free: 26.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.371, allocations: 11.66 kB / 1.139 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004019/1.372, allocations: 107.7 kB / 1.139 GB, free: 26.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/1.372, allocations: 73.66 kB / 1.139 GB, free: 26.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.373, allocations: 397.1 kB / 1.14 GB, free: 26.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/1.373, allocations: 60.81 kB / 1.14 GB, free: 26.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/1.373, allocations: 56.44 kB / 1.14 GB, free: 26.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/1.376, allocations: 0.6364 MB / 1.14 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/1.376, allocations: 4 kB / 1.14 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/1.376, allocations: 25.19 kB / 1.14 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/1.376, allocations: 11.62 kB / 1.14 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/1.378, allocations: 0.5143 MB / 1.141 GB, free: 26.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/1.384, allocations: 1.864 MB / 1.143 GB, free: 25.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/1.39, allocations: 0.94 MB / 1.144 GB, free: 24.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.391, allocations: 27.09 kB / 1.144 GB, free: 24.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/1.391, allocations: 46.45 kB / 1.144 GB, free: 24.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 5.721e-06/1.391, allocations: 0 / 1.144 GB, free: 24.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.003831/1.395, allocations: 0.8294 MB / 1.145 GB, free: 24.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/1.395, allocations: 136.2 kB / 1.145 GB, free: 24.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/1.395, allocations: 329.8 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/1.396, allocations: 40.08 kB / 1.145 GB, free: 24.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/1.396, allocations: 237.8 kB / 1.145 GB, free: 24.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.396, allocations: 245.3 kB / 1.146 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/1.396, allocations: 10.88 kB / 1.146 GB, free: 23.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.396, allocations: 360.3 kB / 1.146 GB, free: 23.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009661/1.397, allocations: 195.9 kB / 1.146 GB, free: 23.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.398, allocations: 253.5 kB / 1.146 GB, free: 23.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.399, allocations: 238.1 kB / 1.147 GB, free: 23.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/1.399, allocations: 0 / 1.147 GB, free: 23.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002602/1.402, allocations: 0.6018 MB / 1.147 GB, free: 23.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.402, allocations: 12.89 kB / 1.147 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.402, allocations: 0 / 1.147 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.402, allocations: 3.844 kB / 1.147 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.404, allocations: 139.5 kB / 1.147 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.404, allocations: 7.578 kB / 1.147 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.405, allocations: 64.09 kB / 1.147 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.405, allocations: 31.28 kB / 1.147 GB, free: 23.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005014/1.405, allocations: 196.5 kB / 1.148 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.406, allocations: 50.61 kB / 1.148 GB, free: 23.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/1.41, allocations: 1.041 MB / 1.149 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/1.41, allocations: 11.22 kB / 1.149 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.41, allocations: 3.844 kB / 1.149 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/1.41, allocations: 7.969 kB / 1.149 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/1.412, allocations: 0.7682 MB / 1.149 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.412, allocations: 7.844 kB / 1.149 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.414, allocations: 197.7 kB / 1.15 GB, free: 22.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/1.414, allocations: 11.8 kB / 1.15 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.414, allocations: 29.61 kB / 1.15 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.414, allocations: 7.656 kB / 1.15 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.414, allocations: 3.938 kB / 1.15 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/1.417, allocations: 1.156 MB / 1.151 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/1.418, allocations: 247.6 kB / 1.151 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.418, allocations: 21.22 kB / 1.151 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.419, allocations: 40.19 kB / 1.151 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.419, allocations: 72.2 kB / 1.151 GB, free: 21.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/1.419, allocations: 34.05 kB / 1.151 GB, free: 21.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005623/1.42, allocations: 298.8 kB / 1.151 GB, free: 21.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.42, allocations: 0 / 1.151 GB, free: 21.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001454/1.421, allocations: 250.9 kB / 1.152 GB, free: 21.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/1.426, allocations: 2.117 MB / 1.154 GB, free: 20.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002638/1.429, allocations: 0.6048 MB / 1.154 GB, free: 19.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.429, allocations: 3.938 kB / 1.154 GB, free: 19.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.43, allocations: 414 kB / 1.155 GB, free: 19.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/1.431, allocations: 36.03 kB / 1.155 GB, free: 19.85 MB / 0.698 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.442, allocations: 3.867 MB / 1.159 GB, free: 17.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/1.442, allocations: 0.9418 MB / 1.159 GB, free: 16.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000996/1.443, allocations: 124.9 kB / 1.16 GB, free: 16.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/1.444, allocations: 286.3 kB / 1.16 GB, free: 16.28 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/1.444, allocations: 0 / 1.16 GB, free: 16.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5903/2.035, allocations: 12.4 MB / 1.172 GB, free: 4.078 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/2.035, allocations: 245.6 kB / 1.172 GB, free: 3.801 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/5.072, allocations: 4.062 kB / 1.172 GB, free: 3.797 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)