Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005082/0.005083, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002777, allocations: 8.281 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5008, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.003475/0.5043, allocations: 3.997 MB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1435/0.6478, allocations: 146.7 MB / 1.102 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.6481, allocations: 27.81 kB / 1.102 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.6485, allocations: 138.9 kB / 1.102 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009701/0.6495, allocations: 445.3 kB / 1.103 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.6508, allocations: 0.7234 MB / 1.104 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.6519, allocations: 1.246 MB / 1.105 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.6526, allocations: 0.5958 MB / 1.105 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.653, allocations: 358.3 kB / 1.106 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.6534, allocations: 395.2 kB / 1.106 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.6535, allocations: 28 kB / 1.106 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.6541, allocations: 367.6 kB / 1.107 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.6542, allocations: 199 kB / 1.107 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.6546, allocations: 470.8 kB / 1.107 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.6559, allocations: 1.495 MB / 1.109 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.6559, allocations: 0 / 1.109 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6559, allocations: 4 kB / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6559, allocations: 0 / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002005/0.6579, allocations: 1.245 MB / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6579, allocations: 12.03 kB / 1.11 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.6581, allocations: 135.5 kB / 1.11 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.6589, allocations: 199.6 kB / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.6599, allocations: 0.7544 MB / 1.111 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.6599, allocations: 66 kB / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.6601, allocations: 84 kB / 1.111 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.6615, allocations: 0.9418 MB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6615, allocations: 0 / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.6616, allocations: 40 kB / 1.112 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.6616, allocations: 20 kB / 1.112 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.6634, allocations: 1.132 MB / 1.113 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.6669, allocations: 2.587 MB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.6684, allocations: 0.9164 MB / 1.117 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.6689, allocations: 318.7 kB / 1.117 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.669, allocations: 32.69 kB / 1.117 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.6698, allocations: 0.5159 MB / 1.117 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 1.823e-06/0.6698, allocations: 0 / 1.117 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.002974/0.6728, allocations: 1.263 MB / 1.119 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.6729, allocations: 192.9 kB / 1.119 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.6736, allocations: 0.6371 MB / 1.119 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.6737, allocations: 49.69 kB / 1.119 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.674, allocations: 396.4 kB / 1.12 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.6742, allocations: 268.2 kB / 1.12 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.6743, allocations: 65.69 kB / 1.12 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6744, allocations: 390.7 kB / 1.121 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.675, allocations: 257.9 kB / 1.121 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.6755, allocations: 378.5 kB / 1.121 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.6766, allocations: 0.6047 MB / 1.122 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6766, allocations: 4 kB / 1.122 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001801/0.6784, allocations: 0.837 MB / 1.123 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6784, allocations: 7.938 kB / 1.123 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6784, allocations: 0 / 1.123 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.679, allocations: 88.8 kB / 1.123 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.6796, allocations: 155.8 kB / 1.123 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.6814, allocations: 1.522 MB / 1.124 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.682, allocations: 107.4 kB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.274e-05/0.6821, allocations: 27.98 kB / 1.124 GB, free: 0.875 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.6825, allocations: 277.3 kB / 1.125 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6826, allocations: 82.97 kB / 1.125 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.6849, allocations: 1.152 MB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6849, allocations: 8 kB / 1.126 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.685, allocations: 7.938 kB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.685, allocations: 11.86 kB / 1.126 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.6881, allocations: 2.032 MB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6882, allocations: 0 / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.6887, allocations: 155.8 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.6893, allocations: 96.75 kB / 1.128 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.6894, allocations: 23.98 kB / 1.128 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.691, allocations: 1.544 MB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6911, allocations: 0 / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.693, allocations: 1.051 MB / 1.131 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.6933, allocations: 299.6 kB / 1.131 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.6934, allocations: 19.94 kB / 1.131 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.6941, allocations: 92.59 kB / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6943, allocations: 72.89 kB / 1.131 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.6943, allocations: 43.97 kB / 1.131 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004903/0.6948, allocations: 467 kB / 1.132 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6948, allocations: 0 / 1.132 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006951/0.6955, allocations: 319.2 kB / 1.132 GB, free: 8.898 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003311/0.6989, allocations: 2.109 MB / 1.134 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.7003, allocations: 0.843 MB / 1.135 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.7003, allocations: 4 kB / 1.135 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.7013, allocations: 0.5315 MB / 1.135 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.7024, allocations: 270.9 kB / 1.136 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.714, allocations: 7.207 MB / 1.143 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.7146, allocations: 1.036 MB / 1.144 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.7153, allocations: 266.8 kB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.7158, allocations: 403.3 kB / 1.144 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.7158, allocations: 0 / 1.144 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/1.102, allocations: 20.51 MB / 1.164 GB, free: 8.09 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/1.102, allocations: 314.8 kB / 1.165 GB, free: 7.703 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.252, allocations: 4 kB / 1.165 GB, free: 7.699 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)