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.001455/0.001455, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001552/0.001552, allocations: 212.8 kB / 22.99 MB, free: 4.605 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 0.9821/0.9821, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.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.003459/0.003459, allocations: 65.83 kB / 0.6415 GB, free: 9.672 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2197, allocations: 89.17 MB / 0.7286 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00253/0.2223, allocations: 0.8279 MB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003886/0.2262, allocations: 2.409 MB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2263, allocations: 0 / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.876e-05/0.2264, allocations: 15.81 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.2267, allocations: 55.55 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2282, allocations: 0.4931 MB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.2287, allocations: 319.1 kB / 0.7326 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.2288, allocations: 9.812 kB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.2291, allocations: 155.6 kB / 0.7328 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.2293, allocations: 139.5 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.2294, allocations: 24 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008181/0.2302, allocations: 383.6 kB / 0.7333 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.2303, allocations: 63.86 kB / 0.7334 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2304, allocations: 103.6 kB / 0.7335 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.2313, allocations: 0.5723 MB / 0.734 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.2313, allocations: 3.984 kB / 0.734 GB, free: 11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2313, allocations: 4 kB / 0.734 GB, free: 11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.2313, allocations: 0 / 0.734 GB, free: 11 MB / 0.5606 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.001458/0.2327, allocations: 0.6076 MB / 0.7346 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.2328, allocations: 8.031 kB / 0.7346 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2338, allocations: 92.73 kB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.234, allocations: 138.9 kB / 0.7349 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.2342, allocations: 234.2 kB / 0.7351 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.2343, allocations: 20.31 kB / 0.7351 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.2347, allocations: 251.9 kB / 0.7353 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2347, allocations: 0 / 0.7353 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2347, allocations: 11.94 kB / 0.7354 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2347, allocations: 8 kB / 0.7354 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.235, allocations: 115.8 kB / 0.7355 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.2355, allocations: 291 kB / 0.7357 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.237, allocations: 479.2 kB / 0.7362 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.2372, allocations: 150.3 kB / 0.7363 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.2373, allocations: 12 kB / 0.7364 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.2378, allocations: 311.5 kB / 0.7367 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.2378, allocations: 0 / 0.7367 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008806/0.2387, allocations: 413.8 kB / 0.7371 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/0.2389, allocations: 354.6 kB / 0.7374 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2391, allocations: 163.2 kB / 0.7375 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.2391, allocations: 53.62 kB / 0.7376 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.2392, allocations: 93.14 kB / 0.7377 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.2394, allocations: 119 kB / 0.7378 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2396, allocations: 94.16 kB / 0.7379 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2398, allocations: 334.8 kB / 0.7382 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.24, allocations: 112.9 kB / 0.7383 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.2404, allocations: 168.3 kB / 0.7385 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.2409, allocations: 262.3 kB / 0.7387 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2409, allocations: 4 kB / 0.7387 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000795/0.2417, allocations: 377 kB / 0.7391 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.2418, allocations: 11.94 kB / 0.7391 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2418, allocations: 1 kB / 0.7391 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.2418, allocations: 7.984 kB / 0.7391 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.2422, allocations: 71.83 kB / 0.7392 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2422, allocations: 4 kB / 0.7392 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.2425, allocations: 55.75 kB / 0.7392 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.2426, allocations: 23.92 kB / 0.7393 GB, free: 5.09 MB / 0.5606 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.0001851/0.2427, allocations: 157.7 kB / 0.7394 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.2428, allocations: 31.8 kB / 0.7394 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007344/0.2436, allocations: 362.3 kB / 0.7398 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.2436, allocations: 12.03 kB / 0.7398 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.2436, allocations: 4 kB / 0.7398 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2436, allocations: 7.984 kB / 0.7398 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.244, allocations: 241 kB / 0.74 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.244, allocations: 0 / 0.74 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.2443, allocations: 79.83 kB / 0.7401 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.2443, allocations: 4 kB / 0.7401 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.2443, allocations: 27.88 kB / 0.7401 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.2443, allocations: 11.98 kB / 0.7402 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.2443, allocations: 3.938 kB / 0.7402 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.2452, allocations: 0.4889 MB / 0.7406 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2453, allocations: 67.67 kB / 0.7407 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.2454, allocations: 31.88 kB / 0.7407 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.2457, allocations: 27.98 kB / 0.7408 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2458, allocations: 47.91 kB / 0.7408 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.2458, allocations: 20 kB / 0.7408 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001324/0.2459, allocations: 131.2 kB / 0.7409 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2459, allocations: 0 / 0.7409 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000741/0.2467, allocations: 227.2 kB / 0.7412 GB, free: 3.031 MB / 0.5606 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.0006685/0.2474, allocations: 351.9 kB / 0.7415 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007607/0.2481, allocations: 313.7 kB / 0.7418 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2481, allocations: 0 / 0.7418 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.2484, allocations: 167.7 kB / 0.742 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2488, allocations: 31.98 kB / 0.742 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2499, allocations: 0.5571 MB / 0.7425 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.2501, allocations: 151.6 kB / 0.7427 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.2503, allocations: 58.58 kB / 0.7427 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2504, allocations: 47.42 kB / 0.7428 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2504, allocations: 0 / 0.7428 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.01243/0.2629, allocations: 5.958 MB / 0.7486 GB, free: 11.38 MB / 0.5762 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.705277549102902] Failed to read output from testmodel.py, exit status != 0: 0.2750759366899729 0.691365054 0.45642811600000005 Calling exit ...