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.0009361/0.0009361, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001195/0.001195, allocations: 165 kB / 23.8 MB, free: 0.7695 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 1.06/1.06, 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.6017/0.6017, allocations: 115 MB / 375.7 MB, free: 7.645 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.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 3.326e-06/3.326e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.639e-05, allocations: 2.312 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001946/0.001983, allocations: 0.8695 MB / 482.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.00497, allocations: 2.491 MB / 484.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.005078, allocations: 1.406 kB / 484.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.202e-05/0.00513, allocations: 12.5 kB / 484.9 MB, free: 9.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.00543, allocations: 55.95 kB / 484.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.007265, allocations: 0.5033 MB / 485.4 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.007785, allocations: 327.8 kB / 485.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.007868, allocations: 9.25 kB / 485.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.008513, allocations: 199.6 kB / 485.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.008687, allocations: 127.8 kB / 486.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.008731, allocations: 22.88 kB / 486.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007843/0.009515, allocations: 380.6 kB / 486.5 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.009571, allocations: 74.92 kB / 486.5 MB, free: 9.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.009662, allocations: 86.34 kB / 486.6 MB, free: 9.035 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.0103, allocations: 0.5875 MB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0103, allocations: 1.25 kB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01031, allocations: 1.188 kB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01031, allocations: 0 / 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.0009041/0.01122, allocations: 0.7015 MB / 487.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.01127, allocations: 8.594 kB / 487.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006309/0.0119, allocations: 121.8 kB / 488 MB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.01199, allocations: 136.5 kB / 488.2 MB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.0121, allocations: 230.8 kB / 488.4 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.01213, allocations: 25.22 kB / 488.4 MB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.01237, allocations: 239.4 kB / 488.6 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.01238, allocations: 4.125 kB / 488.7 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.0124, allocations: 14.69 kB / 488.7 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01241, allocations: 7.062 kB / 488.7 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.01255, allocations: 80.88 kB / 488.8 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.01282, allocations: 326.7 kB / 489.1 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.01363, allocations: 0.5456 MB / 489.6 MB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.01376, allocations: 160.1 kB / 489.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.01379, allocations: 8.594 kB / 489.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.01409, allocations: 324.2 kB / 490.1 MB, free: 6.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.0141, allocations: 0 / 490.1 MB, free: 6.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006/0.0147, allocations: 364.9 kB / 490.5 MB, free: 6.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.01478, allocations: 356.5 kB / 490.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.01489, allocations: 213.5 kB / 491 MB, free: 5.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.01492, allocations: 43.02 kB / 491.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.01497, allocations: 147.3 kB / 491.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.01505, allocations: 113.2 kB / 491.3 MB, free: 5.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.01515, allocations: 101.5 kB / 491.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.01537, allocations: 0.5019 MB / 491.9 MB, free: 20.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01553, allocations: 87.86 kB / 492 MB, free: 20.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.01568, allocations: 138.9 kB / 492.1 MB, free: 20.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.01596, allocations: 211.6 kB / 492.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01597, allocations: 1.469 kB / 492.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004193/0.01639, allocations: 319.4 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.01641, allocations: 8.125 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01641, allocations: 1.156 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.01643, allocations: 11.34 kB / 492.7 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.01666, allocations: 85.7 kB / 492.8 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.01667, allocations: 6.031 kB / 492.8 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01679, allocations: 43.47 kB / 492.8 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.01681, allocations: 16.59 kB / 492.8 MB, free: 20.51 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.0001156/0.01693, allocations: 199.6 kB / 493 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.01698, allocations: 45.59 kB / 493.1 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.01738, allocations: 318.5 kB / 493.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.01739, allocations: 13.78 kB / 493.4 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.0174, allocations: 4.719 kB / 493.4 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.0174, allocations: 5.156 kB / 493.4 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.01761, allocations: 248.8 kB / 493.6 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01761, allocations: 7.781 kB / 493.6 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.01776, allocations: 80.27 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.01777, allocations: 5.406 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.01779, allocations: 23.52 kB / 493.7 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.0178, allocations: 5.531 kB / 493.8 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.0178, allocations: 7.438 kB / 493.8 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.01826, allocations: 498.6 kB / 494.2 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.01837, allocations: 69.06 kB / 494.3 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.0184, allocations: 21.73 kB / 494.3 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01851, allocations: 22.59 kB / 494.4 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.01859, allocations: 59.78 kB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.01862, allocations: 24.16 kB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.01869, allocations: 164 kB / 494.6 MB, free: 19.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01869, allocations: 0.9062 kB / 494.6 MB, free: 19.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004312/0.01912, allocations: 232.8 kB / 494.8 MB, free: 19.35 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.0004329/0.01956, allocations: 365.1 kB / 495.2 MB, free: 19.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.01995, allocations: 267.5 kB / 495.4 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01995, allocations: 0 / 495.4 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.02013, allocations: 171.9 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.0002009/0.02033, allocations: 41.58 kB / 495.7 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.0212, allocations: 0.5663 MB / 496.2 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.288e-05/0.02126, allocations: 95.39 kB / 496.3 MB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.02139, allocations: 60.64 kB / 496.4 MB, free: 18.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.02149, allocations: 49.19 kB / 496.4 MB, free: 18.52 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02149, allocations: 0 / 496.4 MB, free: 18.52 MB / 426.7 MB Notification: Performance of Templates: time 0.01041/0.0319, allocations: 6.483 MB / 0.4911 GB, free: 17.62 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5428470079787076]