Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.001327/0.001327, allocations: 83.03 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001498/0.001498, allocations: 163.7 kB / 23.22 MB, free: 4.902 MB / 14.72 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 1.396/1.396, allocations: 177.1 MB / 203.5 MB, free: 9.152 MB / 190.1 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.8927/0.8927, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5546 GB, free: 2.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.173e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001757/0.001778, allocations: 0.8381 MB / 0.5555 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.005004, allocations: 2.412 MB / 0.5578 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.005076, allocations: 3.938 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.005122, allocations: 11.81 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.005313, allocations: 47.55 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.006341, allocations: 0.5058 MB / 0.5584 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.006699, allocations: 319 kB / 0.5587 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.006757, allocations: 9.812 kB / 0.5587 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.007097, allocations: 203.6 kB / 0.5589 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.0073, allocations: 131.7 kB / 0.559 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.007354, allocations: 24 kB / 0.559 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006479/0.008002, allocations: 383.5 kB / 0.5594 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.00808, allocations: 63.84 kB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.008196, allocations: 95.77 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.009081, allocations: 0.6659 MB / 0.5602 GB, free: 12.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.009085, allocations: 0 / 0.5602 GB, free: 12.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.009086, allocations: 0 / 0.5602 GB, free: 12.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.009092, allocations: 0 / 0.5602 GB, free: 12.95 MB / 478.1 MB 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.001393/0.01048, allocations: 0.6 MB / 0.5608 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.01053, allocations: 8.625 kB / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.01161, allocations: 96.72 kB / 0.5609 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.01175, allocations: 134.2 kB / 0.561 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.01201, allocations: 238.1 kB / 0.5612 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.01205, allocations: 16.38 kB / 0.5613 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.01244, allocations: 244.3 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.01246, allocations: 4.172 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.01248, allocations: 8.125 kB / 0.5615 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01249, allocations: 4 kB / 0.5615 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.01272, allocations: 115.7 kB / 0.5616 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.01316, allocations: 291 kB / 0.5619 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.01469, allocations: 487.2 kB / 0.5624 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.01493, allocations: 146.3 kB / 0.5625 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.01496, allocations: 11.98 kB / 0.5625 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005617/0.01553, allocations: 327.3 kB / 0.5628 GB, free: 9.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.01553, allocations: 0 / 0.5628 GB, free: 9.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009/0.01643, allocations: 422.6 kB / 0.5632 GB, free: 9.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002242/0.01665, allocations: 354.1 kB / 0.5636 GB, free: 9.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.01682, allocations: 164.9 kB / 0.5637 GB, free: 8.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.01687, allocations: 41.7 kB / 0.5638 GB, free: 8.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.01695, allocations: 97.12 kB / 0.5638 GB, free: 8.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.01706, allocations: 119.5 kB / 0.564 GB, free: 8.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.01722, allocations: 106.1 kB / 0.5641 GB, free: 8.469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01737, allocations: 326.8 kB / 0.5644 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.01766, allocations: 116.9 kB / 0.5645 GB, free: 8.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.018, allocations: 168.3 kB / 0.5646 GB, free: 7.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.0186, allocations: 262 kB / 0.5649 GB, free: 7.586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.0186, allocations: 0 / 0.5649 GB, free: 7.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008167/0.01942, allocations: 377.1 kB / 0.5653 GB, free: 7.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01944, allocations: 12 kB / 0.5653 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01944, allocations: 64 / 0.5653 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.01947, allocations: 11.94 kB / 0.5653 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.01987, allocations: 79.81 kB / 0.5654 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.01988, allocations: 4 kB / 0.5654 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.02017, allocations: 51.75 kB / 0.5654 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.02021, allocations: 19.98 kB / 0.5654 GB, free: 7.039 MB / 478.1 MB 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.0001796/0.02039, allocations: 146.8 kB / 0.5656 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.02046, allocations: 39.84 kB / 0.5656 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.02117, allocations: 354.3 kB / 0.5659 GB, free: 6.496 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.02118, allocations: 15.94 kB / 0.566 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.02119, allocations: 4 kB / 0.566 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.0212, allocations: 4 kB / 0.566 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.02155, allocations: 245 kB / 0.5662 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02155, allocations: 0 / 0.5662 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.02186, allocations: 71.91 kB / 0.5663 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.02187, allocations: 4 kB / 0.5663 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.0219, allocations: 19.98 kB / 0.5663 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.02191, allocations: 11.94 kB / 0.5663 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.02192, allocations: 7.938 kB / 0.5663 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.02269, allocations: 492.7 kB / 0.5668 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.02287, allocations: 79.61 kB / 0.5669 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.02293, allocations: 16 kB / 0.5669 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.02317, allocations: 31.97 kB / 0.5669 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.0233, allocations: 55.8 kB / 0.567 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.02334, allocations: 23.98 kB / 0.567 GB, free: 5.352 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.02345, allocations: 119.2 kB / 0.5671 GB, free: 5.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02345, allocations: 3.938 kB / 0.5671 GB, free: 5.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006667/0.02411, allocations: 231.1 kB / 0.5673 GB, free: 5.004 MB / 478.1 MB 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.0006494/0.02476, allocations: 364.8 kB / 0.5677 GB, free: 4.641 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006578/0.02542, allocations: 313.8 kB / 0.568 GB, free: 4.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02542, allocations: 0 / 0.568 GB, free: 4.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.02573, allocations: 176.1 kB / 0.5681 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.02601, allocations: 31.94 kB / 0.5682 GB, free: 4.137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.02698, allocations: 0.5452 MB / 0.5687 GB, free: 3.531 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.02713, allocations: 151.7 kB / 0.5688 GB, free: 3.363 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.02731, allocations: 53.95 kB / 0.5689 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.02745, allocations: 52.47 kB / 0.5689 GB, free: 3.266 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02745, allocations: 0 / 0.5689 GB, free: 3.266 MB / 478.1 MB Notification: Performance of Templates: time 0.01101/0.03845, allocations: 5.794 MB / 0.5746 GB, free: 13.55 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.275724750012159] Failed to read output from testmodel.py, exit status != 0: 0.046473875641822815 0.06056240400000001 0.048490742 Calling exit ...