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.002071/0.002071, allocations: 110.5 kB / 17.12 MB, free: 6.008 MB / 14.72 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.001979/0.001979, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 1.01/1.01, allocations: 150 MB / 459.5 MB, free: 5.273 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 64.08 kB / 0.6366 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2133, allocations: 89.13 MB / 0.7236 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002311/0.2156, allocations: 0.8827 MB / 0.7245 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.2193, allocations: 2.581 MB / 0.727 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2194, allocations: 7.938 kB / 0.727 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.2194, allocations: 15.8 kB / 0.727 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.2197, allocations: 47.62 kB / 0.7271 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2211, allocations: 0.4972 MB / 0.7275 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.2215, allocations: 315.1 kB / 0.7278 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.2215, allocations: 13.67 kB / 0.7279 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.2218, allocations: 155.6 kB / 0.728 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.2221, allocations: 147.5 kB / 0.7281 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.2221, allocations: 24 kB / 0.7282 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.2228, allocations: 391.7 kB / 0.7285 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2229, allocations: 71.78 kB / 0.7286 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2231, allocations: 123.5 kB / 0.7287 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.2239, allocations: 0.5646 MB / 0.7293 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2239, allocations: 0 / 0.7293 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2239, allocations: 4 kB / 0.7293 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.2239, allocations: 0 / 0.7293 GB, free: 13.73 MB / 0.545 GB 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.001563/0.2255, allocations: 0.679 MB / 0.7299 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2256, allocations: 12.03 kB / 0.73 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2266, allocations: 88.72 kB / 0.73 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.2268, allocations: 196.8 kB / 0.7302 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.227, allocations: 127.4 kB / 0.7303 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.227, allocations: 16.38 kB / 0.7304 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.2275, allocations: 247.8 kB / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2275, allocations: 0 / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.2275, allocations: 8 kB / 0.7306 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2275, allocations: 4 kB / 0.7306 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2278, allocations: 123.7 kB / 0.7307 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.2284, allocations: 395.2 kB / 0.7311 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.23, allocations: 487.3 kB / 0.7316 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.2302, allocations: 146.3 kB / 0.7317 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.2303, allocations: 11.98 kB / 0.7317 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005989/0.2309, allocations: 323.5 kB / 0.732 GB, free: 10.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.2309, allocations: 4 kB / 0.732 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0009428/0.2318, allocations: 409.6 kB / 0.7324 GB, free: 10.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.2321, allocations: 358.1 kB / 0.7328 GB, free: 9.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2322, allocations: 165.6 kB / 0.7329 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.2323, allocations: 41.7 kB / 0.733 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.2324, allocations: 93.14 kB / 0.7331 GB, free: 9.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2325, allocations: 119 kB / 0.7332 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.2327, allocations: 102.2 kB / 0.7333 GB, free: 9.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2329, allocations: 330.8 kB / 0.7336 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.2332, allocations: 121 kB / 0.7337 GB, free: 8.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.2335, allocations: 161 kB / 0.7338 GB, free: 8.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.2341, allocations: 276.2 kB / 0.7341 GB, free: 8.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2341, allocations: 0 / 0.7341 GB, free: 8.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007959/0.2349, allocations: 379.8 kB / 0.7345 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2349, allocations: 4 kB / 0.7345 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2349, allocations: 4 kB / 0.7345 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2349, allocations: 4 kB / 0.7345 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.2353, allocations: 76.62 kB / 0.7346 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2353, allocations: 7.938 kB / 0.7346 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.2356, allocations: 55.7 kB / 0.7346 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.2357, allocations: 19.98 kB / 0.7346 GB, free: 7.664 MB / 0.545 GB 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.0001868/0.2359, allocations: 149.8 kB / 0.7348 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.2359, allocations: 28.8 kB / 0.7348 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.2366, allocations: 358.2 kB / 0.7351 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.2367, allocations: 8 kB / 0.7352 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.2367, allocations: 4 kB / 0.7352 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.2367, allocations: 16.11 kB / 0.7352 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.2371, allocations: 353.2 kB / 0.7355 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2371, allocations: 7.938 kB / 0.7355 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.2374, allocations: 75.89 kB / 0.7356 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2375, allocations: 4 kB / 0.7356 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.2375, allocations: 19.98 kB / 0.7356 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.2375, allocations: 7.938 kB / 0.7356 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2375, allocations: 4 kB / 0.7356 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.2383, allocations: 0.4901 MB / 0.7361 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.2385, allocations: 148.8 kB / 0.7362 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.2385, allocations: 23.89 kB / 0.7363 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.2388, allocations: 31.97 kB / 0.7363 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2389, allocations: 51.81 kB / 0.7363 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.2389, allocations: 23.98 kB / 0.7364 GB, free: 5.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001106/0.239, allocations: 131.2 kB / 0.7365 GB, free: 5.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.239, allocations: 0 / 0.7365 GB, free: 5.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006753/0.2397, allocations: 235.1 kB / 0.7367 GB, free: 5.383 MB / 0.545 GB 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.0006242/0.2403, allocations: 333.3 kB / 0.737 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007214/0.2411, allocations: 323.7 kB / 0.7373 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2411, allocations: 4 kB / 0.7374 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.2414, allocations: 163.7 kB / 0.7375 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2417, allocations: 33.55 kB / 0.7375 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2428, allocations: 0.557 MB / 0.7381 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.2434, allocations: 0.7649 MB / 0.7388 GB, free: 3.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001993/0.2436, allocations: 58.03 kB / 0.7389 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.2437, allocations: 51.41 kB / 0.7389 GB, free: 3.023 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2437, allocations: 0 / 0.7389 GB, free: 3.023 MB / 0.545 GB Notification: Performance of Templates: time 0.01163/0.2553, allocations: 5.87 MB / 0.7447 GB, free: 13.17 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.524883195059374] Failed to read output from testmodel.py, exit status != 0: 0.2636886660475284 0.28088751500000003 0.052655432 Calling exit ...