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.001379/0.001379, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001121/0.001121, allocations: 169 kB / 24.14 MB, free: 360 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.019/1.019, allocations: 177.2 MB / 204.6 MB, free: 5.504 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.6782/0.6782, allocations: 115 MB / 376 MB, free: 7.504 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.675e-06/2.675e-06, allocations: 0 / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.563e-05, allocations: 2.312 kB / 428.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002796/0.002821, allocations: 0.8944 MB / 429.6 MB, free: 1.898 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.006525, allocations: 2.494 MB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.006624, allocations: 0 / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.006669, allocations: 11.81 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.006933, allocations: 47.56 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.008387, allocations: 482 kB / 432.7 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.008832, allocations: 330.9 kB / 433 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.748e-05/0.0089, allocations: 6.469 kB / 433 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.009333, allocations: 203.7 kB / 433.2 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.009569, allocations: 123.7 kB / 433.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.009625, allocations: 24 kB / 433.3 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.01057, allocations: 427.5 kB / 433.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.01064, allocations: 67.78 kB / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.01075, allocations: 87.84 kB / 433.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.01165, allocations: 0.5841 MB / 434.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01165, allocations: 0 / 434.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01165, allocations: 0 / 434.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.01166, allocations: 0 / 434.5 MB, free: 13.02 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.001113/0.01277, allocations: 0.5635 MB / 435 MB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.01281, allocations: 15.97 kB / 435.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.01345, allocations: 136.5 kB / 435.2 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.01356, allocations: 142.2 kB / 435.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.01369, allocations: 230.2 kB / 435.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.01372, allocations: 20.38 kB / 435.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.01391, allocations: 212.3 kB / 435.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01392, allocations: 8.125 kB / 435.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.01394, allocations: 8.125 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01394, allocations: 4 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.01403, allocations: 63.8 kB / 435.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.01425, allocations: 203.1 kB / 436.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.01489, allocations: 419.2 kB / 436.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.01499, allocations: 114.3 kB / 436.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.01501, allocations: 11.98 kB / 436.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.01524, allocations: 279.5 kB / 436.9 MB, free: 10.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.01524, allocations: 4 kB / 436.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003225/0.01557, allocations: 234.8 kB / 437.1 MB, free: 10 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.01568, allocations: 358.1 kB / 437.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.01577, allocations: 159.2 kB / 437.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.0158, allocations: 45.7 kB / 437.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.01583, allocations: 97.06 kB / 437.7 MB, free: 9.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.0159, allocations: 115.1 kB / 437.9 MB, free: 9.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.01599, allocations: 102 kB / 438 MB, free: 9.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.01606, allocations: 335.3 kB / 438.3 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.01615, allocations: 65.67 kB / 438.3 MB, free: 8.629 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.01625, allocations: 96.34 kB / 438.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01642, allocations: 175.1 kB / 438.6 MB, free: 8.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01642, allocations: 4 kB / 438.6 MB, free: 8.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002271/0.01665, allocations: 209.5 kB / 438.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.01666, allocations: 8 kB / 438.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01666, allocations: 64 / 438.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01668, allocations: 8 kB / 438.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.0169, allocations: 99.8 kB / 438.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.0169, allocations: 7.938 kB / 438.9 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01701, allocations: 43.77 kB / 439 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.01703, allocations: 11.98 kB / 439 MB, free: 7.945 MB / 410.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.0001004/0.01713, allocations: 145.7 kB / 439.1 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.01717, allocations: 31.92 kB / 439.2 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.01747, allocations: 266.3 kB / 439.4 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.01748, allocations: 8 kB / 439.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01749, allocations: 4 kB / 439.4 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.0175, allocations: 7.938 kB / 439.4 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.01768, allocations: 186.1 kB / 439.6 MB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01769, allocations: 4 kB / 439.6 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.01783, allocations: 83.83 kB / 439.7 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01784, allocations: 4 kB / 439.7 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.01786, allocations: 19.98 kB / 439.7 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.01786, allocations: 7.938 kB / 439.7 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.01787, allocations: 4 kB / 439.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.01812, allocations: 333.7 kB / 440.1 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.01821, allocations: 55.66 kB / 440.1 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.01824, allocations: 16 kB / 440.1 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.01834, allocations: 31.97 kB / 440.2 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.01841, allocations: 55.8 kB / 440.2 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.01843, allocations: 19.98 kB / 440.3 MB, free: 6.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.01847, allocations: 44.8 kB / 440.3 MB, free: 6.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01847, allocations: 0 / 440.3 MB, free: 6.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.01895, allocations: 231.2 kB / 440.5 MB, free: 6.332 MB / 410.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.0004155/0.01937, allocations: 349.2 kB / 440.9 MB, free: 5.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.01962, allocations: 213 kB / 441.1 MB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01962, allocations: 0 / 441.1 MB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.01975, allocations: 145.9 kB / 441.2 MB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.01989, allocations: 39.88 kB / 441.3 MB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.0206, allocations: 0.5138 MB / 441.8 MB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.383e-05/0.02065, allocations: 97.73 kB / 441.9 MB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.02077, allocations: 62.81 kB / 441.9 MB, free: 4.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.0209, allocations: 103.3 kB / 442 MB, free: 4.73 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0209, allocations: 4 kB / 442 MB, free: 4.727 MB / 410.7 MB Notification: Performance of Templates: time 0.1906/0.2115, allocations: 6.406 MB / 448.4 MB, free: 29.9 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7342222090810537]