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.0009155/0.0009155, allocations: 73.88 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.0009647/0.0009647, 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.6283/0.6283, allocations: 115 MB / 376 MB, free: 7.504 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 2.696e-06/2.696e-06, allocations: 0 / 481.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.99e-05, allocations: 6.031 kB / 481.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002308/0.002338, allocations: 0.8547 MB / 482.8 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.005687, allocations: 2.454 MB / 485.2 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005829, allocations: 1.594 kB / 485.2 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.943e-05/0.005878, allocations: 12.84 kB / 485.3 MB, free: 9.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.006157, allocations: 54.72 kB / 485.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.007838, allocations: 0.5079 MB / 485.8 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.008265, allocations: 320.2 kB / 486.1 MB, free: 9.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.008319, allocations: 11.66 kB / 486.1 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.008747, allocations: 206.8 kB / 486.3 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.008968, allocations: 126.4 kB / 486.5 MB, free: 9.098 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.00903, allocations: 22.81 kB / 486.5 MB, free: 9.098 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.009844, allocations: 378 kB / 486.9 MB, free: 9.016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.009904, allocations: 67.88 kB / 486.9 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.01, allocations: 96.17 kB / 487 MB, free: 8.938 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.01098, allocations: 0.5871 MB / 487.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01099, allocations: 0 / 487.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01099, allocations: 0 / 487.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.011, allocations: 1.219 kB / 487.6 MB, free: 8.711 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.001158/0.01216, allocations: 0.6974 MB / 488.3 MB, free: 8.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.0122, allocations: 9.719 kB / 488.3 MB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.01292, allocations: 122 kB / 488.4 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.01301, allocations: 138.8 kB / 488.6 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.01312, allocations: 231.6 kB / 488.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.01315, allocations: 26.05 kB / 488.8 MB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.01335, allocations: 236.2 kB / 489.1 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.01336, allocations: 192 / 489.1 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.01337, allocations: 15.34 kB / 489.1 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.01338, allocations: 8.031 kB / 489.1 MB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.542e-05/0.01347, allocations: 75.75 kB / 489.1 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.01372, allocations: 299.7 kB / 489.4 MB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.01444, allocations: 0.5302 MB / 490 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.01454, allocations: 142.5 kB / 490.1 MB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.01457, allocations: 20.33 kB / 490.1 MB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.0148, allocations: 314.4 kB / 490.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.01481, allocations: 3.219 kB / 490.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004432/0.01525, allocations: 325 kB / 490.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.01532, allocations: 355.1 kB / 491.1 MB, free: 5.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01552, allocations: 218.1 kB / 491.3 MB, free: 21.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.01555, allocations: 41.67 kB / 491.4 MB, free: 21.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.01559, allocations: 148.3 kB / 491.5 MB, free: 21.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.01565, allocations: 120 kB / 491.6 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.01574, allocations: 101.4 kB / 491.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01584, allocations: 0.5053 MB / 492.2 MB, free: 20.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.01595, allocations: 71.92 kB / 492.3 MB, free: 20.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.01607, allocations: 119.6 kB / 492.4 MB, free: 20.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.01628, allocations: 184.6 kB / 492.6 MB, free: 20.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01628, allocations: 1.906 kB / 492.6 MB, free: 20.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003425/0.01662, allocations: 292.5 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01664, allocations: 5.844 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01665, allocations: 1.469 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01666, allocations: 3.719 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.01687, allocations: 91.2 kB / 493 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01688, allocations: 9.922 kB / 493 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.017, allocations: 47.38 kB / 493 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.01702, allocations: 12.92 kB / 493 MB, free: 20.5 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.0001026/0.01712, allocations: 198.7 kB / 493.2 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.01717, allocations: 44.7 kB / 493.3 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.0175, allocations: 307.3 kB / 493.6 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.0175, allocations: 9.969 kB / 493.6 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01751, allocations: 8.156 kB / 493.6 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.01752, allocations: 7.109 kB / 493.6 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01771, allocations: 218.4 kB / 493.8 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.01772, allocations: 4.531 kB / 493.8 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.01786, allocations: 72.27 kB / 493.9 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01786, allocations: 5.125 kB / 493.9 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.01788, allocations: 23.61 kB / 493.9 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01789, allocations: 6.031 kB / 493.9 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01789, allocations: 2.594 kB / 493.9 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.01828, allocations: 481.4 kB / 494.4 MB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/0.01837, allocations: 68.83 kB / 494.5 MB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.0184, allocations: 22 kB / 494.5 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01851, allocations: 28.62 kB / 494.5 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.01857, allocations: 53.45 kB / 494.6 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.0186, allocations: 19.39 kB / 494.6 MB, free: 19.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.01865, allocations: 161.4 kB / 494.8 MB, free: 19.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01865, allocations: 5.062 kB / 494.8 MB, free: 19.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000518/0.01917, allocations: 232.7 kB / 495 MB, free: 19.38 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.0004114/0.01958, allocations: 363.1 kB / 495.3 MB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01988, allocations: 240 kB / 495.6 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01988, allocations: 0.5312 kB / 495.6 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.02003, allocations: 150.6 kB / 495.7 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.02022, allocations: 38.8 kB / 495.8 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.02102, allocations: 0.5601 MB / 496.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.02107, allocations: 94.89 kB / 496.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.0212, allocations: 56.61 kB / 496.5 MB, free: 18.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.02134, allocations: 130.4 kB / 496.6 MB, free: 18.52 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02134, allocations: 0 / 496.6 MB, free: 18.52 MB / 426.7 MB Notification: Performance of Templates: time 0.009911/0.03125, allocations: 6.6 MB / 0.4914 GB, free: 17.68 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.6779670459218323]