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.754/1.754, allocations: 289.7 MB / 302.3 MB, free: 2.094 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.001205/0.001206, allocations: 178.1 kB / 371.6 MB, free: 3.402 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.883/1.883, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008539/0.0008539, allocations: 91.8 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.268e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7966/1.092, allocations: 139.7 MB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.092, allocations: 76.17 kB / 1.116 GB, free: 44.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03008/1.123, allocations: 10.36 MB / 1.126 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.164e-06/1.123, allocations: 1.312 kB / 1.126 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.123, allocations: 4 kB / 1.126 GB, free: 38.23 MB / 0.7448 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.001193/1.124, allocations: 0.6109 MB / 1.127 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.124, allocations: 12.03 kB / 1.127 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/1.124, allocations: 22.53 kB / 1.127 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/1.124, allocations: 196.5 kB / 1.127 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.124, allocations: 125.3 kB / 1.127 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/1.124, allocations: 21.31 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/1.125, allocations: 234.4 kB / 1.128 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.125, allocations: 7.984 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/1.125, allocations: 6.266 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.125, allocations: 7.938 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/1.125, allocations: 108 kB / 1.128 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/1.125, allocations: 399.9 kB / 1.128 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/1.127, allocations: 487.2 kB / 1.129 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/1.127, allocations: 156.2 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/1.127, allocations: 11.5 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/1.127, allocations: 312.6 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/1.127, allocations: 0 / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0005592/1.128, allocations: 316 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/1.128, allocations: 357 kB / 1.13 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/1.128, allocations: 157.5 kB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.128, allocations: 36.83 kB / 1.13 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/1.128, allocations: 95.89 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/1.128, allocations: 116.7 kB / 1.13 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/1.128, allocations: 7.188 kB / 1.13 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/1.128, allocations: 336.6 kB / 1.13 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.128, allocations: 101.3 kB / 1.131 GB, free: 34.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/1.129, allocations: 154.9 kB / 1.131 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/1.129, allocations: 114.2 kB / 1.131 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.129, allocations: 0 / 1.131 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005258/1.129, allocations: 355.9 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.129, allocations: 4 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.129, allocations: 4 kB / 1.131 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.129, allocations: 0 / 1.131 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.13, allocations: 89.16 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.13, allocations: 4 kB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/1.13, allocations: 53.48 kB / 1.131 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/1.13, allocations: 18.73 kB / 1.131 GB, free: 33.78 MB / 0.7448 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): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * 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.0001095/1.13, allocations: 145 kB / 1.131 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/1.13, allocations: 30.53 kB / 1.131 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/1.131, allocations: 356.4 kB / 1.132 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.131, allocations: 12 kB / 1.132 GB, free: 33.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.131, allocations: 4.688 kB / 1.132 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/1.131, allocations: 4.031 kB / 1.132 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/1.131, allocations: 349.9 kB / 1.132 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.131, allocations: 3.953 kB / 1.132 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.131, allocations: 72.67 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/1.131, allocations: 8.812 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/1.131, allocations: 19.95 kB / 1.132 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/1.131, allocations: 11.94 kB / 1.132 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.131, allocations: 1.031 kB / 1.132 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/1.132, allocations: 0.6017 MB / 1.133 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/1.132, allocations: 153 kB / 1.133 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/1.132, allocations: 24.53 kB / 1.133 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.133, allocations: 32.38 kB / 1.133 GB, free: 32.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.133, allocations: 58.56 kB / 1.133 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/1.133, allocations: 19.38 kB / 1.133 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001329/1.133, allocations: 130.3 kB / 1.133 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.133, allocations: 0 / 1.133 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007188/1.134, allocations: 222.8 kB / 1.133 GB, free: 31.91 MB / 0.7448 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.0005139/1.134, allocations: 328 kB / 1.134 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004988/1.135, allocations: 310.2 kB / 1.134 GB, free: 31.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.135, allocations: 3.938 kB / 1.134 GB, free: 31.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/1.135, allocations: 185.3 kB / 1.134 GB, free: 31.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/1.135, allocations: 33.48 kB / 1.134 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/1.136, allocations: 442.9 kB / 1.135 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/1.136, allocations: 0.767 MB / 1.135 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002212/1.136, allocations: 55.75 kB / 1.135 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.136, allocations: 45.47 kB / 1.136 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.136, allocations: 1.125 kB / 1.136 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.007789/1.144, allocations: 4.828 MB / 1.14 GB, free: 27.3 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)