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.0009956/0.0009956, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.0009646/0.0009646, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.928/0.928, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.7151/0.7151, allocations: 115 MB / 375.7 MB, free: 7.641 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.554e-06/2.554e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.989e-05, allocations: 2.859 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.008258/0.008288, allocations: 0.8603 MB / 482.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009037/0.01733, allocations: 2.5 MB / 484.8 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.01744, allocations: 1.156 kB / 484.8 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.01748, allocations: 11.81 kB / 484.9 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.01772, allocations: 49.31 kB / 484.9 MB, free: 9.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.01905, allocations: 0.5066 MB / 485.4 MB, free: 9.379 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006435/0.02548, allocations: 324.4 kB / 485.7 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.02554, allocations: 13.36 kB / 485.7 MB, free: 9.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.02592, allocations: 200.6 kB / 485.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.02612, allocations: 125.6 kB / 486.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.02617, allocations: 27.97 kB / 486.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.02698, allocations: 378.3 kB / 486.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.02704, allocations: 72.25 kB / 486.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.02715, allocations: 85.89 kB / 486.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008936/0.02804, allocations: 0.5884 MB / 487.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.02804, allocations: 0 / 487.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02804, allocations: 0 / 487.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.02806, allocations: 0 / 487.2 MB, free: 8.734 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.001338/0.0294, allocations: 0.6984 MB / 487.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.02945, allocations: 9.406 kB / 487.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.03053, allocations: 120.6 kB / 488 MB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.03065, allocations: 147.5 kB / 488.2 MB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.03078, allocations: 227.1 kB / 488.4 MB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.03083, allocations: 22.19 kB / 488.4 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006406/0.03724, allocations: 247.3 kB / 488.7 MB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.03725, allocations: 1.438 kB / 488.7 MB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.03728, allocations: 14.14 kB / 488.7 MB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.03729, allocations: 7.031 kB / 488.7 MB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.0375, allocations: 85.16 kB / 488.8 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.03794, allocations: 321.6 kB / 489.1 MB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.03918, allocations: 0.5469 MB / 489.6 MB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.03936, allocations: 154.9 kB / 489.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.0394, allocations: 12.25 kB / 489.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.03984, allocations: 320.2 kB / 490.1 MB, free: 6.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.577e-06/0.03985, allocations: 0 / 490.1 MB, free: 6.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.000965/0.04081, allocations: 360.2 kB / 490.4 MB, free: 6.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.04093, allocations: 355.2 kB / 490.8 MB, free: 5.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.04127, allocations: 222.7 kB / 491 MB, free: 21.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.04133, allocations: 39.2 kB / 491 MB, free: 21.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.04141, allocations: 144.7 kB / 491.2 MB, free: 21.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.04152, allocations: 118.9 kB / 491.3 MB, free: 21.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.04167, allocations: 101.9 kB / 491.4 MB, free: 21.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.04185, allocations: 0.5038 MB / 491.9 MB, free: 20.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.04213, allocations: 89.48 kB / 492 MB, free: 20.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.04238, allocations: 134.1 kB / 492.1 MB, free: 20.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.04281, allocations: 217.3 kB / 492.3 MB, free: 20.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.04282, allocations: 1.688 kB / 492.3 MB, free: 20.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000719/0.04354, allocations: 315.2 kB / 492.6 MB, free: 20.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.04357, allocations: 4.344 kB / 492.7 MB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.04358, allocations: 10.2 kB / 492.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.0436, allocations: 7.875 kB / 492.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.04401, allocations: 89.84 kB / 492.8 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.04402, allocations: 2.875 kB / 492.8 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.04426, allocations: 47.8 kB / 492.8 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.0443, allocations: 19.28 kB / 492.8 MB, free: 20.42 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.0001837/0.04449, allocations: 186.6 kB / 493 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.04459, allocations: 46.42 kB / 493.1 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/0.04528, allocations: 321.1 kB / 493.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.0453, allocations: 14.12 kB / 493.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.04532, allocations: 6.672 kB / 493.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.04533, allocations: 6.328 kB / 493.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.04571, allocations: 246.8 kB / 493.6 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.04572, allocations: 2.719 kB / 493.6 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.04601, allocations: 72.34 kB / 493.7 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.04602, allocations: 5.469 kB / 493.7 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.04606, allocations: 22.88 kB / 493.7 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.04607, allocations: 5.219 kB / 493.7 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.04607, allocations: 13.28 kB / 493.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.04687, allocations: 0.4903 MB / 494.2 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.04706, allocations: 68.5 kB / 494.3 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.04712, allocations: 20.31 kB / 494.3 MB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.04733, allocations: 24.41 kB / 494.4 MB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.04747, allocations: 59.92 kB / 494.4 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.04751, allocations: 23.38 kB / 494.4 MB, free: 19.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.04764, allocations: 164.4 kB / 494.6 MB, free: 19.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04764, allocations: 0.9688 kB / 494.6 MB, free: 19.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009708/0.04861, allocations: 231.8 kB / 494.8 MB, free: 19.27 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.0007184/0.04933, allocations: 362.3 kB / 495.2 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.04995, allocations: 269.1 kB / 495.4 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.04995, allocations: 1.438 kB / 495.4 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.05025, allocations: 164 kB / 495.6 MB, free: 18.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.05061, allocations: 43.66 kB / 495.6 MB, free: 18.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.05197, allocations: 0.5617 MB / 496.2 MB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.9e-05/0.05206, allocations: 98.12 kB / 496.3 MB, free: 18.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.05227, allocations: 59.44 kB / 496.4 MB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.05243, allocations: 53.16 kB / 496.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.05243, allocations: 0 / 496.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of Templates: time 0.0122/0.06463, allocations: 6.465 MB / 0.4911 GB, free: 17.59 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.793462877161801]