Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001318/0.001318, allocations: 185 kB / 377.1 MB, free: 1.527 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.711/1.711, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.00086/0.0008602, allocations: 97.09 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3129, allocations: 116.3 MB / 0.9884 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8327/1.146, allocations: 139.3 MB / 1.124 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.146, allocations: 71.3 kB / 1.125 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009408/1.155, allocations: 3.376 MB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/1.156, allocations: 0 / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.156, allocations: 4 kB / 1.128 GB, free: 32.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005906/1.156, allocations: 474.5 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.156, allocations: 16.02 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/1.156, allocations: 18.47 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/1.156, allocations: 174.9 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/1.156, allocations: 15.41 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/1.156, allocations: 20 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.157, allocations: 133.7 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.157, allocations: 1.5 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/1.157, allocations: 7.375 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.157, allocations: 5.5 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/1.157, allocations: 66.34 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/1.158, allocations: 0.5443 MB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/1.158, allocations: 165 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/1.158, allocations: 0 / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/1.158, allocations: 215.1 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/1.158, allocations: 0 / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.000592/1.159, allocations: 314.8 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/1.159, allocations: 93.19 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.159, allocations: 125.2 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/1.159, allocations: 38.64 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/1.159, allocations: 99.98 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/1.159, allocations: 46.73 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/1.159, allocations: 8 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.16, allocations: 330.1 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.16, allocations: 94.16 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/1.16, allocations: 166.9 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/1.16, allocations: 143.8 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.16, allocations: 0 / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005845/1.161, allocations: 375.1 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/1.161, allocations: 70.97 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.161, allocations: 2.266 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.161, allocations: 4 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.161, allocations: 19.94 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.161, allocations: 7.953 kB / 1.131 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/1.161, allocations: 93.33 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/1.161, allocations: 15.47 kB / 1.132 GB, free: 29.23 MB / 0.7292 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.000165/1.162, allocations: 151.3 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/1.162, allocations: 11.91 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/1.162, allocations: 12.5 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.162, allocations: 7.938 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.162, allocations: 0.9375 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.162, allocations: 6.578 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/1.162, allocations: 0.6217 MB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/1.162, allocations: 4 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/1.162, allocations: 7.516 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.162, allocations: 4 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.162, allocations: 7.812 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.163, allocations: 4 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.163, allocations: 0 / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/1.163, allocations: 443.4 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/1.163, allocations: 85.02 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/1.163, allocations: 12.03 kB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/1.163, allocations: 11.42 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/1.163, allocations: 34.12 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/1.163, allocations: 16.05 kB / 1.133 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.782e-05/1.163, allocations: 101.7 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.163, allocations: 0.8438 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000382/1.164, allocations: 63.27 kB / 1.133 GB, free: 27.68 MB / 0.7292 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.0002482/1.164, allocations: 123.2 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005027/1.165, allocations: 361.4 kB / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.165, allocations: 0 / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.165, allocations: 119.4 kB / 1.134 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/1.165, allocations: 20.91 kB / 1.134 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/1.165, allocations: 297.3 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/1.166, allocations: 0.711 MB / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.716e-05/1.166, allocations: 17 kB / 1.135 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/1.166, allocations: 15.44 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.166, allocations: 0 / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.005524/1.171, allocations: 2.477 MB / 1.137 GB, free: 24.69 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)