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 2.007/2.007, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001294/0.001294, allocations: 192.5 kB / 377.1 MB, free: 1.551 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.851/1.851, allocations: 205.4 MB / 0.6367 GB, free: 9.582 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.0009352/0.0009353, allocations: 84.36 kB / 0.751 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 8 kB / 0.8748 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2817, allocations: 116.3 MB / 0.9884 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7758/1.058, allocations: 139.8 MB / 1.125 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/1.058, allocations: 74.69 kB / 1.125 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03194/1.09, allocations: 10.4 MB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/1.09, allocations: 0 / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.09, allocations: 4.656 kB / 1.135 GB, free: 27.61 MB / 0.7292 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.00118/1.091, allocations: 0.6497 MB / 1.136 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.091, allocations: 12.72 kB / 1.136 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/1.091, allocations: 21.88 kB / 1.136 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/1.091, allocations: 181.9 kB / 1.136 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.092, allocations: 127.5 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/1.092, allocations: 25.94 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/1.092, allocations: 231.9 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.092, allocations: 4 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.092, allocations: 8.516 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.092, allocations: 5.719 kB / 1.136 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/1.092, allocations: 114 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/1.093, allocations: 397.5 kB / 1.137 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.094, allocations: 498.8 kB / 1.137 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/1.094, allocations: 13.7 kB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/1.095, allocations: 313.2 kB / 1.138 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/1.095, allocations: 0 / 1.138 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0008294/1.095, allocations: 411.3 kB / 1.138 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.096, allocations: 357.3 kB / 1.138 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.096, allocations: 153.5 kB / 1.139 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/1.096, allocations: 46.55 kB / 1.139 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/1.096, allocations: 90.73 kB / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/1.096, allocations: 107.7 kB / 1.139 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/1.096, allocations: 12 kB / 1.139 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/1.096, allocations: 329.7 kB / 1.139 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.096, allocations: 114.5 kB / 1.139 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/1.097, allocations: 168.3 kB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/1.097, allocations: 115 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.097, allocations: 7.953 kB / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007067/1.098, allocations: 372.8 kB / 1.14 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.098, allocations: 8 kB / 1.14 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.098, allocations: 4.516 kB / 1.14 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.098, allocations: 4 kB / 1.14 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/1.098, allocations: 79.62 kB / 1.14 GB, free: 22.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.098, allocations: 4.547 kB / 1.14 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.098, allocations: 55.19 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.098, allocations: 24.48 kB / 1.14 GB, free: 22.64 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.099, allocations: 149.9 kB / 1.14 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/1.099, allocations: 28.56 kB / 1.14 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/1.099, allocations: 368 kB / 1.141 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.099, allocations: 9.797 kB / 1.141 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.099, allocations: 8 kB / 1.141 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.099, allocations: 7.047 kB / 1.141 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/1.1, allocations: 347 kB / 1.141 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.1, allocations: 4.609 kB / 1.141 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/1.1, allocations: 72.98 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.1, allocations: 9.125 kB / 1.141 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/1.1, allocations: 22.84 kB / 1.141 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.1, allocations: 6.094 kB / 1.141 GB, free: 21.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.1, allocations: 4 kB / 1.141 GB, free: 21.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/1.101, allocations: 0.6087 MB / 1.142 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/1.101, allocations: 154.5 kB / 1.142 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/1.101, allocations: 22.25 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/1.101, allocations: 35.31 kB / 1.142 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.101, allocations: 51.92 kB / 1.142 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/1.101, allocations: 26.91 kB / 1.142 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001133/1.101, allocations: 127.8 kB / 1.142 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.101, allocations: 0 / 1.142 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007392/1.102, allocations: 224.4 kB / 1.142 GB, free: 20.41 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) * 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 (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.0005217/1.103, allocations: 322.2 kB / 1.142 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005576/1.103, allocations: 330.7 kB / 1.143 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.103, allocations: 0 / 1.143 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/1.104, allocations: 185.9 kB / 1.143 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.104, allocations: 28.77 kB / 1.143 GB, free: 19.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/1.105, allocations: 0.6392 MB / 1.144 GB, free: 19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/1.105, allocations: 0.7616 MB / 1.144 GB, free: 18.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000237/1.105, allocations: 60.11 kB / 1.144 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.105, allocations: 42.19 kB / 1.144 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/1.105, allocations: 0 / 1.144 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.01018/1.116, allocations: 4.81 MB / 1.149 GB, free: 15.42 MB / 0.7292 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)