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.0006891/0.0006891, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008896/0.001579, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006725/0.0006725, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008649/0.001537, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.113, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6747/0.6747, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09575/0.7705, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 3.216e-06/3.216e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.464e-05, allocations: 2.312 kB / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.003306/0.00334, allocations: 0.8983 MB / 404.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.007569, allocations: 2.493 MB / 407.1 MB, free: 7.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.007724, allocations: 7.938 kB / 407.1 MB, free: 7.562 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.173e-05/0.007776, allocations: 11.81 kB / 407.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.007988, allocations: 43.56 kB / 407.1 MB, free: 7.508 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.009712, allocations: 478 kB / 407.6 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.01026, allocations: 315 kB / 407.9 MB, free: 6.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.01035, allocations: 22.45 kB / 407.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006492/0.011, allocations: 203.6 kB / 408.1 MB, free: 6.512 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.01141, allocations: 123.7 kB / 408.3 MB, free: 6.391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.01149, allocations: 24 kB / 408.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.01234, allocations: 419.5 kB / 408.7 MB, free: 5.957 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.0124, allocations: 51.86 kB / 408.7 MB, free: 5.906 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.01251, allocations: 63.88 kB / 408.8 MB, free: 5.844 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.01321, allocations: 0.4906 MB / 409.3 MB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.329e-05/0.01323, allocations: 4 kB / 409.3 MB, free: 5.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.01323, allocations: 0 / 409.3 MB, free: 5.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.01326, allocations: 0 / 409.3 MB, free: 5.348 MB / 394.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.001018/0.01427, allocations: 0.6568 MB / 410 MB, free: 4.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.01432, allocations: 8.031 kB / 410 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.015, allocations: 213.6 kB / 410.2 MB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.01514, allocations: 130.3 kB / 410.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.01531, allocations: 234.1 kB / 410.5 MB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.01534, allocations: 24.38 kB / 410.5 MB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.01558, allocations: 208.3 kB / 410.7 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01559, allocations: 192 / 410.7 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.01561, allocations: 8.125 kB / 410.8 MB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01562, allocations: 15.94 kB / 410.8 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.01572, allocations: 79.7 kB / 410.9 MB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.01597, allocations: 199.1 kB / 411 MB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.01669, allocations: 415.2 kB / 411.5 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.01681, allocations: 118.2 kB / 411.6 MB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.01685, allocations: 12 kB / 411.6 MB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.01716, allocations: 275.5 kB / 411.8 MB, free: 2.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/0.01716, allocations: 0 / 411.8 MB, free: 2.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003866/0.01755, allocations: 239 kB / 412.1 MB, free: 2.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.01771, allocations: 358.1 kB / 412.4 MB, free: 1.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.01783, allocations: 167.9 kB / 412.6 MB, free: 1.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.01787, allocations: 45.7 kB / 412.6 MB, free: 1.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.01792, allocations: 93.08 kB / 412.7 MB, free: 1.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.01801, allocations: 115 kB / 412.8 MB, free: 1.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.0181, allocations: 98.11 kB / 412.9 MB, free: 1.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.01825, allocations: 338.8 kB / 413.3 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.01837, allocations: 65.66 kB / 413.3 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.01847, allocations: 92.36 kB / 413.4 MB, free: 0.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.01866, allocations: 179.3 kB / 413.6 MB, free: 492 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01866, allocations: 4 kB / 413.6 MB, free: 488 kB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002633/0.01893, allocations: 210 kB / 413.8 MB, free: 272 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01894, allocations: 11.91 kB / 413.8 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01895, allocations: 0 / 413.8 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.01897, allocations: 7.984 kB / 413.8 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.01923, allocations: 103.8 kB / 413.9 MB, free: 148 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.01924, allocations: 3.938 kB / 413.9 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.01935, allocations: 51.75 kB / 414 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.01937, allocations: 15.98 kB / 414 MB, free: 76 kB / 394.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.0001366/0.01951, allocations: 145.7 kB / 414.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.01955, allocations: 31.97 kB / 414.2 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.01989, allocations: 258.3 kB / 414.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.0199, allocations: 8 kB / 414.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.0199, allocations: 4 kB / 414.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.01991, allocations: 11.92 kB / 414.4 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.02012, allocations: 186 kB / 414.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.02013, allocations: 8 kB / 414.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.02031, allocations: 83.84 kB / 414.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.0204, allocations: 59.69 kB / 414.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.02041, allocations: 8 kB / 414.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.02043, allocations: 12 kB / 414.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.02043, allocations: 8.234 kB / 414.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.02044, allocations: 8 kB / 414.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.02073, allocations: 329.5 kB / 415.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.02077, allocations: 23.88 kB / 415.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.02087, allocations: 31.98 kB / 415.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.02095, allocations: 48.05 kB / 415.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.02097, allocations: 23.98 kB / 415.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.02101, allocations: 36.81 kB / 415.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02101, allocations: 3.938 kB / 415.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.02143, allocations: 231.2 kB / 415.5 MB, free: 14.45 MB / 410.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.0004914/0.02192, allocations: 369.4 kB / 415.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.0222, allocations: 213.2 kB / 416.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.02221, allocations: 4 kB / 416.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.02237, allocations: 178.4 kB / 416.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.02256, allocations: 63.97 kB / 416.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.0252, allocations: 0.5312 MB / 416.9 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.02526, allocations: 97.81 kB / 417 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.02538, allocations: 55.45 kB / 417 MB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.02553, allocations: 107.3 kB / 417.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02553, allocations: 4 kB / 417.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of Templates: time 0.008389/0.03392, allocations: 6.502 MB / 423.6 MB, free: 6.246 MB / 410.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.6941985059529543]