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.001001/0.001001, 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.0009982/0.0009982, allocations: 169 kB / 24.05 MB, free: 452 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.001/1.001, 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.6108/0.6108, allocations: 115 MB / 376 MB, free: 7.523 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.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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 481.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.132e-05, allocations: 5.703 kB / 481.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001937/0.001959, allocations: 0.8506 MB / 482.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.005173, allocations: 2.451 MB / 485.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.005297, allocations: 3.938 kB / 485.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.005341, allocations: 11.81 kB / 485.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.005604, allocations: 55.08 kB / 485.3 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.007182, allocations: 0.5072 MB / 485.8 MB, free: 9.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.007531, allocations: 320 kB / 486.1 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.007577, allocations: 9 kB / 486.1 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.007916, allocations: 207.3 kB / 486.3 MB, free: 9.023 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.008075, allocations: 120.4 kB / 486.5 MB, free: 8.992 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.00812, allocations: 28.12 kB / 486.5 MB, free: 8.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005906/0.008711, allocations: 379.6 kB / 486.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.008769, allocations: 72.56 kB / 486.9 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.008861, allocations: 93.22 kB / 487 MB, free: 8.824 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.009592, allocations: 0.583 MB / 487.6 MB, free: 8.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.009595, allocations: 0 / 487.6 MB, free: 8.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.009595, allocations: 0 / 487.6 MB, free: 8.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.009601, allocations: 1.875 kB / 487.6 MB, free: 8.602 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.0008663/0.01047, allocations: 0.6998 MB / 488.3 MB, free: 8.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.01051, allocations: 9.781 kB / 488.3 MB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.01111, allocations: 124.1 kB / 488.4 MB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.0112, allocations: 138.1 kB / 488.6 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.01131, allocations: 232.9 kB / 488.8 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.01135, allocations: 24.25 kB / 488.8 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.01158, allocations: 231.1 kB / 489 MB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01159, allocations: 1.406 kB / 489 MB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01161, allocations: 17.86 kB / 489.1 MB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01162, allocations: 4.469 kB / 489.1 MB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.01173, allocations: 75.34 kB / 489.1 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.01204, allocations: 302.2 kB / 489.4 MB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.01278, allocations: 0.5321 MB / 490 MB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01289, allocations: 143.4 kB / 490.1 MB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.01292, allocations: 17.27 kB / 490.1 MB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.01317, allocations: 319.6 kB / 490.4 MB, free: 6.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.01317, allocations: 1.062 kB / 490.4 MB, free: 6.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004601/0.01363, allocations: 324.7 kB / 490.8 MB, free: 6.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.01371, allocations: 354.5 kB / 491.1 MB, free: 5.715 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.01381, allocations: 223.1 kB / 491.3 MB, free: 5.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.01384, allocations: 39.55 kB / 491.4 MB, free: 5.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.01388, allocations: 151 kB / 491.5 MB, free: 5.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.01395, allocations: 116.8 kB / 491.6 MB, free: 5.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.01404, allocations: 106.5 kB / 491.7 MB, free: 5.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.01425, allocations: 0.503 MB / 492.2 MB, free: 20.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.01438, allocations: 72.55 kB / 492.3 MB, free: 20.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.0145, allocations: 122.8 kB / 492.4 MB, free: 20.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.01473, allocations: 188.2 kB / 492.6 MB, free: 20.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01473, allocations: 5.219 kB / 492.6 MB, free: 20.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003994/0.01513, allocations: 286.7 kB / 492.9 MB, free: 20.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01515, allocations: 6.094 kB / 492.9 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01515, allocations: 1.281 kB / 492.9 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01517, allocations: 2.375 kB / 492.9 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.0154, allocations: 93.92 kB / 493 MB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.01541, allocations: 6.5 kB / 493 MB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01553, allocations: 47.06 kB / 493 MB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.01555, allocations: 13.27 kB / 493 MB, free: 20.38 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.0001185/0.01567, allocations: 191.8 kB / 493.2 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.01573, allocations: 45.38 kB / 493.3 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.0161, allocations: 307.5 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.01611, allocations: 9.219 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01611, allocations: 9.844 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.01612, allocations: 3.75 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.01633, allocations: 223.2 kB / 493.8 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.01633, allocations: 2.219 kB / 493.8 MB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.01649, allocations: 72.69 kB / 493.9 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.0165, allocations: 5.438 kB / 493.9 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.01652, allocations: 18.16 kB / 493.9 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.01652, allocations: 14.66 kB / 493.9 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.01653, allocations: 3.188 kB / 493.9 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.01694, allocations: 472.1 kB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.01704, allocations: 72.66 kB / 494.5 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.01707, allocations: 23.77 kB / 494.5 MB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01717, allocations: 25.05 kB / 494.5 MB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.01725, allocations: 56.02 kB / 494.6 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01727, allocations: 20.23 kB / 494.6 MB, free: 19.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.01734, allocations: 161.8 kB / 494.7 MB, free: 19.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01734, allocations: 1.188 kB / 494.7 MB, free: 19.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.01785, allocations: 232.4 kB / 495 MB, free: 19.28 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.0004237/0.01827, allocations: 367.2 kB / 495.3 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.01857, allocations: 241.4 kB / 495.6 MB, free: 19.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01858, allocations: 0 / 495.6 MB, free: 19.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.01874, allocations: 150.3 kB / 495.7 MB, free: 19.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01893, allocations: 39.67 kB / 495.8 MB, free: 18.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.01973, allocations: 0.5566 MB / 496.3 MB, free: 18.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.0198, allocations: 95.41 kB / 496.4 MB, free: 18.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.01993, allocations: 56.94 kB / 496.5 MB, free: 18.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.02007, allocations: 127.4 kB / 496.6 MB, free: 18.41 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02007, allocations: 1.188 kB / 496.6 MB, free: 18.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01093/0.031, allocations: 6.583 MB / 0.4914 GB, free: 17.6 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6577154928818345]