Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.001432/0.001432, allocations: 119.2 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.001656/0.001656, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.644/1.644, 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.014/1.014, allocations: 150 MB / 463.1 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 178] 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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [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.002069/0.002069, allocations: 70.39 kB / 0.6417 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2246, allocations: 89.17 MB / 0.7288 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00237/0.227, allocations: 0.8863 MB / 0.7297 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2307, allocations: 2.595 MB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2308, allocations: 4 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.34e-05/0.2309, allocations: 15.75 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.2311, allocations: 39.62 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.2326, allocations: 0.4983 MB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.233, allocations: 315.1 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.2331, allocations: 9.812 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.2334, allocations: 159.6 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.2337, allocations: 147.5 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.2337, allocations: 24 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.2346, allocations: 399.7 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.2346, allocations: 67.8 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2348, allocations: 123.5 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008593/0.2357, allocations: 0.5607 MB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2357, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2357, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.2357, allocations: 0 / 0.7345 GB, free: 10.95 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.001467/0.2371, allocations: 0.6076 MB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2372, allocations: 12.03 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.2382, allocations: 92.72 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2384, allocations: 135.9 kB / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.2387, allocations: 234.2 kB / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.2388, allocations: 20.38 kB / 0.7355 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.2392, allocations: 243.9 kB / 0.7358 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2392, allocations: 11.94 kB / 0.7358 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.2392, allocations: 7.938 kB / 0.7358 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2392, allocations: 4 kB / 0.7358 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.2395, allocations: 115.8 kB / 0.7359 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2402, allocations: 370.2 kB / 0.7363 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.242, allocations: 483.3 kB / 0.7367 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.2423, allocations: 146.2 kB / 0.7369 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.2423, allocations: 19.92 kB / 0.7369 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005545/0.2429, allocations: 311.5 kB / 0.7372 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.2429, allocations: 0 / 0.7372 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008518/0.2437, allocations: 417.9 kB / 0.7376 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002466/0.244, allocations: 354.1 kB / 0.7379 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.2442, allocations: 167.2 kB / 0.7381 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.2443, allocations: 37.7 kB / 0.7381 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.2444, allocations: 97.62 kB / 0.7382 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.2445, allocations: 127 kB / 0.7383 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2447, allocations: 94.16 kB / 0.7384 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2448, allocations: 334.8 kB / 0.7387 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.2451, allocations: 112.9 kB / 0.7388 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2455, allocations: 168.3 kB / 0.739 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.2461, allocations: 261.8 kB / 0.7392 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2461, allocations: 3.938 kB / 0.7393 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009128/0.247, allocations: 384.7 kB / 0.7396 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.247, allocations: 4 kB / 0.7396 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.247, allocations: 0 / 0.7396 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.247, allocations: 4 kB / 0.7396 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.2474, allocations: 83.88 kB / 0.7397 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2474, allocations: 0 / 0.7397 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.2477, allocations: 51.75 kB / 0.7398 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.2478, allocations: 19.98 kB / 0.7398 GB, free: 4.953 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.0001809/0.248, allocations: 160.4 kB / 0.7399 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.248, allocations: 31.8 kB / 0.74 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.2487, allocations: 354.2 kB / 0.7403 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2487, allocations: 12 kB / 0.7403 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2488, allocations: 4 kB / 0.7403 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.2488, allocations: 7.984 kB / 0.7403 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.2492, allocations: 320.7 kB / 0.7406 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.2492, allocations: 7.938 kB / 0.7406 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.2495, allocations: 71.89 kB / 0.7407 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2495, allocations: 8 kB / 0.7407 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.2495, allocations: 16 kB / 0.7407 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.2495, allocations: 11.92 kB / 0.7407 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2495, allocations: 4.188 kB / 0.7407 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.2503, allocations: 0.4964 MB / 0.7412 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2505, allocations: 75.56 kB / 0.7413 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.2505, allocations: 23.92 kB / 0.7413 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2508, allocations: 19.98 kB / 0.7413 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2509, allocations: 67.78 kB / 0.7414 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.2509, allocations: 20 kB / 0.7414 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001542/0.2511, allocations: 127.2 kB / 0.7415 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2511, allocations: 0 / 0.7415 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000715/0.2518, allocations: 231.2 kB / 0.7418 GB, free: 2.801 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.0006143/0.2524, allocations: 336.1 kB / 0.7421 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.2531, allocations: 313.9 kB / 0.7424 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.2531, allocations: 8 kB / 0.7424 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.2534, allocations: 168.2 kB / 0.7426 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2537, allocations: 31.98 kB / 0.7426 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2548, allocations: 0.5652 MB / 0.7431 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.2553, allocations: 0.7611 MB / 0.7439 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.2555, allocations: 57.17 kB / 0.7439 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2556, allocations: 47.42 kB / 0.744 GB, free: 452 kB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2556, allocations: 0 / 0.744 GB, free: 452 kB / 0.5606 GB Notification: Performance of Templates: time 0.01226/0.2679, allocations: 6.072 MB / 0.7499 GB, free: 10.42 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.932597006205469] Failed to read output from testmodel.py, exit status != 0: 0.2779453471302986 0.695197583 0.456260111 Calling exit ...