Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.623/1.623, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 192.4 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 94.33 kB / 0.7808 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 14.81 kB / 0.9088 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6727, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.8374, allocations: 141.8 MB / 1.165 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.8376, allocations: 72.09 kB / 1.165 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002759/0.8404, allocations: 1.152 MB / 1.166 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8404, allocations: 0 / 1.166 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8404, allocations: 4 kB / 1.166 GB, free: 0.7695 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003262/0.8408, allocations: 354.5 kB / 1.166 GB, free: 396 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8408, allocations: 12.03 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.8408, allocations: 1.594 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.65e-05/0.8409, allocations: 171 kB / 1.167 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.841, allocations: 6.188 kB / 1.167 GB, free: 172 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.841, allocations: 8.375 kB / 1.167 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.8411, allocations: 58.03 kB / 1.167 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8411, allocations: 0.875 kB / 1.167 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.8411, allocations: 4.547 kB / 1.167 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8411, allocations: 4.906 kB / 1.167 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.8412, allocations: 24.27 kB / 1.167 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.8417, allocations: 305.7 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.8418, allocations: 60.08 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.8418, allocations: 23.62 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.8418, allocations: 0.625 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.842, allocations: 76.41 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.842, allocations: 0.7969 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002347/0.8423, allocations: 107.7 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.8423, allocations: 56.2 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.8424, allocations: 101 kB / 1.167 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.8424, allocations: 29.7 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.8425, allocations: 91.08 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.8425, allocations: 16.56 kB / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.8425, allocations: 0 / 1.167 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8427, allocations: 322.1 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.8427, allocations: 18.8 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.8428, allocations: 45.75 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.497e-05/0.8429, allocations: 69.39 kB / 1.168 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8429, allocations: 0.5312 kB / 1.168 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001331/0.843, allocations: 92.83 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.843, allocations: 6.625 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.843, allocations: 0 / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.8431, allocations: 4.656 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.8431, allocations: 19.66 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8432, allocations: 0.875 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.8432, allocations: 15.66 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.8432, allocations: 4.703 kB / 1.168 GB, free: 14.6 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: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.039e-05/0.8433, allocations: 119.9 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.8434, allocations: 13.06 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.8434, allocations: 11.56 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8434, allocations: 0.75 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8434, allocations: 1.875 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8434, allocations: 0.7969 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.8438, allocations: 364 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8438, allocations: 2.266 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.8439, allocations: 4.656 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.8439, allocations: 6.469 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.8439, allocations: 0.75 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.8439, allocations: 0 / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.8439, allocations: 4.938 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.8441, allocations: 183.1 kB / 1.169 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.8441, allocations: 78.78 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.8442, allocations: 5.172 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.8442, allocations: 9.438 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.8443, allocations: 16.84 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.8443, allocations: 6.672 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.8444, allocations: 76.45 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8444, allocations: 4.875 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002169/0.8446, allocations: 12.61 kB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001121/0.8447, allocations: 105 kB / 1.169 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.8448, allocations: 53.5 kB / 1.169 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8448, allocations: 0.5 kB / 1.169 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.8449, allocations: 23.28 kB / 1.169 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.8452, allocations: 16.55 kB / 1.169 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.8456, allocations: 182.8 kB / 1.169 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.8459, allocations: 0.6899 MB / 1.17 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.846, allocations: 6.703 kB / 1.17 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.846, allocations: 12.05 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.846, allocations: 4.094 kB / 1.17 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.002666/0.8487, allocations: 0.6582 MB / 1.171 GB, free: 12.2 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)