Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001021/0.001021, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001063/0.001063, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.214/1.214, 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.6984/0.6984, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00493/0.2825, allocations: 4.766 MB / 0.5719 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1361/0.4185, allocations: 150.6 MB / 0.719 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008826/0.4195, allocations: 19.88 kB / 0.719 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.4201, allocations: 194.2 kB / 0.7192 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.422, allocations: 0.5427 MB / 0.7197 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.424, allocations: 0.814 MB / 0.7205 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4253, allocations: 1.359 MB / 0.7219 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.4261, allocations: 0.5758 MB / 0.7224 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005659/0.4266, allocations: 478.4 kB / 0.7229 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.4272, allocations: 497.9 kB / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.4274, allocations: 112 kB / 0.7235 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007535/0.4282, allocations: 459.6 kB / 0.7239 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.4284, allocations: 291.1 kB / 0.7242 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.4289, allocations: 0.5441 MB / 0.7247 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.4304, allocations: 1.577 MB / 0.7262 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4304, allocations: 4 kB / 0.7263 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4304, allocations: 4 kB / 0.7263 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.4304, allocations: 0 / 0.7263 GB, free: 7.449 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002301/0.4327, allocations: 1.414 MB / 0.7276 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4328, allocations: 8.625 kB / 0.7276 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.4329, allocations: 131.3 kB / 0.7278 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008599/0.4338, allocations: 191.4 kB / 0.728 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.4347, allocations: 0.7265 MB / 0.7287 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.4347, allocations: 61.98 kB / 0.7287 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4348, allocations: 80 kB / 0.7288 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.4362, allocations: 0.9027 MB / 0.7297 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4362, allocations: 3.938 kB / 0.7297 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4363, allocations: 40 kB / 0.7297 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4363, allocations: 24 kB / 0.7297 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.4379, allocations: 1.093 MB / 0.7308 GB, free: 2.641 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.003491/0.4414, allocations: 2.677 MB / 0.7334 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.4428, allocations: 0.861 MB / 0.7343 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.4433, allocations: 298.7 kB / 0.7345 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.4434, allocations: 40.53 kB / 0.7346 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007492/0.4441, allocations: 491.1 kB / 0.7351 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 1.964e-06/0.4441, allocations: 0 / 0.7351 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002927/0.4471, allocations: 1.186 MB / 0.7362 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.4472, allocations: 192.6 kB / 0.7364 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.4478, allocations: 0.6215 MB / 0.737 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.4479, allocations: 41.7 kB / 0.737 GB, free: 12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.4482, allocations: 384.4 kB / 0.7374 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.4484, allocations: 256.3 kB / 0.7377 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.4486, allocations: 142.5 kB / 0.7378 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4487, allocations: 390.7 kB / 0.7382 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.4492, allocations: 241.9 kB / 0.7384 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.4497, allocations: 354.5 kB / 0.7387 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.4507, allocations: 0.576 MB / 0.7393 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4508, allocations: 0 / 0.7393 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001748/0.4525, allocations: 0.8019 MB / 0.7401 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4525, allocations: 4 kB / 0.7401 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4526, allocations: 96 / 0.7401 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.4531, allocations: 80.72 kB / 0.7402 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.4537, allocations: 155.8 kB / 0.7403 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.4556, allocations: 1.637 MB / 0.7419 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.4562, allocations: 83.42 kB / 0.742 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.4562, allocations: 27.98 kB / 0.742 GB, free: 6.691 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.0003105/0.4565, allocations: 277.7 kB / 0.7423 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4567, allocations: 82.97 kB / 0.7424 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.4589, allocations: 1.054 MB / 0.7434 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4589, allocations: 12 kB / 0.7434 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4589, allocations: 0 / 0.7434 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4589, allocations: 7.922 kB / 0.7434 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.4617, allocations: 1.903 MB / 0.7453 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4617, allocations: 0 / 0.7453 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.4622, allocations: 139.8 kB / 0.7454 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.4626, allocations: 80.72 kB / 0.7455 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.4627, allocations: 23.98 kB / 0.7455 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.4644, allocations: 1.654 MB / 0.7471 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4644, allocations: 0 / 0.7471 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.4662, allocations: 0.9843 MB / 0.7481 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1869/0.6531, allocations: 274.1 kB / 0.7483 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.6534, allocations: 19.78 kB / 0.7484 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.6541, allocations: 65.23 kB / 0.7484 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.6542, allocations: 71.05 kB / 0.7485 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.6543, allocations: 36.7 kB / 0.7485 GB, free: 171 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005852/0.6549, allocations: 451.4 kB / 0.7489 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6549, allocations: 2.125 kB / 0.749 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008176/0.6557, allocations: 312.5 kB / 0.7492 GB, free: 170.9 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.003112/0.6589, allocations: 2.031 MB / 0.7512 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.661, allocations: 0.9868 MB / 0.7522 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.661, allocations: 1.719 kB / 0.7522 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/0.6618, allocations: 0.5163 MB / 0.7527 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.663, allocations: 303.9 kB / 0.753 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008764/0.6718, allocations: 6.349 MB / 0.7592 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.6722, allocations: 1.02 MB / 0.7602 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008204/0.6731, allocations: 262.7 kB / 0.7604 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.6735, allocations: 375.3 kB / 0.7608 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.6735, allocations: 0 / 0.7608 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.713, allocations: 21.07 MB / 0.7814 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.02, allocations: 10.2 kB / 0.7814 GB, free: 153.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)