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.635/1.635, allocations: 289.7 MB / 302.3 MB, free: 2.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.001121/0.001121, allocations: 180.7 kB / 371.6 MB, free: 3.383 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.838/1.838, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009187/0.0009193, allocations: 89.42 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.617e-05/4.62e-05, allocations: 12 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2809, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8356/1.117, allocations: 139.3 MB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.117, allocations: 70.17 kB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008753/1.126, allocations: 3.362 MB / 1.119 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/1.126, allocations: 0 / 1.119 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.126, allocations: 4 kB / 1.119 GB, free: 42.55 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.0004602/1.126, allocations: 455.3 kB / 1.12 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.126, allocations: 8.031 kB / 1.12 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/1.126, allocations: 18.25 kB / 1.12 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/1.126, allocations: 174.9 kB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/1.126, allocations: 15.34 kB / 1.12 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/1.126, allocations: 26.67 kB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/1.127, allocations: 123.9 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.127, allocations: 0.5 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/1.127, allocations: 15.16 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.127, allocations: 0 / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/1.127, allocations: 62.66 kB / 1.12 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/1.128, allocations: 0.549 MB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/1.128, allocations: 158.7 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/1.128, allocations: 68.03 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/1.128, allocations: 4.938 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/1.128, allocations: 213.9 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/1.128, allocations: 0 / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0003642/1.129, allocations: 242.9 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.129, allocations: 88.25 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/1.129, allocations: 114.1 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/1.129, allocations: 41.2 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/1.129, allocations: 107.7 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/1.129, allocations: 50.44 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.129, allocations: 8.719 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/1.129, allocations: 321.9 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.129, allocations: 94.41 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/1.129, allocations: 157.6 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.129, allocations: 144.8 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.129, allocations: 4 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000457/1.13, allocations: 363.1 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/1.13, allocations: 66.58 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.13, allocations: 4.562 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.13, allocations: 8.297 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/1.13, allocations: 23.88 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.13, allocations: 0 / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/1.13, allocations: 96.89 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/1.13, allocations: 15.52 kB / 1.123 GB, free: 39.25 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 () * 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 8.488e-05/1.13, allocations: 140.4 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/1.131, allocations: 15.91 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/1.131, allocations: 17.22 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.131, allocations: 4 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.131, allocations: 0 / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.131, allocations: 3.328 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/1.131, allocations: 0.6139 MB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.131, allocations: 4.5 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/1.131, allocations: 7.328 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/1.131, allocations: 4.656 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/1.131, allocations: 12.75 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.131, allocations: 4 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.131, allocations: 3.938 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/1.131, allocations: 428 kB / 1.124 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/1.131, allocations: 85.67 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/1.132, allocations: 11.86 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/1.132, allocations: 19.42 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/1.132, allocations: 26.14 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/1.132, allocations: 16.16 kB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.296e-05/1.132, allocations: 96.78 kB / 1.124 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.132, allocations: 0 / 1.124 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003119/1.132, allocations: 63.77 kB / 1.124 GB, free: 37.89 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) * 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.0001708/1.132, allocations: 126 kB / 1.125 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003909/1.133, allocations: 353.1 kB / 1.125 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.133, allocations: 0 / 1.125 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.133, allocations: 120 kB / 1.125 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/1.133, allocations: 19.44 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/1.133, allocations: 206.2 kB / 1.125 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/1.134, allocations: 0.7104 MB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.05e-05/1.134, allocations: 13.95 kB / 1.126 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/1.134, allocations: 22.81 kB / 1.126 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.134, allocations: 4.656 kB / 1.126 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of Templates: time 0.004535/1.138, allocations: 2.478 MB / 1.128 GB, free: 35.12 MB / 0.7448 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)