Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.0009951/0.0009982, allocations: 103.7 kB / 15.99 MB, free: 6.359 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.001016/0.001016, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.205/1.205, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6898/0.6898, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005304/0.3325, allocations: 4.934 MB / 0.5608 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.156/0.4885, allocations: 148.4 MB / 0.7058 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.4898, allocations: 15.88 kB / 0.7058 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.4907, allocations: 146.8 kB / 0.7059 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.493, allocations: 0.4888 MB / 0.7064 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.4955, allocations: 0.7639 MB / 0.7072 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.4978, allocations: 1.433 MB / 0.7086 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.4988, allocations: 0.5989 MB / 0.7091 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.4996, allocations: 0.4944 MB / 0.7096 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008888/0.5005, allocations: 0.5328 MB / 0.7101 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/0.5009, allocations: 120 kB / 0.7103 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.5021, allocations: 459.7 kB / 0.7107 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.5025, allocations: 310.9 kB / 0.711 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.5032, allocations: 0.5752 MB / 0.7116 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.5054, allocations: 1.628 MB / 0.7131 GB, free: 3.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5055, allocations: 0 / 0.7131 GB, free: 3.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5055, allocations: 0 / 0.7131 GB, free: 3.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.853e-05/0.5055, allocations: 0 / 0.7131 GB, free: 3.199 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00318/0.5087, allocations: 1.468 MB / 0.7146 GB, free: 1.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5088, allocations: 12.03 kB / 0.7146 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.5089, allocations: 135.6 kB / 0.7147 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/0.5099, allocations: 191.3 kB / 0.7149 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/0.5109, allocations: 0.7661 MB / 0.7156 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.5109, allocations: 66 kB / 0.7157 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.511, allocations: 80 kB / 0.7158 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.5126, allocations: 0.9419 MB / 0.7167 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5127, allocations: 3.938 kB / 0.7167 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.5128, allocations: 40 kB / 0.7167 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5128, allocations: 20 kB / 0.7168 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.5145, allocations: 1.128 MB / 0.7179 GB, free: 14.21 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.003819/0.5183, allocations: 2.755 MB / 0.7206 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5199, allocations: 0.9205 MB / 0.7215 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.5204, allocations: 318.7 kB / 0.7218 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.5205, allocations: 36.67 kB / 0.7218 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009485/0.5215, allocations: 0.5215 MB / 0.7223 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.084e-06/0.5215, allocations: 0 / 0.7223 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003176/0.5247, allocations: 1.259 MB / 0.7235 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5248, allocations: 196.8 kB / 0.7237 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/0.5255, allocations: 0.6372 MB / 0.7243 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.5256, allocations: 41.7 kB / 0.7244 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.5259, allocations: 404.4 kB / 0.7248 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.5261, allocations: 272.1 kB / 0.725 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.5263, allocations: 154.5 kB / 0.7252 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.5265, allocations: 386.8 kB / 0.7255 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.527, allocations: 257.9 kB / 0.7258 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.5276, allocations: 379.3 kB / 0.7262 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5287, allocations: 0.6172 MB / 0.7268 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5287, allocations: 0 / 0.7268 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001844/0.5306, allocations: 0.8369 MB / 0.7276 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5306, allocations: 7.938 kB / 0.7276 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5306, allocations: 8.125 kB / 0.7276 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.5312, allocations: 84.72 kB / 0.7277 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.5319, allocations: 163.8 kB / 0.7278 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.534, allocations: 1.635 MB / 0.7294 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.5346, allocations: 87.33 kB / 0.7295 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.5347, allocations: 39.91 kB / 0.7295 GB, free: 1.785 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0003461/0.535, allocations: 273.4 kB / 0.7298 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5352, allocations: 86.95 kB / 0.7299 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.5376, allocations: 1.14 MB / 0.731 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5377, allocations: 12 kB / 0.731 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.5377, allocations: 0 / 0.731 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5377, allocations: 3.984 kB / 0.731 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.5408, allocations: 2.031 MB / 0.733 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5409, allocations: 4 kB / 0.733 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/0.5415, allocations: 155.8 kB / 0.7332 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.5419, allocations: 68.78 kB / 0.7332 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.542, allocations: 31.98 kB / 0.7332 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.5438, allocations: 1.662 MB / 0.7349 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5438, allocations: 0 / 0.7349 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.5458, allocations: 1.043 MB / 0.7359 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.5462, allocations: 291.5 kB / 0.7362 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.5463, allocations: 16 kB / 0.7362 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/0.547, allocations: 75.92 kB / 0.7363 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.5472, allocations: 80.83 kB / 0.7363 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.5472, allocations: 35.97 kB / 0.7364 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005169/0.5478, allocations: 463 kB / 0.7368 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5478, allocations: 4 kB / 0.7368 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007933/0.5486, allocations: 327.2 kB / 0.7371 GB, free: 9.754 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: 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 (100): * Single equations (assignments): 93 * 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.003405/0.552, allocations: 2.104 MB / 0.7392 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.5543, allocations: 1.058 MB / 0.7402 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5543, allocations: 0 / 0.7402 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.5552, allocations: 0.5431 MB / 0.7407 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5564, allocations: 312.2 kB / 0.741 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.225/0.7814, allocations: 7.038 MB / 0.7479 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.782, allocations: 1.034 MB / 0.7489 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009335/0.7829, allocations: 269.5 kB / 0.7492 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.7834, allocations: 401.4 kB / 0.7496 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.7835, allocations: 0.5938 kB / 0.7496 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/0.8261, allocations: 21.81 MB / 0.7709 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.8263, allocations: 309.4 kB / 0.7712 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.321, allocations: 1.281 kB / 0.7712 GB, free: 165.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)