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.00138/0.00138, 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.001493/0.001493, 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.066/1.066, allocations: 150 MB / 459.5 MB, free: 5.305 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.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.002396/0.002396, allocations: 68.22 kB / 0.6366 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2188, allocations: 89.12 MB / 0.7236 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002266/0.221, allocations: 0.899 MB / 0.7245 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.2247, allocations: 2.582 MB / 0.727 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2248, allocations: 0 / 0.727 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.2248, allocations: 15.81 kB / 0.727 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.2251, allocations: 51.55 kB / 0.7271 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2265, allocations: 498.3 kB / 0.7275 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.227, allocations: 327 kB / 0.7279 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.633e-05/0.2271, allocations: 17.66 kB / 0.7279 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.2274, allocations: 147.7 kB / 0.728 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.2276, allocations: 147.5 kB / 0.7281 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.2276, allocations: 24 kB / 0.7282 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007436/0.2284, allocations: 395.7 kB / 0.7285 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.2284, allocations: 71.78 kB / 0.7286 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2286, allocations: 123.5 kB / 0.7287 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.2294, allocations: 0.5645 MB / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2294, allocations: 0 / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2294, allocations: 4 kB / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.2294, allocations: 0 / 0.7293 GB, free: 13.84 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.001507/0.2309, allocations: 0.6769 MB / 0.73 GB, free: 13.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.231, allocations: 8.031 kB / 0.73 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.232, allocations: 92.72 kB / 0.73 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.2323, allocations: 192.8 kB / 0.7302 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.2325, allocations: 131.4 kB / 0.7304 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2326, allocations: 20.38 kB / 0.7304 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.233, allocations: 239.9 kB / 0.7306 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.233, allocations: 7.938 kB / 0.7306 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.233, allocations: 4 kB / 0.7306 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.233, allocations: 7.938 kB / 0.7306 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.2333, allocations: 115.7 kB / 0.7307 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.2338, allocations: 399.2 kB / 0.7311 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.2354, allocations: 491.3 kB / 0.7316 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.2357, allocations: 150.2 kB / 0.7317 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2357, allocations: 7.938 kB / 0.7317 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/0.2363, allocations: 319.5 kB / 0.732 GB, free: 10.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.023e-06/0.2363, allocations: 4 kB / 0.732 GB, free: 10.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0009002/0.2372, allocations: 413.6 kB / 0.7324 GB, free: 10.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/0.2374, allocations: 354.1 kB / 0.7328 GB, free: 9.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2376, allocations: 169.6 kB / 0.7329 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.2377, allocations: 38.2 kB / 0.733 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.2377, allocations: 101.1 kB / 0.7331 GB, free: 9.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2379, allocations: 115.1 kB / 0.7332 GB, free: 9.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.238, allocations: 98.22 kB / 0.7333 GB, free: 9.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2382, allocations: 330.8 kB / 0.7336 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.2385, allocations: 113.1 kB / 0.7337 GB, free: 8.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.2388, allocations: 169 kB / 0.7339 GB, free: 8.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.2394, allocations: 272.6 kB / 0.7341 GB, free: 8.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2394, allocations: 0 / 0.7341 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000844/0.2402, allocations: 383.6 kB / 0.7345 GB, free: 7.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2403, allocations: 4 kB / 0.7345 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2403, allocations: 4 kB / 0.7345 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2403, allocations: 0 / 0.7345 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2407, allocations: 83.88 kB / 0.7346 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2407, allocations: 4 kB / 0.7346 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.241, allocations: 47.7 kB / 0.7346 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.2411, allocations: 19.98 kB / 0.7346 GB, free: 7.777 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.0002061/0.2413, allocations: 158.5 kB / 0.7348 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.2413, allocations: 27.8 kB / 0.7348 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.2421, allocations: 354.8 kB / 0.7352 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.2421, allocations: 12 kB / 0.7352 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.2421, allocations: 7.938 kB / 0.7352 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.2422, allocations: 7.984 kB / 0.7352 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.2426, allocations: 353.2 kB / 0.7355 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.2426, allocations: 7.938 kB / 0.7355 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.2429, allocations: 71.89 kB / 0.7356 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.243, allocations: 8 kB / 0.7356 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.243, allocations: 16 kB / 0.7356 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.243, allocations: 7.984 kB / 0.7356 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.243, allocations: 7.938 kB / 0.7356 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.2439, allocations: 498 kB / 0.7361 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.2441, allocations: 148.9 kB / 0.7363 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.2441, allocations: 27.88 kB / 0.7363 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2444, allocations: 31.95 kB / 0.7363 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.2445, allocations: 51.89 kB / 0.7364 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.2446, allocations: 23.98 kB / 0.7364 GB, free: 5.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001272/0.2447, allocations: 127.2 kB / 0.7365 GB, free: 5.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2447, allocations: 3.938 kB / 0.7365 GB, free: 5.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006947/0.2454, allocations: 239.1 kB / 0.7367 GB, free: 5.488 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.0006325/0.246, allocations: 333.4 kB / 0.7371 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.2468, allocations: 322.2 kB / 0.7374 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2468, allocations: 0 / 0.7374 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.2471, allocations: 172.5 kB / 0.7375 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2474, allocations: 35.86 kB / 0.7376 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2484, allocations: 0.5571 MB / 0.7381 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.2489, allocations: 0.7649 MB / 0.7388 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.2491, allocations: 57.56 kB / 0.7389 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2492, allocations: 47.41 kB / 0.7389 GB, free: 3.129 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2492, allocations: 0 / 0.7389 GB, free: 3.129 MB / 0.545 GB Notification: Performance of Templates: time 0.01112/0.2603, allocations: 5.874 MB / 0.7447 GB, free: 13.29 MB / 0.5606 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.542425775900483] Failed to read output from testmodel.py, exit status != 0: 0.26862595696002245 0.28146547799999994 0.049199631 Calling exit ...