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.00151/0.00151, allocations: 88.22 kB / 20.42 MB, free: 4.137 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.001614/0.001614, allocations: 169 kB / 23.8 MB, free: 0.7656 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.075/1.075, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.7188/0.7188, allocations: 114.9 MB / 375.7 MB, free: 7.617 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.725e-06/2.725e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.316e-05/4.589e-05, allocations: 5.125 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002267/0.002313, allocations: 0.87 MB / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.006231, allocations: 2.49 MB / 484.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.006341, allocations: 0 / 484.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.73e-05/0.006398, allocations: 14.22 kB / 484.8 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.006718, allocations: 55.02 kB / 484.9 MB, free: 9.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.007986, allocations: 0.5078 MB / 485.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.008357, allocations: 320.6 kB / 485.7 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.008433, allocations: 11.38 kB / 485.7 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.008871, allocations: 200.8 kB / 485.9 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.009068, allocations: 128.1 kB / 486 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.009126, allocations: 26.34 kB / 486.1 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.009762, allocations: 376.5 kB / 486.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.009839, allocations: 68.16 kB / 486.5 MB, free: 9.043 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.00995, allocations: 92.75 kB / 486.6 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.01071, allocations: 0.5894 MB / 487.2 MB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01071, allocations: 0 / 487.2 MB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01071, allocations: 0 / 487.2 MB, free: 8.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.01072, allocations: 0 / 487.2 MB, free: 8.777 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.0009855/0.01171, allocations: 0.6974 MB / 487.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.01176, allocations: 9.406 kB / 487.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.01246, allocations: 122.2 kB / 488 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.0126, allocations: 143.9 kB / 488.2 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.01277, allocations: 230.3 kB / 488.4 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.01282, allocations: 21.53 kB / 488.4 MB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.01316, allocations: 245.3 kB / 488.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01317, allocations: 1.469 kB / 488.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.0132, allocations: 10.62 kB / 488.7 MB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01321, allocations: 4.25 kB / 488.7 MB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.01339, allocations: 87.92 kB / 488.7 MB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.01373, allocations: 323.9 kB / 489.1 MB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.01464, allocations: 0.5388 MB / 489.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.01481, allocations: 163.5 kB / 489.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.01485, allocations: 11.3 kB / 489.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.01522, allocations: 326.2 kB / 490.1 MB, free: 6.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.01522, allocations: 1.188 kB / 490.1 MB, free: 6.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006859/0.01591, allocations: 364.4 kB / 490.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.01602, allocations: 354.6 kB / 490.8 MB, free: 5.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.01635, allocations: 214 kB / 491 MB, free: 21.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.01639, allocations: 43.48 kB / 491 MB, free: 21.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.01646, allocations: 146.7 kB / 491.2 MB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.01654, allocations: 112.5 kB / 491.3 MB, free: 21.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.01665, allocations: 103.3 kB / 491.4 MB, free: 21.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.01682, allocations: 0.5004 MB / 491.9 MB, free: 20.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.017, allocations: 88.53 kB / 492 MB, free: 20.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.01717, allocations: 137.6 kB / 492.1 MB, free: 20.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.01746, allocations: 213.3 kB / 492.3 MB, free: 20.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01746, allocations: 0.8125 kB / 492.3 MB, free: 20.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004694/0.01793, allocations: 319.2 kB / 492.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.01796, allocations: 9.25 kB / 492.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01796, allocations: 1.156 kB / 492.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01798, allocations: 8.75 kB / 492.7 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.01823, allocations: 85.98 kB / 492.7 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.01824, allocations: 3.406 kB / 492.7 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.01837, allocations: 45.7 kB / 492.8 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.0184, allocations: 16.05 kB / 492.8 MB, free: 20.48 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.0001379/0.01854, allocations: 196.3 kB / 493 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.0186, allocations: 44.61 kB / 493 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.01908, allocations: 321.4 kB / 493.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.01909, allocations: 13.28 kB / 493.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.0191, allocations: 3.75 kB / 493.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.01911, allocations: 5.719 kB / 493.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.01935, allocations: 251.3 kB / 493.6 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.01935, allocations: 5.969 kB / 493.6 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01953, allocations: 76.64 kB / 493.7 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.01954, allocations: 5.156 kB / 493.7 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.01956, allocations: 23.41 kB / 493.7 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.01957, allocations: 10 kB / 493.7 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.01957, allocations: 10.44 kB / 493.7 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.02014, allocations: 496 kB / 494.2 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.02027, allocations: 69.47 kB / 494.3 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.02031, allocations: 21.64 kB / 494.3 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02042, allocations: 26.16 kB / 494.3 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.02053, allocations: 54.95 kB / 494.4 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.02056, allocations: 22.77 kB / 494.4 MB, free: 19.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.693e-05/0.02065, allocations: 165.2 kB / 494.6 MB, free: 19.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02065, allocations: 1.062 kB / 494.6 MB, free: 19.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005035/0.02116, allocations: 229.2 kB / 494.8 MB, free: 19.32 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.0004919/0.02165, allocations: 370.9 kB / 495.2 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.02207, allocations: 263.5 kB / 495.4 MB, free: 19.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02207, allocations: 0 / 495.4 MB, free: 19.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.02227, allocations: 165.1 kB / 495.6 MB, free: 19.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.0225, allocations: 47.61 kB / 495.6 MB, free: 19.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02358, allocations: 0.5639 MB / 496.2 MB, free: 18.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.485e-05/0.02365, allocations: 99.17 kB / 496.3 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.02379, allocations: 59.69 kB / 496.4 MB, free: 18.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.0239, allocations: 48.7 kB / 496.4 MB, free: 18.48 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0239, allocations: 1.25 kB / 496.4 MB, free: 18.48 MB / 426.7 MB Notification: Performance of Templates: time 0.01154/0.03544, allocations: 5.858 MB / 0.4905 GB, free: 17.82 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: 4.355387324932963]