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.001237/0.001237, allocations: 99.77 kB / 20.49 MB, free: 1.324 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.001344/0.001344, allocations: 217 kB / 23.79 MB, free: 4.457 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.417/1.417, allocations: 230.6 MB / 257.6 MB, free: 7.762 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.9109/0.9109, allocations: 150 MB / 464 MB, free: 10.18 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.002066/0.002066, allocations: 70.78 kB / 0.6425 GB, free: 9.324 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1697, allocations: 89.18 MB / 0.7296 GB, free: 224 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002/0.1717, allocations: 0.8226 MB / 0.7304 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1749, allocations: 2.409 MB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.175, allocations: 3.938 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.175, allocations: 11.81 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.1752, allocations: 51.61 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1763, allocations: 0.4943 MB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.1766, allocations: 319.1 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.1767, allocations: 5.812 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.177, allocations: 159.6 kB / 0.7337 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1772, allocations: 139.5 kB / 0.7339 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.1772, allocations: 24 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.1778, allocations: 383.6 kB / 0.7343 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.1779, allocations: 67.8 kB / 0.7343 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.178, allocations: 107.6 kB / 0.7344 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.1788, allocations: 0.5607 MB / 0.735 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1788, allocations: 0 / 0.735 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1788, allocations: 11.88 kB / 0.735 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.1788, allocations: 0 / 0.735 GB, free: 10.65 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.001303/0.1801, allocations: 0.6154 MB / 0.7356 GB, free: 10 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1801, allocations: 8.031 kB / 0.7356 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.1812, allocations: 88.73 kB / 0.7357 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1813, allocations: 143 kB / 0.7358 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.1815, allocations: 230.2 kB / 0.736 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.1816, allocations: 20.31 kB / 0.736 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.182, allocations: 251.9 kB / 0.7363 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.182, allocations: 0 / 0.7363 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.182, allocations: 8 kB / 0.7363 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.182, allocations: 4 kB / 0.7363 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.1823, allocations: 115.7 kB / 0.7364 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1827, allocations: 299 kB / 0.7367 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.1842, allocations: 475.3 kB / 0.7371 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.1844, allocations: 158.2 kB / 0.7373 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.1844, allocations: 8 kB / 0.7373 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.1849, allocations: 311.6 kB / 0.7376 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.1849, allocations: 0 / 0.7376 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008765/0.1858, allocations: 417 kB / 0.738 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/0.186, allocations: 354.1 kB / 0.7383 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1862, allocations: 159.8 kB / 0.7385 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.1862, allocations: 49.69 kB / 0.7385 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.1863, allocations: 89.14 kB / 0.7386 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1864, allocations: 123 kB / 0.7387 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.1865, allocations: 98.16 kB / 0.7388 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1867, allocations: 334.8 kB / 0.7392 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.187, allocations: 112.9 kB / 0.7393 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.1873, allocations: 164.3 kB / 0.7394 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.1878, allocations: 277.7 kB / 0.7397 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1878, allocations: 4 kB / 0.7397 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007607/0.1886, allocations: 372.2 kB / 0.74 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1886, allocations: 7.938 kB / 0.7401 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1886, allocations: 0 / 0.7401 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1886, allocations: 4 kB / 0.7401 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.189, allocations: 80.81 kB / 0.7401 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1891, allocations: 4 kB / 0.7401 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1893, allocations: 52.5 kB / 0.7402 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1894, allocations: 19.98 kB / 0.7402 GB, free: 4.742 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.0001866/0.1896, allocations: 157.8 kB / 0.7404 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.1896, allocations: 27.8 kB / 0.7404 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.1903, allocations: 366.1 kB / 0.7407 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1903, allocations: 11.94 kB / 0.7407 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.1903, allocations: 4 kB / 0.7407 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1903, allocations: 8.172 kB / 0.7408 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.1907, allocations: 248.9 kB / 0.741 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1907, allocations: 4 kB / 0.741 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.191, allocations: 75.83 kB / 0.7411 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.191, allocations: 11.98 kB / 0.7411 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.191, allocations: 15.94 kB / 0.7411 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.191, allocations: 8 kB / 0.7411 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.191, allocations: 7.984 kB / 0.7411 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.1918, allocations: 496.3 kB / 0.7416 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1919, allocations: 67.67 kB / 0.7416 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.192, allocations: 28.12 kB / 0.7417 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1922, allocations: 31.98 kB / 0.7417 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.1923, allocations: 51.86 kB / 0.7418 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.1924, allocations: 23.98 kB / 0.7418 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001036/0.1925, allocations: 127.2 kB / 0.7419 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1925, allocations: 4 kB / 0.7419 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006018/0.1931, allocations: 227.2 kB / 0.7421 GB, free: 2.676 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.0005631/0.1936, allocations: 340 kB / 0.7424 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006541/0.1943, allocations: 315.2 kB / 0.7427 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1943, allocations: 0 / 0.7427 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.1946, allocations: 171.7 kB / 0.7429 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1948, allocations: 31.98 kB / 0.7429 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1959, allocations: 0.5532 MB / 0.7435 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.196, allocations: 159.5 kB / 0.7436 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.1962, allocations: 55.47 kB / 0.7437 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1964, allocations: 47.41 kB / 0.7437 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1964, allocations: 0 / 0.7437 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of Templates: time 0.0113/0.2077, allocations: 5.949 MB / 0.7495 GB, free: 11.05 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.946794713148847] Failed to read output from testmodel.py, exit status != 0: 0.21590350195765495 0.506927951 0.32534535099999995 Calling exit ...