Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001103/0.001103, allocations: 178.9 kB / 371.6 MB, free: 3.41 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.532/1.532, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008321/0.0008321, allocations: 89.95 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.591e-05, allocations: 0 / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6565/0.8703, allocations: 139.5 MB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.8706, allocations: 72.89 kB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003198/0.8738, allocations: 1.177 MB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8739, allocations: 0 / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.8739, allocations: 7.938 kB / 1.117 GB, free: 43.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003707/0.8743, allocations: 379.6 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8743, allocations: 8.031 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.8743, allocations: 8.906 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.8745, allocations: 167.7 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.8745, allocations: 4.688 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.8745, allocations: 11.3 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.8746, allocations: 47.92 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8746, allocations: 0 / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.8747, allocations: 0 / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8747, allocations: 0 / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.8747, allocations: 22.5 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.8751, allocations: 272 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.8751, allocations: 43.86 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.8752, allocations: 22.2 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.8752, allocations: 7.281 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.8753, allocations: 100.3 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.8753, allocations: 0 / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002132/0.8756, allocations: 116 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.8756, allocations: 92.36 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.8757, allocations: 108.7 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.8757, allocations: 26.55 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.8758, allocations: 86.64 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.8758, allocations: 14.81 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-06/0.8758, allocations: 3.312 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.8758, allocations: 322.1 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.8759, allocations: 15.5 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.8759, allocations: 40.98 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.876, allocations: 46.36 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.876, allocations: 0 / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001323/0.8761, allocations: 124.3 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.8762, allocations: 34.95 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8762, allocations: 0 / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.8762, allocations: 0 / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.8762, allocations: 12 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8763, allocations: 5.672 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.8763, allocations: 11.31 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.8763, allocations: 4 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 6.568e-05/0.8764, allocations: 147.5 kB / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.8764, allocations: 4 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.8765, allocations: 11.5 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8765, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8765, allocations: 6.953 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8765, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.8768, allocations: 400 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8768, allocations: 3.422 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.8768, allocations: 4.938 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8769, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.8769, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8769, allocations: 4.75 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8769, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.8771, allocations: 235.5 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.8771, allocations: 84.53 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8771, allocations: 6.875 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.8772, allocations: 11.98 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.8773, allocations: 4 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.8773, allocations: 6.891 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.8773, allocations: 90.98 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8773, allocations: 0 / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002085/0.8776, allocations: 15.88 kB / 1.12 GB, free: 40.31 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 9.972e-05/0.8777, allocations: 107.1 kB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.8778, allocations: 112.6 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8778, allocations: 0 / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.8779, allocations: 90.27 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.8781, allocations: 18.83 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.8784, allocations: 99.94 kB / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.8785, allocations: 0.6879 MB / 1.121 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.8785, allocations: 4 kB / 1.121 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.8786, allocations: 10.81 kB / 1.121 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.8786, allocations: 0 / 1.121 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.002809/0.8814, allocations: 0.7329 MB / 1.122 GB, free: 38.78 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)