Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009054/0.0009054, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9243/0.9243, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5669/0.5669, allocations: 114 MB / 373.9 MB, free: 8.672 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.618e-05, allocations: 5.125 kB / 0.5542 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001931/0.001958, allocations: 0.8378 MB / 0.555 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.005056, allocations: 2.412 MB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.005168, allocations: 0 / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.933e-05/0.005217, allocations: 19.8 kB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.005457, allocations: 43.62 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.006673, allocations: 0.5019 MB / 0.5579 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.006947, allocations: 323 kB / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.007002, allocations: 9.797 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.007288, allocations: 207.6 kB / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.00742, allocations: 127.7 kB / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.007451, allocations: 24 kB / 0.5585 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.007903, allocations: 387.5 kB / 0.5589 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.007954, allocations: 71.77 kB / 0.559 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.008022, allocations: 87.84 kB / 0.5591 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.008586, allocations: 0.6505 MB / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.008589, allocations: 0 / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.284e-06/0.008596, allocations: 3.984 kB / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.008602, allocations: 4 kB / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001101/0.009703, allocations: 0.606 MB / 0.5603 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.009745, allocations: 8.625 kB / 0.5603 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.009789, allocations: 46.73 kB / 0.5604 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.01032, allocations: 84.78 kB / 0.5604 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.01043, allocations: 142.2 kB / 0.5606 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.01059, allocations: 234.1 kB / 0.5608 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.01062, allocations: 20.38 kB / 0.5608 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.01088, allocations: 248.2 kB / 0.561 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.01089, allocations: 192 / 0.561 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.0109, allocations: 11.94 kB / 0.5611 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.01091, allocations: 8 kB / 0.5611 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.01106, allocations: 119.7 kB / 0.5612 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.01134, allocations: 322.4 kB / 0.5615 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.01212, allocations: 475.3 kB / 0.5619 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.01226, allocations: 150.3 kB / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.0123, allocations: 11.94 kB / 0.5621 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.01265, allocations: 307.6 kB / 0.5624 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.01266, allocations: 0 / 0.5624 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.0005834/0.01324, allocations: 417.9 kB / 0.5628 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.01337, allocations: 362 kB / 0.5631 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.01349, allocations: 161.6 kB / 0.5633 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.01353, allocations: 45.7 kB / 0.5633 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.01359, allocations: 101.1 kB / 0.5634 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-05/0.01367, allocations: 111.1 kB / 0.5635 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.01376, allocations: 98.11 kB / 0.5636 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.01384, allocations: 334.8 kB / 0.5639 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.01402, allocations: 112.9 kB / 0.5641 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.01421, allocations: 169 kB / 0.5642 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.01455, allocations: 272.9 kB / 0.5645 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01455, allocations: 4 kB / 0.5645 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004557/0.01501, allocations: 376.7 kB / 0.5648 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01502, allocations: 9.812 kB / 0.5648 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01503, allocations: 0 / 0.5648 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01504, allocations: 4.062 kB / 0.5649 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.01522, allocations: 79.88 kB / 0.5649 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01523, allocations: 7.938 kB / 0.5649 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.01535, allocations: 51.75 kB / 0.565 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.01538, allocations: 23.98 kB / 0.565 GB, free: 7.105 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.01549, allocations: 145.8 kB / 0.5651 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.01552, allocations: 31.84 kB / 0.5652 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.01595, allocations: 358.4 kB / 0.5655 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01595, allocations: 8.047 kB / 0.5655 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.01596, allocations: 7.984 kB / 0.5655 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.01597, allocations: 7.984 kB / 0.5655 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.01621, allocations: 284.4 kB / 0.5658 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01621, allocations: 4 kB / 0.5658 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01636, allocations: 79.83 kB / 0.5659 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.01636, allocations: 4 kB / 0.5659 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.01638, allocations: 19.94 kB / 0.5659 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.01639, allocations: 11.92 kB / 0.5659 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.01639, allocations: 4 kB / 0.5659 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.01719, allocations: 0.4889 MB / 0.5664 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.01731, allocations: 71.62 kB / 0.5665 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01735, allocations: 23.86 kB / 0.5665 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.01747, allocations: 23.98 kB / 0.5665 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.01755, allocations: 55.91 kB / 0.5666 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.01758, allocations: 20 kB / 0.5666 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.01764, allocations: 123.2 kB / 0.5667 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01764, allocations: 7.938 kB / 0.5667 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000429/0.01807, allocations: 235.1 kB / 0.5669 GB, free: 5.008 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009973/0.01907, allocations: 1.274 MB / 0.5682 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.01952, allocations: 315.2 kB / 0.5685 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01953, allocations: 4 kB / 0.5685 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.01972, allocations: 168.4 kB / 0.5687 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01993, allocations: 28 kB / 0.5687 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.02253, allocations: 2.797 MB / 0.5714 GB, free: 212 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.285e-05/0.02262, allocations: 147.7 kB / 0.5716 GB, free: 52 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.02276, allocations: 62.59 kB / 0.5716 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.02289, allocations: 96.39 kB / 0.5717 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/0.02289, allocations: 0 / 0.5717 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.04652, allocations: 8.92 MB / 0.5804 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.093, allocations: 10.03 kB / 0.5804 GB, free: 7.141 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.897700699046254] Failed to read output from testmodel.py, exit status != 0: 7.177644854411483 7.185107659 7.174823125 Calling exit ...