Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.001461/0.001461, allocations: 119 kB / 19.69 MB, free: 2.199 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.001756/0.001756, allocations: 223.4 kB / 23.01 MB, free: 5.047 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 / 463.1 MB, free: 10.52 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [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.00238/0.00238, allocations: 74.64 kB / 0.6417 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.241, allocations: 89.17 MB / 0.7288 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.00248/0.2435, allocations: 0.8901 MB / 0.7297 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003896/0.2474, allocations: 2.584 MB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2475, allocations: 3.938 kB / 0.7322 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.2476, allocations: 15.81 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.2479, allocations: 47.56 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.2495, allocations: 0.5021 MB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.25, allocations: 319.1 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.25, allocations: 9.812 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.2505, allocations: 155.6 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.2508, allocations: 147.5 kB / 0.7333 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.2509, allocations: 24 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009418/0.2518, allocations: 399.7 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2519, allocations: 71.78 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.252, allocations: 115.5 kB / 0.7339 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2531, allocations: 0.5645 MB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.2531, allocations: 4 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2531, allocations: 8 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2531, allocations: 0 / 0.7345 GB, free: 10.98 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.001401/0.2545, allocations: 0.6037 MB / 0.7351 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2545, allocations: 8.031 kB / 0.7351 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.2556, allocations: 92.72 kB / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2557, allocations: 139.9 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.256, allocations: 230.2 kB / 0.7355 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.256, allocations: 24.38 kB / 0.7356 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.2564, allocations: 239.9 kB / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2565, allocations: 3.938 kB / 0.7358 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.2565, allocations: 11.98 kB / 0.7358 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2565, allocations: 8 kB / 0.7358 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.2567, allocations: 111.8 kB / 0.7359 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.2572, allocations: 366.3 kB / 0.7363 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.2587, allocations: 487.2 kB / 0.7367 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.259, allocations: 146.3 kB / 0.7369 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.259, allocations: 8 kB / 0.7369 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.2597, allocations: 319.4 kB / 0.7372 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.766e-06/0.2597, allocations: 0 / 0.7372 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.000985/0.2606, allocations: 418.9 kB / 0.7376 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/0.2609, allocations: 358 kB / 0.7379 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.2611, allocations: 171.2 kB / 0.7381 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.2612, allocations: 41.7 kB / 0.7381 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.2613, allocations: 93.14 kB / 0.7382 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.2614, allocations: 119 kB / 0.7383 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.2616, allocations: 94.27 kB / 0.7384 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2618, allocations: 330.8 kB / 0.7387 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.2621, allocations: 120.9 kB / 0.7388 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.2624, allocations: 164.3 kB / 0.739 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.2631, allocations: 269.2 kB / 0.7393 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2631, allocations: 128 / 0.7393 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008798/0.264, allocations: 381.8 kB / 0.7396 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.264, allocations: 11.94 kB / 0.7396 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.264, allocations: 3.984 kB / 0.7396 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.264, allocations: 7.938 kB / 0.7396 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.2645, allocations: 67.89 kB / 0.7397 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.2645, allocations: 7.984 kB / 0.7397 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2648, allocations: 51.77 kB / 0.7398 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.2649, allocations: 19.98 kB / 0.7398 GB, free: 4.98 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.0002652/0.2651, allocations: 155.7 kB / 0.7399 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.2652, allocations: 27.8 kB / 0.74 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/0.266, allocations: 358.4 kB / 0.7403 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.266, allocations: 12 kB / 0.7403 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.266, allocations: 4 kB / 0.7403 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.266, allocations: 7.984 kB / 0.7403 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.2665, allocations: 324.3 kB / 0.7406 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2665, allocations: 3.938 kB / 0.7406 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.2668, allocations: 75.84 kB / 0.7407 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.2668, allocations: 4 kB / 0.7407 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.2669, allocations: 15.98 kB / 0.7407 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.2669, allocations: 8 kB / 0.7407 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2669, allocations: 4.188 kB / 0.7407 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.2677, allocations: 0.4925 MB / 0.7412 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.2679, allocations: 75.56 kB / 0.7413 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.268, allocations: 23.92 kB / 0.7413 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2682, allocations: 31.97 kB / 0.7413 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.2684, allocations: 51.86 kB / 0.7414 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.2684, allocations: 23.98 kB / 0.7414 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000137/0.2685, allocations: 127.2 kB / 0.7415 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2685, allocations: 0 / 0.7415 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007964/0.2693, allocations: 227.2 kB / 0.7418 GB, free: 2.844 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.0007749/0.2701, allocations: 348 kB / 0.7421 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008316/0.2709, allocations: 315.3 kB / 0.7424 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2709, allocations: 0 / 0.7424 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.2713, allocations: 175.7 kB / 0.7426 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2716, allocations: 32.55 kB / 0.7426 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2728, allocations: 0.5658 MB / 0.7431 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.2733, allocations: 0.7572 MB / 0.7439 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.2735, allocations: 55.75 kB / 0.7439 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.2737, allocations: 51.41 kB / 0.744 GB, free: 484 kB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.2737, allocations: 4 kB / 0.744 GB, free: 480 kB / 0.5606 GB Notification: Performance of Templates: time 0.01326/0.2869, allocations: 6.068 MB / 0.7499 GB, free: 10.45 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.830886200070381] Failed to read output from testmodel.py, exit status != 0: 0.29675643518567085 0.669987137 0.41335440500000004 Calling exit ...