Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.67/1.67, allocations: 297.8 MB / 313.7 MB, free: 140 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.00102/0.00102, allocations: 168.5 kB / 384.6 MB, free: 10.87 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.505/1.505, allocations: 223.2 MB / 0.6626 GB, free: 4.352 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.0008555/0.0008557, allocations: 96.39 kB / 0.7808 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005494/0.0005496, allocations: 12 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7264, allocations: 120.3 MB / 1.026 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.9281, allocations: 142.8 MB / 1.166 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.9284, allocations: 83.94 kB / 1.166 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01567/0.9441, allocations: 5.485 MB / 1.171 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9442, allocations: 0 / 1.171 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.9442, allocations: 4 kB / 1.171 GB, free: 9.93 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009121/0.9451, allocations: 0.5721 MB / 1.172 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.9452, allocations: 8.031 kB / 1.172 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.9454, allocations: 40.58 kB / 1.172 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.9458, allocations: 260.6 kB / 1.172 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.9459, allocations: 24.69 kB / 1.172 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.946, allocations: 36.36 kB / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.9463, allocations: 176.8 kB / 1.172 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.9463, allocations: 192 / 1.172 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.9464, allocations: 15.92 kB / 1.172 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.9464, allocations: 8 kB / 1.172 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.9466, allocations: 112.5 kB / 1.172 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.9478, allocations: 0.6298 MB / 1.173 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.9481, allocations: 194.5 kB / 1.173 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.9483, allocations: 90.03 kB / 1.173 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.9483, allocations: 7.938 kB / 1.173 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.9488, allocations: 273.4 kB / 1.174 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.9488, allocations: 0 / 1.174 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0007795/0.9496, allocations: 416.8 kB / 1.174 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.9497, allocations: 71.38 kB / 1.174 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.9499, allocations: 191 kB / 1.174 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.95, allocations: 41.7 kB / 1.174 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.9501, allocations: 144.8 kB / 1.174 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.9502, allocations: 82.91 kB / 1.174 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.9502, allocations: 19.98 kB / 1.174 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9504, allocations: 338.8 kB / 1.175 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.9507, allocations: 153 kB / 1.175 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.9512, allocations: 283.2 kB / 1.175 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.9517, allocations: 429.8 kB / 1.176 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.9518, allocations: 0 / 1.176 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001054/0.9528, allocations: 0.5961 MB / 1.176 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/0.9529, allocations: 105.1 kB / 1.176 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9529, allocations: 384 / 1.176 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.953, allocations: 12 kB / 1.176 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.9531, allocations: 43.86 kB / 1.176 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.9532, allocations: 4 kB / 1.176 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.9537, allocations: 131.7 kB / 1.176 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.9538, allocations: 39.97 kB / 1.177 GB, free: 4.062 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.000221/0.954, allocations: 176.4 kB / 1.177 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.9541, allocations: 31.64 kB / 1.177 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.9542, allocations: 22.66 kB / 1.177 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.9542, allocations: 4 kB / 1.177 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.9542, allocations: 0 / 1.177 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.9542, allocations: 3.984 kB / 1.177 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.9552, allocations: 0.7294 MB / 1.177 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9552, allocations: 3.938 kB / 1.177 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.9553, allocations: 15.94 kB / 1.177 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.9553, allocations: 4 kB / 1.177 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.9553, allocations: 17.8 kB / 1.178 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9553, allocations: 0 / 1.178 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9553, allocations: 0 / 1.178 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.9559, allocations: 438.6 kB / 1.178 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.956, allocations: 96.77 kB / 1.178 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.956, allocations: 19.92 kB / 1.178 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.9561, allocations: 11.98 kB / 1.178 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.9562, allocations: 19.97 kB / 1.178 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.9562, allocations: 23.98 kB / 1.178 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001129/0.9564, allocations: 135.2 kB / 1.178 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9564, allocations: 0 / 1.178 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000425/0.9568, allocations: 99.98 kB / 1.178 GB, free: 2.137 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: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002057/0.957, allocations: 133.4 kB / 1.178 GB, free: 2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.9578, allocations: 0.553 MB / 1.179 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9578, allocations: 0.75 kB / 1.179 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.958, allocations: 147.6 kB / 1.179 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.9584, allocations: 43.95 kB / 1.179 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.9592, allocations: 473.2 kB / 1.18 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.9596, allocations: 0.7451 MB / 1.18 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.9598, allocations: 30.92 kB / 1.18 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.9598, allocations: 23.44 kB / 1.18 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of SimCode: time 1.793e-06/0.9598, allocations: 0 / 1.18 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.008169/0.968, allocations: 3.643 MB / 1.184 GB, free: 12.33 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)