Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001217/0.001217, allocations: 176.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009017/0.0009016, allocations: 89.31 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.28e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.785, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.988/5.773, allocations: 2.072 GB / 3.045 GB, free: 72.83 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.773, allocations: 91.94 kB / 3.045 GB, free: 72.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1179/5.891, allocations: 57.17 MB / 3.101 GB, free: 15.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/5.891, allocations: 4 kB / 3.101 GB, free: 15.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.687e-05/5.891, allocations: 20 kB / 3.101 GB, free: 15.48 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001545/5.893, allocations: 1.043 MB / 3.102 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/5.893, allocations: 8.031 kB / 3.102 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007944/5.894, allocations: 190.5 kB / 3.102 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/5.894, allocations: 0.6036 MB / 3.103 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/5.894, allocations: 28 kB / 3.103 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/5.895, allocations: 44 kB / 3.103 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/5.896, allocations: 0.9679 MB / 3.104 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/5.897, allocations: 0.7148 MB / 3.105 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/5.897, allocations: 0 / 3.105 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/5.897, allocations: 0 / 3.105 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/5.897, allocations: 23.95 kB / 3.105 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/5.899, allocations: 2.232 MB / 3.107 GB, free: 9.457 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/5.9, allocations: 0.7214 MB / 3.108 GB, free: 8.703 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/5.901, allocations: 251.1 kB / 3.108 GB, free: 8.457 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/5.901, allocations: 28.75 kB / 3.108 GB, free: 8.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/5.901, allocations: 387.8 kB / 3.108 GB, free: 8.031 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/5.901, allocations: 0 / 3.108 GB, free: 8.031 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001306/5.903, allocations: 0.6536 MB / 3.109 GB, free: 7.371 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/5.903, allocations: 240.1 kB / 3.109 GB, free: 7.082 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/5.903, allocations: 0.4944 MB / 3.11 GB, free: 6.582 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/5.903, allocations: 25.7 kB / 3.11 GB, free: 6.551 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/5.903, allocations: 372.2 kB / 3.11 GB, free: 6.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/5.903, allocations: 232.5 kB / 3.11 GB, free: 5.949 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/5.903, allocations: 3.938 kB / 3.11 GB, free: 5.945 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/5.904, allocations: 374.8 kB / 3.111 GB, free: 5.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/5.904, allocations: 185.5 kB / 3.111 GB, free: 5.387 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/5.904, allocations: 287.5 kB / 3.111 GB, free: 5.074 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/5.904, allocations: 236.5 kB / 3.111 GB, free: 4.844 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/5.904, allocations: 0 / 3.111 GB, free: 4.844 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001225/5.906, allocations: 0.6369 MB / 3.112 GB, free: 4.199 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/5.906, allocations: 4 kB / 3.112 GB, free: 4.195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/5.906, allocations: 0 / 3.112 GB, free: 4.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/5.906, allocations: 92.78 kB / 3.112 GB, free: 4.102 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/5.907, allocations: 131.8 kB / 3.112 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/5.908, allocations: 1.469 MB / 3.114 GB, free: 2.379 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/5.909, allocations: 59.53 kB / 3.114 GB, free: 2.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/5.909, allocations: 23.98 kB / 3.114 GB, free: 2.297 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/5.909, allocations: 120.9 kB / 3.114 GB, free: 2.172 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001194/5.91, allocations: 0.6522 MB / 3.114 GB, free: 1.512 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/5.91, allocations: 71.16 kB / 3.114 GB, free: 1.441 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/5.912, allocations: 0.9183 MB / 3.115 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/5.912, allocations: 8 kB / 3.115 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/5.912, allocations: 0 / 3.115 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/5.912, allocations: 7.984 kB / 3.115 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4906/6.403, allocations: 1.691 MB / 3.117 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/6.403, allocations: 1.203 kB / 3.117 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/6.403, allocations: 145.2 kB / 3.117 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/6.404, allocations: 90.16 kB / 3.117 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/6.404, allocations: 13.83 kB / 3.117 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/6.406, allocations: 1.473 MB / 3.119 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/6.406, allocations: 1.5 kB / 3.119 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/6.407, allocations: 0.8264 MB / 3.12 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/6.408, allocations: 280.4 kB / 3.12 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/6.408, allocations: 8.016 kB / 3.12 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/6.409, allocations: 51.81 kB / 3.12 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/6.409, allocations: 66.03 kB / 3.12 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/6.409, allocations: 33.05 kB / 3.12 GB, free: 313.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007446/6.41, allocations: 401.4 kB / 3.12 GB, free: 313.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/6.41, allocations: 0.9062 kB / 3.12 GB, free: 313.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001428/6.411, allocations: 299.6 kB / 3.121 GB, free: 313.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003519/6.415, allocations: 2.315 MB / 3.123 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001166/6.416, allocations: 0.635 MB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.416, allocations: 0.7812 kB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/6.417, allocations: 447 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/6.418, allocations: 218.9 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/6.421, allocations: 1.462 MB / 3.126 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/6.422, allocations: 1.019 MB / 3.127 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007471/6.423, allocations: 247.9 kB / 3.127 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/6.423, allocations: 355 kB / 3.127 GB, free: 311.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.11e-07/6.423, allocations: 7.141 kB / 3.127 GB, free: 311.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/6.478, allocations: 22.72 MB / 3.149 GB, free: 309.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/6.478, allocations: 209.4 kB / 3.15 GB, free: 309.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/9.183, allocations: 0 / 3.15 GB, free: 309.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)