Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_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.001242/0.001242, allocations: 100.8 kB / 16.27 MB, free: 6.41 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.001178/0.001178, allocations: 184.6 kB / 17.19 MB, free: 5.953 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.184/1.184, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6794/0.6794, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005167/0.2964, allocations: 4.794 MB / 0.572 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1365/0.4329, allocations: 150.6 MB / 0.719 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.434, allocations: 23.88 kB / 0.7191 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.4348, allocations: 194.2 kB / 0.7192 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.437, allocations: 0.5392 MB / 0.7198 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.4391, allocations: 0.8384 MB / 0.7206 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4407, allocations: 1.37 MB / 0.7219 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009507/0.4416, allocations: 0.5868 MB / 0.7225 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.4423, allocations: 486.4 kB / 0.723 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.443, allocations: 0.5018 MB / 0.7234 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.4432, allocations: 120 kB / 0.7236 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008774/0.4441, allocations: 451.6 kB / 0.724 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.4444, allocations: 303 kB / 0.7243 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.4449, allocations: 0.5558 MB / 0.7248 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.4466, allocations: 1.605 MB / 0.7264 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4466, allocations: 4 kB / 0.7264 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4466, allocations: 4 kB / 0.7264 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.4466, allocations: 0 / 0.7264 GB, free: 7.301 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002535/0.4492, allocations: 1.43 MB / 0.7278 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4492, allocations: 8.625 kB / 0.7278 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.4494, allocations: 131.4 kB / 0.7279 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009527/0.4503, allocations: 187.4 kB / 0.7281 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4514, allocations: 0.742 MB / 0.7288 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.4515, allocations: 66 kB / 0.7289 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.4516, allocations: 80 kB / 0.729 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.453, allocations: 0.9222 MB / 0.7299 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.453, allocations: 3.984 kB / 0.7299 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.4531, allocations: 32 kB / 0.7299 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4531, allocations: 20 kB / 0.7299 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.4547, allocations: 1.116 MB / 0.731 GB, free: 2.43 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.4582, allocations: 2.724 MB / 0.7337 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4597, allocations: 0.8948 MB / 0.7345 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.4602, allocations: 306.7 kB / 0.7348 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.4602, allocations: 28.53 kB / 0.7349 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007895/0.461, allocations: 499.8 kB / 0.7353 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 1.893e-06/0.461, allocations: 0 / 0.7353 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002825/0.4639, allocations: 1.186 MB / 0.7365 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.464, allocations: 196.5 kB / 0.7367 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006614/0.4646, allocations: 0.6253 MB / 0.7373 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.4647, allocations: 53.64 kB / 0.7374 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.465, allocations: 396.4 kB / 0.7377 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4651, allocations: 252.3 kB / 0.738 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.4653, allocations: 146.5 kB / 0.7381 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4655, allocations: 382.7 kB / 0.7385 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.466, allocations: 245.9 kB / 0.7387 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.4665, allocations: 362.5 kB / 0.7391 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.4675, allocations: 0.5838 MB / 0.7396 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4675, allocations: 0 / 0.7396 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001735/0.4693, allocations: 0.7941 MB / 0.7404 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4693, allocations: 4 kB / 0.7404 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4693, allocations: 4 kB / 0.7404 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.4699, allocations: 84.8 kB / 0.7405 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.4705, allocations: 151.8 kB / 0.7406 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.4724, allocations: 1.64 MB / 0.7422 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.473, allocations: 95.36 kB / 0.7423 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.473, allocations: 27.98 kB / 0.7424 GB, free: 6.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003243/0.4733, allocations: 275.7 kB / 0.7426 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4735, allocations: 82.97 kB / 0.7427 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.4757, allocations: 1.062 MB / 0.7437 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4757, allocations: 15.88 kB / 0.7437 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.4757, allocations: 4 kB / 0.7438 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.4758, allocations: 7.984 kB / 0.7438 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.4787, allocations: 1.958 MB / 0.7457 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4787, allocations: 4 kB / 0.7457 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.4792, allocations: 139.8 kB / 0.7458 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.4796, allocations: 72.78 kB / 0.7459 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.4797, allocations: 23.98 kB / 0.7459 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.4814, allocations: 1.67 MB / 0.7475 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4815, allocations: 0 / 0.7475 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2148/0.6963, allocations: 0.9984 MB / 0.7485 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.6968, allocations: 268.6 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6969, allocations: 20.61 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.6976, allocations: 64.95 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.6978, allocations: 71.17 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.6978, allocations: 39.2 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005663/0.6984, allocations: 454.6 kB / 0.7494 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6984, allocations: 0 / 0.7494 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008069/0.6992, allocations: 314 kB / 0.7497 GB, free: 170.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003163/0.7024, allocations: 2.045 MB / 0.7517 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.7046, allocations: 0.9895 MB / 0.7526 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7046, allocations: 1.688 kB / 0.7526 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008803/0.7055, allocations: 0.5182 MB / 0.7532 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.7067, allocations: 308.9 kB / 0.7534 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/0.7155, allocations: 6.412 MB / 0.7597 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.716, allocations: 1.022 MB / 0.7607 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007695/0.7168, allocations: 260.6 kB / 0.761 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.7172, allocations: 371.2 kB / 0.7613 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.7172, allocations: 0 / 0.7613 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.84/2.557, allocations: 21.32 MB / 0.7821 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/17.74, allocations: 9.797 kB / 0.7821 GB, free: 152.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)