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.0009499/0.0009499, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.0009236/0.0009236, allocations: 169.3 kB / 24.25 MB, free: 308 kB / 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 1.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.6165/0.6165, allocations: 115 MB / 376 MB, free: 7.688 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 1.412e-06/1.412e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.884e-05, allocations: 4.984 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00138/0.001399, allocations: 0.8548 MB / 482.3 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.003541, allocations: 2.497 MB / 484.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.003621, allocations: 1.219 kB / 484.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.003657, allocations: 12.31 kB / 484.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.003861, allocations: 53.62 kB / 484.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.004756, allocations: 0.5023 MB / 485.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.005037, allocations: 326.8 kB / 485.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.005085, allocations: 7.219 kB / 485.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.005378, allocations: 200.6 kB / 485.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.005529, allocations: 126.4 kB / 486.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.005576, allocations: 23.31 kB / 486.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.00622, allocations: 384.4 kB / 486.5 MB, free: 9.109 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.006281, allocations: 68.56 kB / 486.5 MB, free: 9.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.006387, allocations: 90.56 kB / 486.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.007118, allocations: 0.5849 MB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00712, allocations: 1.094 kB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007121, allocations: 0 / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.007128, allocations: 1.969 kB / 487.2 MB, free: 8.809 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.001033/0.008162, allocations: 0.7037 MB / 487.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.008216, allocations: 9.406 kB / 487.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.008925, allocations: 122.3 kB / 488 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.009055, allocations: 134 kB / 488.2 MB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.009177, allocations: 235.7 kB / 488.4 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.009213, allocations: 17.66 kB / 488.4 MB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.009487, allocations: 248.5 kB / 488.6 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.009497, allocations: 4.281 kB / 488.7 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.009521, allocations: 10.53 kB / 488.7 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.009536, allocations: 4 kB / 488.7 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.009683, allocations: 87.53 kB / 488.8 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.009959, allocations: 321.2 kB / 489.1 MB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.01079, allocations: 0.5432 MB / 489.6 MB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.01093, allocations: 161.9 kB / 489.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.01096, allocations: 11.53 kB / 489.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.01127, allocations: 319.4 kB / 490.1 MB, free: 6.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.314e-06/0.01127, allocations: 0.8438 kB / 490.1 MB, free: 6.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006654/0.01194, allocations: 359.3 kB / 490.4 MB, free: 6.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.01203, allocations: 356.1 kB / 490.8 MB, free: 5.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.01216, allocations: 214.3 kB / 491 MB, free: 5.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.01219, allocations: 39.89 kB / 491 MB, free: 5.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.01224, allocations: 151 kB / 491.2 MB, free: 5.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.01232, allocations: 119.8 kB / 491.3 MB, free: 5.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.01243, allocations: 98.83 kB / 491.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.01269, allocations: 0.5071 MB / 491.9 MB, free: 20.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01286, allocations: 86.92 kB / 492 MB, free: 20.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.01302, allocations: 137.4 kB / 492.1 MB, free: 20.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.01331, allocations: 212 kB / 492.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01332, allocations: 0 / 492.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004388/0.01376, allocations: 322.3 kB / 492.6 MB, free: 20.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01377, allocations: 6 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01378, allocations: 2.812 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.0138, allocations: 7.531 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.01402, allocations: 83.98 kB / 492.7 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.01403, allocations: 4.125 kB / 492.7 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01416, allocations: 46.19 kB / 492.8 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.01419, allocations: 21.14 kB / 492.8 MB, free: 20.5 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.000123/0.01431, allocations: 195.5 kB / 493 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.01437, allocations: 37.77 kB / 493 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.0148, allocations: 329.1 kB / 493.4 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.01481, allocations: 17.19 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.01482, allocations: 3.469 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.01483, allocations: 6.578 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.01504, allocations: 248.3 kB / 493.6 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01504, allocations: 4.469 kB / 493.6 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.0152, allocations: 76.69 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.01521, allocations: 5.656 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.01523, allocations: 14.25 kB / 493.7 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.01524, allocations: 8.234 kB / 493.7 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.01524, allocations: 14.5 kB / 493.8 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.01574, allocations: 497.4 kB / 494.2 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.01585, allocations: 69.61 kB / 494.3 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.01589, allocations: 26.25 kB / 494.3 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.016, allocations: 27.09 kB / 494.4 MB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.01609, allocations: 52.95 kB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.01611, allocations: 22.16 kB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.01619, allocations: 167.1 kB / 494.6 MB, free: 19.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01619, allocations: 0.5312 kB / 494.6 MB, free: 19.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004769/0.01667, allocations: 233.6 kB / 494.8 MB, free: 19.34 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.0004327/0.0171, allocations: 358.8 kB / 495.2 MB, free: 19.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.01757, allocations: 270.2 kB / 495.4 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01758, allocations: 2.062 kB / 495.4 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.01777, allocations: 163.7 kB / 495.6 MB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.01796, allocations: 42.69 kB / 495.6 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.01885, allocations: 0.568 MB / 496.2 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/0.01891, allocations: 94.78 kB / 496.3 MB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.01904, allocations: 56.98 kB / 496.4 MB, free: 18.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.01913, allocations: 49.23 kB / 496.4 MB, free: 18.52 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01913, allocations: 2.75 kB / 496.4 MB, free: 18.52 MB / 426.7 MB Notification: Performance of Templates: time 0.008656/0.02779, allocations: 5.858 MB / 0.4905 GB, free: 17.86 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.7031203031074256]