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.001386/0.001386, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001161/0.001161, allocations: 170.3 kB / 24.84 MB, free: 8.918 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.9567/0.9567, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.6918/0.6918, allocations: 115 MB / 376.8 MB, free: 7.473 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: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.965e-05, allocations: 3.516 kB / 482.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001549/0.001578, allocations: 0.8444 MB / 483.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.003964, allocations: 2.458 MB / 486 MB, free: 9.551 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.00406, allocations: 7.375 kB / 486 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.004098, allocations: 11.81 kB / 486 MB, free: 9.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.004285, allocations: 47.53 kB / 486.1 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.005258, allocations: 0.5048 MB / 486.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.005546, allocations: 322.8 kB / 486.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.005595, allocations: 11.97 kB / 486.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.005895, allocations: 203.5 kB / 487.1 MB, free: 9.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.006036, allocations: 122.5 kB / 487.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.006074, allocations: 26.88 kB / 487.3 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.006613, allocations: 375.3 kB / 487.6 MB, free: 8.922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.006671, allocations: 74.33 kB / 487.7 MB, free: 8.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.006767, allocations: 94.02 kB / 487.8 MB, free: 8.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.007511, allocations: 0.5867 MB / 488.4 MB, free: 8.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.007516, allocations: 0 / 488.4 MB, free: 8.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.007518, allocations: 1.531 kB / 488.4 MB, free: 8.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.007525, allocations: 0 / 488.4 MB, free: 8.613 MB / 410.7 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.0009348/0.008459, allocations: 0.6982 MB / 489.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.008497, allocations: 9.844 kB / 489.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006384/0.009135, allocations: 127.9 kB / 489.2 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.009236, allocations: 141.2 kB / 489.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.00934, allocations: 227.2 kB / 489.6 MB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.009373, allocations: 22.81 kB / 489.6 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.009575, allocations: 232.2 kB / 489.8 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.009586, allocations: 1.188 kB / 489.8 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.009603, allocations: 14.23 kB / 489.8 MB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.009611, allocations: 3.656 kB / 489.8 MB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.009717, allocations: 78.19 kB / 489.9 MB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.009969, allocations: 302.4 kB / 490.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007685/0.01074, allocations: 0.5289 MB / 490.7 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01084, allocations: 150.2 kB / 490.9 MB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.01086, allocations: 9.281 kB / 490.9 MB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.01111, allocations: 320.8 kB / 491.2 MB, free: 6.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.01111, allocations: 4.625 kB / 491.2 MB, free: 6.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005707/0.01168, allocations: 321.9 kB / 491.5 MB, free: 6.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.01177, allocations: 360.5 kB / 491.9 MB, free: 5.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.01186, allocations: 214.5 kB / 492.1 MB, free: 5.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.01189, allocations: 46.5 kB / 492.1 MB, free: 5.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.01192, allocations: 142.6 kB / 492.3 MB, free: 5.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.01198, allocations: 120.7 kB / 492.4 MB, free: 5.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.01208, allocations: 99.39 kB / 492.5 MB, free: 5.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.01229, allocations: 0.5044 MB / 493 MB, free: 20.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.01242, allocations: 78.92 kB / 493.1 MB, free: 20.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.01253, allocations: 124 kB / 493.2 MB, free: 20.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.01275, allocations: 178.6 kB / 493.4 MB, free: 20.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01276, allocations: 0 / 493.4 MB, free: 20.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00035/0.01311, allocations: 285.2 kB / 493.7 MB, free: 20.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01312, allocations: 5.5 kB / 493.7 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01313, allocations: 5.219 kB / 493.7 MB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01314, allocations: 11.5 kB / 493.7 MB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.01337, allocations: 91.27 kB / 493.8 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01337, allocations: 8.531 kB / 493.8 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.0135, allocations: 44.14 kB / 493.8 MB, free: 20.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.01353, allocations: 19.86 kB / 493.8 MB, free: 20.39 MB / 426.7 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.0001269/0.01365, allocations: 190.8 kB / 494 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.01371, allocations: 45.59 kB / 494.1 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.0141, allocations: 302.5 kB / 494.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.0141, allocations: 9.906 kB / 494.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01411, allocations: 7.5 kB / 494.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.01412, allocations: 8.328 kB / 494.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01432, allocations: 219.5 kB / 494.6 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01433, allocations: 2.625 kB / 494.6 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.01448, allocations: 72.27 kB / 494.7 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.01449, allocations: 5.344 kB / 494.7 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.01451, allocations: 19.42 kB / 494.7 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.01452, allocations: 10.06 kB / 494.7 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01452, allocations: 7.109 kB / 494.7 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.01492, allocations: 478.8 kB / 495.2 MB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.01502, allocations: 72.56 kB / 495.3 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.01506, allocations: 19.5 kB / 495.3 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01517, allocations: 30.03 kB / 495.3 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.01524, allocations: 56.28 kB / 495.4 MB, free: 19.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.01526, allocations: 20.7 kB / 495.4 MB, free: 19.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.01532, allocations: 161.7 kB / 495.5 MB, free: 19.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01532, allocations: 0 / 495.5 MB, free: 19.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.01585, allocations: 229.3 kB / 495.8 MB, free: 19.29 MB / 426.7 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.000464/0.01631, allocations: 360.6 kB / 496.1 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.01667, allocations: 239.4 kB / 496.3 MB, free: 19.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01667, allocations: 5.312 kB / 496.3 MB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.01683, allocations: 149.6 kB / 496.5 MB, free: 19.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01703, allocations: 41.97 kB / 496.5 MB, free: 19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.01794, allocations: 0.5489 MB / 497.1 MB, free: 18.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.018, allocations: 100.5 kB / 497.2 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.01814, allocations: 57.39 kB / 497.2 MB, free: 18.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.0183, allocations: 130.7 kB / 497.4 MB, free: 18.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.0183, allocations: 1.969 kB / 497.4 MB, free: 18.43 MB / 426.7 MB Notification: Performance of Templates: time 0.01077/0.02907, allocations: 6.675 MB / 0.4922 GB, free: 17.55 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8239566031843424]