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.001321/0.001321, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.00158/0.00158, allocations: 207 kB / 23.74 MB, free: 4.543 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.9547/0.9547, allocations: 149.9 MB / 463.8 MB, free: 10.32 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.002206/0.002206, allocations: 64.03 kB / 0.6423 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1758, allocations: 89.17 MB / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002327/0.1782, allocations: 0.83 MB / 0.7302 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1817, allocations: 2.416 MB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1818, allocations: 4 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.752e-05/0.1819, allocations: 11.81 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1821, allocations: 43.56 kB / 0.7326 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1837, allocations: 0.4983 MB / 0.7331 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1841, allocations: 323.1 kB / 0.7334 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.1842, allocations: 5.812 kB / 0.7334 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.1845, allocations: 147.7 kB / 0.7335 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1848, allocations: 143.5 kB / 0.7337 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.17e-05/0.1848, allocations: 24 kB / 0.7337 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007537/0.1856, allocations: 383.6 kB / 0.7341 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.1857, allocations: 75.77 kB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1858, allocations: 103.6 kB / 0.7342 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.1866, allocations: 0.5646 MB / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1866, allocations: 0 / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1866, allocations: 4 kB / 0.7348 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1866, allocations: 0 / 0.7348 GB, free: 10.97 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.001343/0.188, allocations: 0.6115 MB / 0.7354 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.188, allocations: 12.03 kB / 0.7354 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.189, allocations: 88.72 kB / 0.7355 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1892, allocations: 138.9 kB / 0.7356 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.1894, allocations: 230.2 kB / 0.7358 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.1895, allocations: 24.36 kB / 0.7358 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.1899, allocations: 243.9 kB / 0.7361 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1899, allocations: 3.938 kB / 0.7361 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.19, allocations: 11.98 kB / 0.7361 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.19, allocations: 4 kB / 0.7361 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.1902, allocations: 111.8 kB / 0.7362 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1907, allocations: 290.9 kB / 0.7365 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.1921, allocations: 487.3 kB / 0.7369 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1923, allocations: 142.3 kB / 0.7371 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.1924, allocations: 7.984 kB / 0.7371 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.1929, allocations: 327.5 kB / 0.7374 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.384e-06/0.1929, allocations: 0 / 0.7374 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008646/0.1938, allocations: 413 kB / 0.7378 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.194, allocations: 354.1 kB / 0.7381 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1942, allocations: 167.2 kB / 0.7383 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.1942, allocations: 37.7 kB / 0.7383 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.1943, allocations: 101.1 kB / 0.7384 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1944, allocations: 115.6 kB / 0.7385 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.1946, allocations: 98.16 kB / 0.7386 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1947, allocations: 338.8 kB / 0.739 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.195, allocations: 116.9 kB / 0.7391 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.1954, allocations: 164.3 kB / 0.7392 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.1959, allocations: 265.8 kB / 0.7395 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1959, allocations: 0 / 0.7395 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007926/0.1967, allocations: 377.3 kB / 0.7398 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1967, allocations: 11.94 kB / 0.7398 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1967, allocations: 4 kB / 0.7399 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1968, allocations: 0 / 0.7399 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.1972, allocations: 79.88 kB / 0.7399 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1972, allocations: 0 / 0.7399 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.1975, allocations: 51.75 kB / 0.74 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.1975, allocations: 19.98 kB / 0.74 GB, free: 5.066 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.0001744/0.1977, allocations: 150.5 kB / 0.7401 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1977, allocations: 36.78 kB / 0.7402 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.1985, allocations: 362.3 kB / 0.7405 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.1985, allocations: 15.94 kB / 0.7405 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1985, allocations: 4 kB / 0.7405 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1985, allocations: 4 kB / 0.7405 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.1988, allocations: 252.9 kB / 0.7408 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1988, allocations: 4 kB / 0.7408 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.1991, allocations: 75.84 kB / 0.7409 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1991, allocations: 4 kB / 0.7409 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.1992, allocations: 19.92 kB / 0.7409 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.1992, allocations: 4 kB / 0.7409 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.1992, allocations: 7.938 kB / 0.7409 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.2, allocations: 0.4927 MB / 0.7414 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.2002, allocations: 71.66 kB / 0.7414 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.2002, allocations: 23.88 kB / 0.7415 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.2005, allocations: 31.97 kB / 0.7415 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.2006, allocations: 47.92 kB / 0.7415 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.2006, allocations: 23.98 kB / 0.7416 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001104/0.2007, allocations: 123.2 kB / 0.7417 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2007, allocations: 0 / 0.7417 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006531/0.2014, allocations: 231.2 kB / 0.7419 GB, free: 3.008 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.0006139/0.202, allocations: 350.8 kB / 0.7422 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.2027, allocations: 319.3 kB / 0.7425 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2027, allocations: 0 / 0.7425 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.203, allocations: 167.7 kB / 0.7427 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2033, allocations: 37.95 kB / 0.7427 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2043, allocations: 0.5861 MB / 0.7433 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2045, allocations: 147.6 kB / 0.7435 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.2046, allocations: 51.41 kB / 0.7435 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2046, allocations: 0 / 0.7435 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of Templates: time 0.009173/0.2138, allocations: 5.604 MB / 0.749 GB, free: 11.69 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: 8.510028173215687] Failed to read output from testmodel.py, exit status != 0: 0.22340953582897782 0.5246643510000001 0.33480142300000004 Calling exit ...