Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.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.614/1.614, 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.0009449/0.0009448, allocations: 180.4 kB / 384.6 MB, free: 10.86 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.346/1.346, allocations: 223.2 MB / 0.6626 GB, free: 4.188 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.0007163/0.0007164, allocations: 94.08 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 13.31 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6305, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.8058, allocations: 141.6 MB / 1.165 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.8061, allocations: 70.27 kB / 1.165 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009284/0.8154, allocations: 3.399 MB / 1.168 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8154, allocations: 1.469 kB / 1.168 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8154, allocations: 4 kB / 1.168 GB, free: 15.57 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005563/0.816, allocations: 470.2 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.816, allocations: 12.69 kB / 1.168 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.8161, allocations: 18.11 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.8162, allocations: 184.1 kB / 1.169 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.8163, allocations: 10.2 kB / 1.169 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.8163, allocations: 22.72 kB / 1.169 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.8166, allocations: 135.7 kB / 1.169 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8166, allocations: 2.203 kB / 1.169 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.8166, allocations: 6.75 kB / 1.169 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8167, allocations: 4 kB / 1.169 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.8168, allocations: 64.67 kB / 1.169 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.8178, allocations: 0.5483 MB / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.818, allocations: 162.4 kB / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.8181, allocations: 69.22 kB / 1.17 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.8181, allocations: 0 / 1.17 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.8185, allocations: 216.4 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.654e-06/0.8185, allocations: 0 / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0005404/0.8191, allocations: 317.7 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.8191, allocations: 86.42 kB / 1.17 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.8192, allocations: 132.2 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.8193, allocations: 38.78 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.8194, allocations: 102.5 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.8194, allocations: 52.23 kB / 1.171 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.8194, allocations: 8 kB / 1.171 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8195, allocations: 324 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.8197, allocations: 92.94 kB / 1.171 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.82, allocations: 164.5 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.8203, allocations: 249.2 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8203, allocations: 0 / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005732/0.8208, allocations: 368.8 kB / 1.172 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.8209, allocations: 71.23 kB / 1.172 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8209, allocations: 4 kB / 1.172 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.821, allocations: 0.6562 kB / 1.172 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.8211, allocations: 22.03 kB / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.8211, allocations: 17.19 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.8215, allocations: 90.98 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.8216, allocations: 14.91 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001429/0.8217, allocations: 147.3 kB / 1.172 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.8217, allocations: 13.41 kB / 1.172 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.8218, allocations: 17.16 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8218, allocations: 2.062 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.8218, allocations: 12.94 kB / 1.172 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8218, allocations: 1.312 kB / 1.172 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.8225, allocations: 0.618 MB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8225, allocations: 0 / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.8225, allocations: 12.86 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.8225, allocations: 4 kB / 1.173 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.8226, allocations: 12.2 kB / 1.173 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8226, allocations: 4 kB / 1.173 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8226, allocations: 0 / 1.173 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.823, allocations: 415.9 kB / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.823, allocations: 89.56 kB / 1.173 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.8231, allocations: 11 kB / 1.173 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.8232, allocations: 24.39 kB / 1.173 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.8233, allocations: 26.22 kB / 1.173 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.8233, allocations: 12.42 kB / 1.173 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.8234, allocations: 98.8 kB / 1.173 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8234, allocations: 0 / 1.173 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003487/0.8238, allocations: 62.84 kB / 1.173 GB, free: 10.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * 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.0001964/0.824, allocations: 133.8 kB / 1.174 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.8245, allocations: 360.5 kB / 1.174 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8245, allocations: 0 / 1.174 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.8247, allocations: 121.5 kB / 1.174 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.825, allocations: 31.67 kB / 1.174 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.8256, allocations: 294.5 kB / 1.174 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.8258, allocations: 0.7061 MB / 1.175 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.8259, allocations: 19.2 kB / 1.175 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.826, allocations: 20.75 kB / 1.175 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.826, allocations: 0 / 1.175 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of Templates: time 0.006588/0.8326, allocations: 2.527 MB / 1.178 GB, free: 6.645 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)