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.001015/0.001015, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.00137/0.00137, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.063/1.063, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6171/0.6171, allocations: 115 MB / 376 MB, free: 7.5 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.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: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0.6562 kB / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.482e-05, allocations: 3.438 kB / 481.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001434/0.001459, allocations: 0.8548 MB / 482.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.003753, allocations: 2.451 MB / 485.2 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.003851, allocations: 1.594 kB / 485.2 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.003889, allocations: 12.56 kB / 485.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.004086, allocations: 53.42 kB / 485.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.005131, allocations: 0.5015 MB / 485.8 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.005446, allocations: 324.1 kB / 486.1 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.005502, allocations: 8.844 kB / 486.1 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.00584, allocations: 212.7 kB / 486.3 MB, free: 9.094 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.005986, allocations: 121.7 kB / 486.5 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.006027, allocations: 25.12 kB / 486.5 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.006697, allocations: 377.6 kB / 486.9 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.006759, allocations: 74.28 kB / 486.9 MB, free: 8.941 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.006835, allocations: 90.12 kB / 487 MB, free: 8.902 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.007589, allocations: 0.586 MB / 487.6 MB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.007593, allocations: 1.531 kB / 487.6 MB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007595, allocations: 1.031 kB / 487.6 MB, free: 8.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.0076, allocations: 0 / 487.6 MB, free: 8.676 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.001066/0.008666, allocations: 0.6998 MB / 488.3 MB, free: 8.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.008733, allocations: 11.92 kB / 488.3 MB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006405/0.009374, allocations: 121.5 kB / 488.4 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.009477, allocations: 138.9 kB / 488.6 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.009583, allocations: 234.8 kB / 488.8 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.009622, allocations: 18.22 kB / 488.8 MB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.009838, allocations: 233.7 kB / 489 MB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.009849, allocations: 9.422 kB / 489.1 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.009866, allocations: 14.55 kB / 489.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.009875, allocations: 4.094 kB / 489.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.009984, allocations: 69.73 kB / 489.1 MB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.01027, allocations: 305.5 kB / 489.4 MB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.01103, allocations: 0.5269 MB / 490 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.01117, allocations: 146.4 kB / 490.1 MB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.01122, allocations: 23.11 kB / 490.1 MB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.01157, allocations: 314.8 kB / 490.4 MB, free: 6.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.01157, allocations: 1.938 kB / 490.4 MB, free: 6.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006567/0.01223, allocations: 324 kB / 490.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.01243, allocations: 360.8 kB / 491.1 MB, free: 5.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.0126, allocations: 219.4 kB / 491.3 MB, free: 5.598 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.01264, allocations: 39.3 kB / 491.4 MB, free: 5.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.01288, allocations: 147.1 kB / 491.5 MB, free: 21.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.01297, allocations: 117.4 kB / 491.6 MB, free: 21.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.01309, allocations: 106.3 kB / 491.7 MB, free: 21.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01324, allocations: 0.5049 MB / 492.2 MB, free: 20.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.01341, allocations: 72.84 kB / 492.3 MB, free: 20.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.01353, allocations: 116.9 kB / 492.4 MB, free: 20.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.01377, allocations: 186.5 kB / 492.6 MB, free: 20.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01377, allocations: 0.7812 kB / 492.6 MB, free: 20.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003677/0.01414, allocations: 290.6 kB / 492.9 MB, free: 20.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.01416, allocations: 8.344 kB / 492.9 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.01417, allocations: 8.312 kB / 492.9 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01418, allocations: 6.906 kB / 492.9 MB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.01442, allocations: 87.92 kB / 493 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01443, allocations: 6.719 kB / 493 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.01457, allocations: 42.75 kB / 493 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.01459, allocations: 16.67 kB / 493.1 MB, free: 20.46 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.0001365/0.01473, allocations: 195.1 kB / 493.2 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.01479, allocations: 40.52 kB / 493.3 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.01518, allocations: 303.6 kB / 493.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.01519, allocations: 10 kB / 493.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.0152, allocations: 10.31 kB / 493.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.01521, allocations: 4.188 kB / 493.6 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.01548, allocations: 223.5 kB / 493.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.01548, allocations: 2.719 kB / 493.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.01565, allocations: 78.56 kB / 493.9 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.01566, allocations: 5 kB / 493.9 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.01568, allocations: 19.03 kB / 493.9 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.01569, allocations: 3.875 kB / 493.9 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.01569, allocations: 4.25 kB / 493.9 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.0162, allocations: 475.6 kB / 494.4 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.01634, allocations: 78.23 kB / 494.5 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.01638, allocations: 18.25 kB / 494.5 MB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.01649, allocations: 23.55 kB / 494.5 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.01657, allocations: 62.53 kB / 494.6 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.01659, allocations: 18.66 kB / 494.6 MB, free: 19.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.01666, allocations: 159.2 kB / 494.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01666, allocations: 0 / 494.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.01729, allocations: 230.3 kB / 495 MB, free: 19.36 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.000504/0.01779, allocations: 371.3 kB / 495.3 MB, free: 19.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.01816, allocations: 241.3 kB / 495.6 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.01816, allocations: 1.844 kB / 495.6 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.01833, allocations: 144.9 kB / 495.7 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.01853, allocations: 42.94 kB / 495.8 MB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.01944, allocations: 0.5538 MB / 496.3 MB, free: 18.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.219e-05/0.01951, allocations: 99.89 kB / 496.4 MB, free: 18.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.01965, allocations: 53.81 kB / 496.5 MB, free: 18.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.01979, allocations: 128.7 kB / 496.6 MB, free: 18.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.253e-06/0.01979, allocations: 0 / 496.6 MB, free: 18.49 MB / 426.7 MB Notification: Performance of Templates: time 0.01022/0.03002, allocations: 6.607 MB / 0.4914 GB, free: 17.66 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7459275908768177]