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.001009/0.001009, 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.001092/0.001092, 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.259/1.259, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7126/0.7126, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2889, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005422/0.2944, allocations: 4.768 MB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.434, allocations: 150.6 MB / 0.719 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009115/0.4349, allocations: 15.94 kB / 0.719 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.4356, allocations: 194.2 kB / 0.7192 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.4375, allocations: 0.5339 MB / 0.7197 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.4395, allocations: 0.8237 MB / 0.7205 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.4409, allocations: 1.362 MB / 0.7219 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007952/0.4417, allocations: 0.5675 MB / 0.7224 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.4423, allocations: 474.4 kB / 0.7229 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.4429, allocations: 0.4939 MB / 0.7234 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.4431, allocations: 116 kB / 0.7235 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008296/0.4439, allocations: 459.6 kB / 0.7239 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.4442, allocations: 291.1 kB / 0.7242 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.4447, allocations: 0.5519 MB / 0.7247 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.4463, allocations: 1.577 MB / 0.7263 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4463, allocations: 0 / 0.7263 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4463, allocations: 0 / 0.7263 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.4463, allocations: 0 / 0.7263 GB, free: 7.457 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.002379/0.4487, allocations: 1.414 MB / 0.7276 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4488, allocations: 12.62 kB / 0.7277 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.4489, allocations: 131.3 kB / 0.7278 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.4498, allocations: 183.4 kB / 0.728 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.4508, allocations: 0.7342 MB / 0.7287 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.4508, allocations: 62 kB / 0.7287 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.4509, allocations: 80 kB / 0.7288 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4523, allocations: 0.8989 MB / 0.7297 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4523, allocations: 3.938 kB / 0.7297 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.4524, allocations: 39.98 kB / 0.7297 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4524, allocations: 20 kB / 0.7297 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4541, allocations: 1.093 MB / 0.7308 GB, free: 2.652 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.003735/0.4578, allocations: 2.681 MB / 0.7334 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.4593, allocations: 0.8638 MB / 0.7343 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.4598, allocations: 294.7 kB / 0.7346 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-05/0.4598, allocations: 40.55 kB / 0.7346 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007808/0.4606, allocations: 499 kB / 0.7351 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.084e-06/0.4606, allocations: 0 / 0.7351 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002998/0.4636, allocations: 1.174 MB / 0.7362 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.4638, allocations: 192.5 kB / 0.7364 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.4645, allocations: 0.6176 MB / 0.737 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.4646, allocations: 45.7 kB / 0.737 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.4648, allocations: 388.4 kB / 0.7374 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.465, allocations: 256.3 kB / 0.7377 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.4653, allocations: 146.5 kB / 0.7378 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4654, allocations: 390.7 kB / 0.7382 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.4659, allocations: 237.9 kB / 0.7384 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.4665, allocations: 366.5 kB / 0.7387 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.4675, allocations: 0.5721 MB / 0.7393 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4675, allocations: 0 / 0.7393 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001736/0.4693, allocations: 0.794 MB / 0.7401 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4693, allocations: 8 kB / 0.7401 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4693, allocations: 0 / 0.7401 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.4699, allocations: 84.86 kB / 0.7402 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.4705, allocations: 143.8 kB / 0.7403 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.4725, allocations: 1.637 MB / 0.7419 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.4731, allocations: 91.44 kB / 0.742 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.4731, allocations: 23.98 kB / 0.742 GB, free: 6.699 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.0003165/0.4735, allocations: 273.4 kB / 0.7423 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4736, allocations: 82.97 kB / 0.7424 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.4758, allocations: 1.058 MB / 0.7434 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4759, allocations: 8 kB / 0.7434 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4759, allocations: 4 kB / 0.7434 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4759, allocations: 7.922 kB / 0.7434 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.4788, allocations: 1.903 MB / 0.7453 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4788, allocations: 4 kB / 0.7453 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.4793, allocations: 143.8 kB / 0.7454 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.4797, allocations: 72.78 kB / 0.7455 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.4798, allocations: 23.98 kB / 0.7455 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.4815, allocations: 1.654 MB / 0.7471 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4816, allocations: 144 / 0.7471 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4834, allocations: 0.9882 MB / 0.7481 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1994/0.6828, allocations: 270.3 kB / 0.7483 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.6831, allocations: 18.23 kB / 0.7484 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.6838, allocations: 60.73 kB / 0.7484 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.684, allocations: 70.14 kB / 0.7485 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.6841, allocations: 40.12 kB / 0.7485 GB, free: 171 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000623/0.6848, allocations: 452.6 kB / 0.7489 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6848, allocations: 0 / 0.7489 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008939/0.6857, allocations: 315.2 kB / 0.7493 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.003312/0.689, allocations: 2.03 MB / 0.7512 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002249/0.6912, allocations: 0.9903 MB / 0.7522 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6913, allocations: 0.7812 kB / 0.7522 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.6922, allocations: 0.5098 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.001368/0.6936, allocations: 312.2 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.01004/0.7036, 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.0005008/0.7042, allocations: 1.019 MB / 0.7602 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009093/0.7051, allocations: 262.2 kB / 0.7604 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.7056, allocations: 379.4 kB / 0.7608 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.7056, allocations: 4.719 kB / 0.7608 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.7463, allocations: 21.07 MB / 0.7814 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.49, allocations: 11.95 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)