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.0009655/0.0009655, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009615/0.0009615, allocations: 169 kB / 24.25 MB, free: 304 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.101/1.101, allocations: 177.2 MB / 204.6 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.6433/0.6433, allocations: 115 MB / 376 MB, free: 7.652 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 2.965e-06/2.965e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.41e-05, allocations: 5.547 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001891/0.001925, allocations: 0.8531 MB / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.00767, allocations: 2.488 MB / 484.8 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.007759, allocations: 5.031 kB / 484.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.007789, allocations: 15.09 kB / 484.9 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.007932, allocations: 45.92 kB / 484.9 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.008838, allocations: 0.5027 MB / 485.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.009151, allocations: 323.5 kB / 485.7 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.00919, allocations: 12.3 kB / 485.7 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.009446, allocations: 203.6 kB / 485.9 MB, free: 9.207 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.009586, allocations: 124.1 kB / 486 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.009632, allocations: 23.72 kB / 486.1 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.01024, allocations: 384.7 kB / 486.4 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.0103, allocations: 68.5 kB / 486.5 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.0104, allocations: 95.45 kB / 486.6 MB, free: 9.008 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.01111, allocations: 0.5795 MB / 487.2 MB, free: 8.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01111, allocations: 0 / 487.2 MB, free: 8.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01112, allocations: 3.938 kB / 487.2 MB, free: 8.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.01112, allocations: 3.406 kB / 487.2 MB, free: 8.781 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.0009733/0.0121, allocations: 0.6985 MB / 487.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.01214, allocations: 9.125 kB / 487.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008963/0.01304, allocations: 123.3 kB / 488 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.01315, allocations: 142.6 kB / 488.2 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.01328, allocations: 231.2 kB / 488.4 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.01332, allocations: 17.47 kB / 488.4 MB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.01361, allocations: 244.2 kB / 488.6 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01362, allocations: 1.094 kB / 488.6 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.01364, allocations: 14.92 kB / 488.7 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.01366, allocations: 5.062 kB / 488.7 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.01384, allocations: 90.17 kB / 488.8 MB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.01419, allocations: 324.6 kB / 489.1 MB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.01519, allocations: 0.5415 MB / 489.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.01537, allocations: 158.6 kB / 489.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.01541, allocations: 8.656 kB / 489.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.01577, allocations: 325.8 kB / 490.1 MB, free: 6.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.01577, allocations: 0 / 490.1 MB, free: 6.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007823/0.01655, allocations: 362.3 kB / 490.4 MB, free: 6.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.01665, allocations: 353.1 kB / 490.8 MB, free: 5.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.0168, allocations: 213.5 kB / 491 MB, free: 5.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.01683, allocations: 43.8 kB / 491 MB, free: 5.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.01689, allocations: 147 kB / 491.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.01697, allocations: 121 kB / 491.3 MB, free: 5.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.01709, allocations: 97.59 kB / 491.4 MB, free: 5.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.01731, allocations: 0.504 MB / 491.9 MB, free: 20.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.01752, allocations: 92.05 kB / 492 MB, free: 20.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.01771, allocations: 138.2 kB / 492.1 MB, free: 20.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.01807, allocations: 214.6 kB / 492.3 MB, free: 20.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01808, allocations: 0 / 492.3 MB, free: 20.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005475/0.01862, allocations: 318.2 kB / 492.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01864, allocations: 5.75 kB / 492.7 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01865, allocations: 1.312 kB / 492.7 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.01867, allocations: 8.688 kB / 492.7 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.01897, allocations: 90.86 kB / 492.8 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.01898, allocations: 4.344 kB / 492.8 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.01915, allocations: 47.34 kB / 492.8 MB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.01918, allocations: 15.25 kB / 492.8 MB, free: 20.47 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.0001352/0.01931, allocations: 187.8 kB / 493 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.01939, allocations: 41.16 kB / 493 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.01992, allocations: 330.8 kB / 493.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.01993, allocations: 17.97 kB / 493.4 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.01994, allocations: 3.969 kB / 493.4 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.01995, allocations: 6.016 kB / 493.4 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.02022, allocations: 247.3 kB / 493.6 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.02022, allocations: 2.969 kB / 493.6 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.02043, allocations: 69.52 kB / 493.7 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.02043, allocations: 6.531 kB / 493.7 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.02046, allocations: 19.53 kB / 493.7 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.02047, allocations: 9.531 kB / 493.7 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.02047, allocations: 10.22 kB / 493.7 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.02108, allocations: 499 kB / 494.2 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.02121, allocations: 70.59 kB / 494.3 MB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.02126, allocations: 21.81 kB / 494.3 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.02141, allocations: 27.61 kB / 494.4 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.02151, allocations: 61.66 kB / 494.4 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.02154, allocations: 20.97 kB / 494.4 MB, free: 19.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.02163, allocations: 165.4 kB / 494.6 MB, free: 19.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02163, allocations: 1.469 kB / 494.6 MB, free: 19.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006995/0.02233, allocations: 231.5 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.0006143/0.02294, allocations: 362.8 kB / 495.2 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.02347, allocations: 268.3 kB / 495.4 MB, free: 19.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.02347, allocations: 0.9375 kB / 495.4 MB, free: 19.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.0237, allocations: 164 kB / 495.6 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.02398, allocations: 48.05 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.001124/0.0251, allocations: 0.564 MB / 496.2 MB, free: 18.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.062e-05/0.02518, allocations: 95.11 kB / 496.3 MB, free: 18.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.02535, allocations: 49.61 kB / 496.4 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.02547, allocations: 50.67 kB / 496.4 MB, free: 18.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.02547, allocations: 0 / 496.4 MB, free: 18.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01046/0.03593, allocations: 5.881 MB / 0.4905 GB, free: 17.84 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.910822215024382]