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.001076/0.001076, allocations: 81.86 kB / 21.44 MB, free: 3.055 MB / 18.57 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.001467/0.001467, allocations: 175.1 kB / 24.84 MB, free: 9.246 MB / 18.57 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.6532/0.6532, allocations: 115 MB / 376.8 MB, free: 7.496 MB / 346.7 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.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: Performance of FrontEnd - loaded program: time 3.907e-06/3.907e-06, allocations: 3.812 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.326e-05, allocations: 3.516 kB / 482.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00153/0.001563, allocations: 0.8394 MB / 483.6 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.003895, allocations: 2.451 MB / 486 MB, free: 9.578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.003999, allocations: 4.562 kB / 486 MB, free: 9.574 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.004035, allocations: 16.22 kB / 486 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.004237, allocations: 49.34 kB / 486.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.005337, allocations: 0.5027 MB / 486.6 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.005669, allocations: 324.3 kB / 486.9 MB, free: 9.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.005718, allocations: 9.25 kB / 486.9 MB, free: 9.141 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.006033, allocations: 201.6 kB / 487.1 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.00619, allocations: 135.3 kB / 487.3 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.006237, allocations: 22.03 kB / 487.3 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006548/0.006891, allocations: 375.1 kB / 487.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.006958, allocations: 69.03 kB / 487.7 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.00705, allocations: 92.72 kB / 487.8 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.007863, allocations: 0.5836 MB / 488.4 MB, free: 8.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.007867, allocations: 0.5625 kB / 488.4 MB, free: 8.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007869, allocations: 0 / 488.4 MB, free: 8.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.007876, allocations: 2.469 kB / 488.4 MB, free: 8.645 MB / 410.7 MB 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.00088/0.008756, allocations: 0.699 MB / 489.1 MB, free: 8.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.008791, allocations: 13.34 kB / 489.1 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.009423, allocations: 123.2 kB / 489.2 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.009518, allocations: 138.3 kB / 489.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.009621, allocations: 234.2 kB / 489.6 MB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.009664, allocations: 21.41 kB / 489.6 MB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.009872, allocations: 236.8 kB / 489.8 MB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.009884, allocations: 1.438 kB / 489.8 MB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.009902, allocations: 15.5 kB / 489.8 MB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.009912, allocations: 3.844 kB / 489.9 MB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.01002, allocations: 76.58 kB / 489.9 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.0103, allocations: 301.3 kB / 490.2 MB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007821/0.01108, allocations: 0.5254 MB / 490.7 MB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01119, allocations: 151.3 kB / 490.9 MB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.01122, allocations: 14.78 kB / 490.9 MB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.01147, allocations: 321.6 kB / 491.2 MB, free: 6.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.01147, allocations: 0 / 491.2 MB, free: 6.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005056/0.01198, allocations: 323.8 kB / 491.5 MB, free: 6.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.01205, allocations: 359.9 kB / 491.9 MB, free: 5.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.01227, allocations: 220.3 kB / 492.1 MB, free: 21.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.01231, allocations: 39.48 kB / 492.1 MB, free: 21.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.01236, allocations: 145.9 kB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.01243, allocations: 119 kB / 492.4 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.01252, allocations: 107 kB / 492.5 MB, free: 21.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01266, allocations: 0.5024 MB / 493 MB, free: 20.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.0128, allocations: 71.17 kB / 493.1 MB, free: 20.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.01292, allocations: 123.3 kB / 493.2 MB, free: 20.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.01314, allocations: 186.8 kB / 493.4 MB, free: 20.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01314, allocations: 2.625 kB / 493.4 MB, free: 20.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003603/0.0135, allocations: 290.4 kB / 493.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01352, allocations: 7.281 kB / 493.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01353, allocations: 2.125 kB / 493.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01354, allocations: 3.375 kB / 493.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.01378, allocations: 83.77 kB / 493.8 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01378, allocations: 13.83 kB / 493.8 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.01392, allocations: 45.69 kB / 493.8 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.01394, allocations: 18.34 kB / 493.8 MB, free: 20.42 MB / 426.7 MB 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.0001177/0.01406, allocations: 191.8 kB / 494 MB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.01412, allocations: 41.17 kB / 494.1 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.0145, allocations: 307.3 kB / 494.4 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.0145, allocations: 9.188 kB / 494.4 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01451, allocations: 13.12 kB / 494.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.01452, allocations: 5.969 kB / 494.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01474, allocations: 226.1 kB / 494.6 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01475, allocations: 3.562 kB / 494.6 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.01491, allocations: 68.92 kB / 494.7 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.01492, allocations: 6.094 kB / 494.7 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.01494, allocations: 20.16 kB / 494.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.01495, allocations: 12.89 kB / 494.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01495, allocations: 10.11 kB / 494.7 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.01537, allocations: 468.3 kB / 495.2 MB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.01547, allocations: 72.89 kB / 495.3 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.01552, allocations: 19.72 kB / 495.3 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01564, allocations: 28.3 kB / 495.3 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.01571, allocations: 56.22 kB / 495.4 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.01573, allocations: 20.58 kB / 495.4 MB, free: 19.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.0158, allocations: 161.7 kB / 495.5 MB, free: 19.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0158, allocations: 0 / 495.5 MB, free: 19.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005685/0.01637, allocations: 232.4 kB / 495.8 MB, free: 19.31 MB / 426.7 MB 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.0004541/0.01682, allocations: 359.2 kB / 496.1 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.01716, allocations: 242.1 kB / 496.4 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01716, allocations: 2.812 kB / 496.4 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.01731, allocations: 154.6 kB / 496.5 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01752, allocations: 37.86 kB / 496.5 MB, free: 19.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.01832, allocations: 0.5539 MB / 497.1 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.01838, allocations: 99.39 kB / 497.2 MB, free: 18.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.01852, allocations: 54.14 kB / 497.3 MB, free: 18.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.01867, allocations: 127.2 kB / 497.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01867, allocations: 2.562 kB / 497.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01108/0.02976, allocations: 6.697 MB / 0.4923 GB, free: 17.52 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.672228170093149]