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.001476/0.001476, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001938/0.001938, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.081/1.081, allocations: 177.1 MB / 204.2 MB, free: 5.582 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.71/0.71, allocations: 115 MB / 375.7 MB, free: 7.633 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.507e-06/3.507e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.649e-05, allocations: 6.422 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002033/0.002069, allocations: 0.867 MB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.004952, allocations: 2.498 MB / 484.8 MB, free: 9.758 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.005073, allocations: 6.312 kB / 484.8 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.861e-05/0.005131, allocations: 14.86 kB / 484.9 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.00543, allocations: 41.7 kB / 484.9 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.006687, allocations: 0.5074 MB / 485.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.007054, allocations: 325 kB / 485.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.007123, allocations: 7.75 kB / 485.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.007531, allocations: 200.2 kB / 485.9 MB, free: 9.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.007723, allocations: 127.7 kB / 486.1 MB, free: 9.215 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.007787, allocations: 23.62 kB / 486.1 MB, free: 9.215 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.008497, allocations: 384.3 kB / 486.4 MB, free: 9.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.008559, allocations: 73.69 kB / 486.5 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.008667, allocations: 90.58 kB / 486.6 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008154/0.009482, allocations: 0.5834 MB / 487.2 MB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.009488, allocations: 0.5312 kB / 487.2 MB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.00949, allocations: 1.875 kB / 487.2 MB, free: 8.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.009501, allocations: 0 / 487.2 MB, free: 8.824 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.001077/0.01058, allocations: 0.6995 MB / 487.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.01063, allocations: 10.03 kB / 487.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.01133, allocations: 123.4 kB / 488 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.01146, allocations: 141.7 kB / 488.2 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.01159, allocations: 230.9 kB / 488.4 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.01164, allocations: 18.41 kB / 488.4 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.01193, allocations: 248.1 kB / 488.6 MB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01194, allocations: 2.625 kB / 488.7 MB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.01196, allocations: 10.41 kB / 488.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.01197, allocations: 3.875 kB / 488.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.01214, allocations: 90.19 kB / 488.8 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.01246, allocations: 320.3 kB / 489.1 MB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.01338, allocations: 0.5372 MB / 489.6 MB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.01353, allocations: 159.7 kB / 489.8 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.01358, allocations: 17.25 kB / 489.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/0.01395, allocations: 326.2 kB / 490.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 5.511e-06/0.01395, allocations: 0.8125 kB / 490.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006579/0.01461, allocations: 362 kB / 490.4 MB, free: 6.289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.0147, allocations: 350.4 kB / 490.8 MB, free: 5.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.01484, allocations: 218.8 kB / 491 MB, free: 5.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.01488, allocations: 40.27 kB / 491 MB, free: 5.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.01492, allocations: 146.9 kB / 491.2 MB, free: 5.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/0.01501, allocations: 115.8 kB / 491.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.01514, allocations: 100.7 kB / 491.4 MB, free: 5.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002956/0.01544, allocations: 0.5054 MB / 491.9 MB, free: 20.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.01564, allocations: 92.34 kB / 492 MB, free: 20.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01581, allocations: 132.1 kB / 492.1 MB, free: 20.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.01613, allocations: 216.5 kB / 492.3 MB, free: 20.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01613, allocations: 4 kB / 492.3 MB, free: 20.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004736/0.0166, allocations: 314.3 kB / 492.6 MB, free: 20.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.01663, allocations: 6.281 kB / 492.7 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.01664, allocations: 1.125 kB / 492.7 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.01666, allocations: 7.875 kB / 492.7 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.01694, allocations: 91.77 kB / 492.8 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.01695, allocations: 5.062 kB / 492.8 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.0171, allocations: 45.41 kB / 492.8 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.01713, allocations: 19.91 kB / 492.8 MB, free: 20.52 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.0001592/0.01729, allocations: 191.5 kB / 493 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.01736, allocations: 41.05 kB / 493 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.0179, allocations: 328 kB / 493.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.01791, allocations: 16.28 kB / 493.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.01792, allocations: 3.375 kB / 493.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.01793, allocations: 6.172 kB / 493.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.01821, allocations: 248.1 kB / 493.6 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.01822, allocations: 5.672 kB / 493.6 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.01841, allocations: 65.31 kB / 493.7 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.01841, allocations: 6.156 kB / 493.7 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.01844, allocations: 19.41 kB / 493.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.01845, allocations: 8.906 kB / 493.7 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.01846, allocations: 10.97 kB / 493.7 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.01907, allocations: 499.1 kB / 494.2 MB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.01922, allocations: 73.75 kB / 494.3 MB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.01926, allocations: 22.48 kB / 494.3 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01939, allocations: 27.91 kB / 494.4 MB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.01949, allocations: 55.7 kB / 494.4 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.01952, allocations: 23.3 kB / 494.4 MB, free: 19.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01962, allocations: 163.4 kB / 494.6 MB, free: 19.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01962, allocations: 2.25 kB / 494.6 MB, free: 19.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006907/0.02031, allocations: 231.4 kB / 494.8 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.000569/0.02088, allocations: 362.1 kB / 495.2 MB, free: 19.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.02136, allocations: 269.1 kB / 495.4 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.02137, allocations: 5.094 kB / 495.4 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.02158, allocations: 159.7 kB / 495.6 MB, free: 19.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.02181, allocations: 43.91 kB / 495.6 MB, free: 19.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02295, allocations: 0.5656 MB / 496.2 MB, free: 18.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.02303, allocations: 100.3 kB / 496.3 MB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.02318, allocations: 54.75 kB / 496.4 MB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.02329, allocations: 54.55 kB / 496.4 MB, free: 18.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0233, allocations: 0 / 496.4 MB, free: 18.54 MB / 426.7 MB Notification: Performance of Templates: time 0.01082/0.03411, allocations: 5.875 MB / 0.4905 GB, free: 17.88 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: 4.193080786149949]