Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 180.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007987/0.0007986, allocations: 80.59 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.943e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6432, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.8261, allocations: 139.1 MB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.8263, allocations: 71.95 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03325/0.8596, allocations: 10.32 MB / 1.119 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8596, allocations: 0 / 1.119 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8596, allocations: 8 kB / 1.119 GB, free: 0.832 MB / 0.7136 GB 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.001371/0.861, allocations: 0.6183 MB / 1.12 GB, free: 176 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8611, allocations: 8.031 kB / 1.12 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.8612, allocations: 19.81 kB / 1.12 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.8614, allocations: 197.1 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.8614, allocations: 7.984 kB / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.8615, allocations: 16 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002477/0.8618, allocations: 83.95 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.8621, allocations: 220.6 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.8621, allocations: 0 / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.8621, allocations: 1.406 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8622, allocations: 4 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.8627, allocations: 360.1 kB / 1.121 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.8641, allocations: 479.7 kB / 1.121 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.8643, allocations: 150.3 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.8643, allocations: 4 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.8648, allocations: 296.7 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.965e-06/0.8648, allocations: 0 / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.002506/0.8673, allocations: 0.5333 MB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.8675, allocations: 346.1 kB / 1.122 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8676, allocations: 146.4 kB / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.8677, allocations: 37.69 kB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.8677, allocations: 97.58 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.8678, allocations: 106.5 kB / 1.123 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.8679, allocations: 0 / 1.123 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.868, allocations: 336.8 kB / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.8682, allocations: 97.11 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.8684, allocations: 139.9 kB / 1.123 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.8717, allocations: 0.5015 MB / 1.124 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8717, allocations: 4 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003517/0.8752, allocations: 0.7193 MB / 1.125 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8752, allocations: 5.406 kB / 1.125 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8753, allocations: 4 kB / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.8753, allocations: 4.188 kB / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.8756, allocations: 63.89 kB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.8756, allocations: 7.984 kB / 1.125 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.876, allocations: 47.67 kB / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.876, allocations: 19.98 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.8762, allocations: 134.8 kB / 1.125 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.8763, allocations: 27.67 kB / 1.125 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.877, allocations: 330.6 kB / 1.125 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.877, allocations: 8 kB / 1.125 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.877, allocations: 4 kB / 1.125 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.877, allocations: 7.984 kB / 1.125 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.8774, allocations: 297.7 kB / 1.125 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.8774, allocations: 0 / 1.125 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.8777, allocations: 79.59 kB / 1.126 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.8778, allocations: 4 kB / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.8778, allocations: 21.67 kB / 1.126 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.8778, allocations: 7.953 kB / 1.126 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8778, allocations: 8 kB / 1.126 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.8805, allocations: 0.8167 MB / 1.126 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.8807, allocations: 148.5 kB / 1.127 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.8808, allocations: 7.984 kB / 1.127 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.8811, allocations: 29.42 kB / 1.127 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.8812, allocations: 59.83 kB / 1.127 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.8812, allocations: 23.98 kB / 1.127 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001108/0.8814, allocations: 119.8 kB / 1.127 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/0.8814, allocations: 4 kB / 1.127 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007505/0.8821, allocations: 207.7 kB / 1.127 GB, free: 8.207 MB / 0.7292 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007721/0.8829, allocations: 321 kB / 1.127 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.8849, allocations: 2.982 MB / 1.13 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8849, allocations: 0 / 1.13 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.8852, allocations: 159.8 kB / 1.13 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.8854, allocations: 17.42 kB / 1.13 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.8862, allocations: 421.7 kB / 1.131 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.8866, allocations: 0.7728 MB / 1.131 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.8868, allocations: 47.72 kB / 1.132 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.8869, allocations: 47.41 kB / 1.132 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.887, allocations: 0 / 1.132 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.009557/0.8965, allocations: 4.82 MB / 1.136 GB, free: 14.54 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)