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.001449/0.001449, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00156/0.00156, allocations: 217.1 kB / 22.99 MB, free: 4.977 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.009/1.009, allocations: 149.9 MB / 463 MB, free: 10.38 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.002092/0.002092, allocations: 77.62 kB / 0.6415 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2199, allocations: 89.17 MB / 0.7286 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002478/0.2224, allocations: 0.8221 MB / 0.7294 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.2262, allocations: 2.424 MB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2263, allocations: 0 / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.512e-05/0.2264, allocations: 11.81 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.2267, allocations: 51.56 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2282, allocations: 0.4983 MB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.2286, allocations: 315.1 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.2287, allocations: 9.812 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.2291, allocations: 151.6 kB / 0.7328 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2293, allocations: 139.5 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.2294, allocations: 24 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.2302, allocations: 383.7 kB / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.2303, allocations: 71.77 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2305, allocations: 99.61 kB / 0.7335 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009341/0.2314, allocations: 0.5762 MB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2314, allocations: 0 / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2314, allocations: 0 / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.2315, allocations: 0 / 0.734 GB, free: 10.96 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.00152/0.233, allocations: 0.6077 MB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.233, allocations: 11.97 kB / 0.7346 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.2341, allocations: 88.72 kB / 0.7347 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2342, allocations: 135.9 kB / 0.7349 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.2345, allocations: 238.2 kB / 0.7351 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.2345, allocations: 20.38 kB / 0.7351 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.235, allocations: 247.9 kB / 0.7353 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.235, allocations: 0 / 0.7353 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.235, allocations: 11.98 kB / 0.7353 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.235, allocations: 4 kB / 0.7354 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.2353, allocations: 111.7 kB / 0.7355 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.2358, allocations: 291 kB / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.2374, allocations: 479.3 kB / 0.7362 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2376, allocations: 146.3 kB / 0.7363 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.2377, allocations: 15.98 kB / 0.7363 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.2382, allocations: 315.5 kB / 0.7366 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.2382, allocations: 4 kB / 0.7367 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008967/0.2391, allocations: 422.6 kB / 0.7371 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.2394, allocations: 350.1 kB / 0.7374 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.2397, allocations: 171.2 kB / 0.7376 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.2397, allocations: 37.7 kB / 0.7376 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.2398, allocations: 97.12 kB / 0.7377 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2399, allocations: 119.1 kB / 0.7378 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2401, allocations: 94.16 kB / 0.7379 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2403, allocations: 335.3 kB / 0.7382 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.2406, allocations: 116.9 kB / 0.7383 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.2409, allocations: 168.3 kB / 0.7385 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.2415, allocations: 265.8 kB / 0.7387 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2415, allocations: 4 kB / 0.7387 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000777/0.2422, allocations: 373.3 kB / 0.7391 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.2423, allocations: 11.94 kB / 0.7391 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2423, allocations: 0 / 0.7391 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.2423, allocations: 8 kB / 0.7391 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.2427, allocations: 79.81 kB / 0.7392 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2427, allocations: 4 kB / 0.7392 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.243, allocations: 51.75 kB / 0.7392 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.243, allocations: 19.98 kB / 0.7393 GB, free: 5.055 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.0001783/0.2432, allocations: 141.8 kB / 0.7394 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.2433, allocations: 35.78 kB / 0.7394 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.244, allocations: 366.1 kB / 0.7398 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.244, allocations: 8 kB / 0.7398 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.244, allocations: 4 kB / 0.7398 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.244, allocations: 11.98 kB / 0.7398 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.2444, allocations: 249.3 kB / 0.74 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2444, allocations: 0 / 0.74 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.2446, allocations: 83.78 kB / 0.7401 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2447, allocations: 4 kB / 0.7401 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.2447, allocations: 23.92 kB / 0.7401 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.2447, allocations: 8 kB / 0.7402 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.2447, allocations: 3.984 kB / 0.7402 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.2455, allocations: 0.4886 MB / 0.7406 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.2457, allocations: 67.66 kB / 0.7407 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.2457, allocations: 27.89 kB / 0.7407 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.2459, allocations: 31.97 kB / 0.7408 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2461, allocations: 51.86 kB / 0.7408 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.2461, allocations: 23.98 kB / 0.7408 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001114/0.2462, allocations: 123.2 kB / 0.7409 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2462, allocations: 0 / 0.7409 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006545/0.2469, allocations: 227.2 kB / 0.7412 GB, free: 3 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.0005721/0.2474, allocations: 350.8 kB / 0.7415 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006735/0.2481, allocations: 323.2 kB / 0.7418 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2481, allocations: 0 / 0.7418 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.2484, allocations: 168.8 kB / 0.742 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2487, allocations: 28 kB / 0.742 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2497, allocations: 0.5653 MB / 0.7425 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2499, allocations: 155.6 kB / 0.7427 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000194/0.2501, allocations: 54.56 kB / 0.7427 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2502, allocations: 51.41 kB / 0.7428 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.001e-06/0.2502, allocations: 0 / 0.7428 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.01199/0.2622, allocations: 5.964 MB / 0.7486 GB, free: 11.36 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.5884335823357105] Failed to read output from testmodel.py, exit status != 0: 0.27181900292634964 0.619953321 0.38547099599999995 Calling exit ...