Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001278/0.001279, allocations: 184.9 kB / 366.7 MB, free: 1.645 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.795/1.795, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008845/0.000885, allocations: 91.89 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.653e-05, allocations: 11.98 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6458, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.8246, allocations: 138.8 MB / 1.109 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.8249, allocations: 73.39 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.8366, allocations: 3.964 MB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8366, allocations: 3.938 kB / 1.113 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.8366, allocations: 0 / 1.113 GB, free: 7.379 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007985/0.8374, allocations: 0.531 MB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8375, allocations: 8.031 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.8376, allocations: 35.8 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.8377, allocations: 178.9 kB / 1.114 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.8378, allocations: 11.98 kB / 1.114 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.8379, allocations: 31.98 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002223/0.8381, allocations: 104.5 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.8384, allocations: 240.8 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8385, allocations: 0 / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.8385, allocations: 7.984 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8385, allocations: 0 / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.8394, allocations: 0.5521 MB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.8398, allocations: 387.4 kB / 1.115 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.8401, allocations: 189.3 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.8401, allocations: 4 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.8406, allocations: 349.2 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 2.063e-06/0.8406, allocations: 0 / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0007285/0.8414, allocations: 486 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.8414, allocations: 67.39 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.8416, allocations: 122.9 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.8416, allocations: 45.69 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.8417, allocations: 101.4 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.8418, allocations: 102.7 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.8419, allocations: 4 kB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.842, allocations: 338.8 kB / 1.117 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.8422, allocations: 125.3 kB / 1.117 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.8425, allocations: 268.2 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.843, allocations: 161.1 kB / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.843, allocations: 0 / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008923/0.8439, allocations: 483.4 kB / 1.118 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.844, allocations: 67.39 kB / 1.118 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.844, allocations: 7.938 kB / 1.118 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.844, allocations: 8 kB / 1.118 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.8442, allocations: 43.86 kB / 1.118 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.8442, allocations: 8 kB / 1.118 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.8446, allocations: 99.97 kB / 1.118 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.8447, allocations: 31.98 kB / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001417/0.8449, allocations: 155.3 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.8449, allocations: 27.81 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.845, allocations: 18.19 kB / 1.118 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.845, allocations: 7.984 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.845, allocations: 0 / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.845, allocations: 6.688 kB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.8463, allocations: 0.9646 MB / 1.119 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8463, allocations: 0 / 1.119 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.8464, allocations: 15.92 kB / 1.119 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.8464, allocations: 4 kB / 1.119 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.8465, allocations: 27.86 kB / 1.119 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8465, allocations: 0 / 1.119 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8465, allocations: 4.062 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.8472, allocations: 0.6131 MB / 1.12 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.8473, allocations: 103.4 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.8473, allocations: 19.97 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.8475, allocations: 31.97 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.8476, allocations: 43.92 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.8477, allocations: 35.97 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.8478, allocations: 99.2 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8478, allocations: 0 / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004141/0.8482, allocations: 91.98 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002456/0.8484, allocations: 146.3 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006914/0.8491, allocations: 0.5023 MB / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8492, allocations: 1.125 kB / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.8495, allocations: 279.8 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.8498, allocations: 33.3 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.8504, allocations: 338 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.8507, allocations: 0.7464 MB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.383e-05/0.8508, allocations: 31.28 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.8509, allocations: 27.42 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.8509, allocations: 0 / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.006973/0.8579, allocations: 3.656 MB / 1.126 GB, free: 9.844 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)