Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.847/2.847, allocations: 287.5 MB / 303.2 MB, free: 8.188 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.001352/0.001352, allocations: 176.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.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.0008598, allocations: 85.73 kB / 0.7438 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006338/0.000634, allocations: 16.72 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2077, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9213/1.129, allocations: 138 MB / 1.114 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.129, allocations: 70.78 kB / 1.114 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/1.143, allocations: 2.961 MB / 1.117 GB, free: 31.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.435e-06/1.143, allocations: 0 / 1.117 GB, free: 31.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.143, allocations: 0 / 1.117 GB, free: 31.44 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005361/1.144, allocations: 416.1 kB / 1.117 GB, free: 31.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.144, allocations: 7.688 kB / 1.117 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/1.144, allocations: 12.56 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.144, allocations: 186.7 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/1.144, allocations: 4.312 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/1.144, allocations: 15.06 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.144, allocations: 54.95 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/1.144, allocations: 192 / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.144, allocations: 10.88 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.144, allocations: 0 / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/1.144, allocations: 11.34 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/1.145, allocations: 348.6 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/1.145, allocations: 43.69 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/1.145, allocations: 16.27 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.145, allocations: 3.688 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/1.145, allocations: 94.94 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/1.145, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003451/1.146, allocations: 121.7 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.146, allocations: 58.41 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.146, allocations: 129.6 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.146, allocations: 32.39 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/1.146, allocations: 86.28 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/1.146, allocations: 21.58 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/1.146, allocations: 3.844 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.146, allocations: 324.3 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/1.146, allocations: 55.67 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/1.147, allocations: 117 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/1.147, allocations: 185 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.147, allocations: 4 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000637/1.148, allocations: 275.5 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/1.148, allocations: 68.14 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.148, allocations: 3.875 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.148, allocations: 0 / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/1.148, allocations: 10.92 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/1.148, allocations: 3.812 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/1.148, allocations: 70.64 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/1.149, allocations: 17.89 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.00015/1.149, allocations: 132.3 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/1.149, allocations: 10.8 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/1.149, allocations: 8.375 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.149, allocations: 3.969 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.149, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/1.149, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/1.149, allocations: 370 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.149, allocations: 0 / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/1.149, allocations: 7.844 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.149, allocations: 0 / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.149, allocations: 0 / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.149, allocations: 0 / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.149, allocations: 3.141 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/1.15, allocations: 203.1 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/1.15, allocations: 84.86 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/1.15, allocations: 4 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/1.15, allocations: 96 / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/1.15, allocations: 14.41 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.15, allocations: 6.438 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.753e-05/1.15, allocations: 98.27 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.15, allocations: 0 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004053/1.15, allocations: 34.62 kB / 1.121 GB, free: 28.6 MB / 0.698 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001852/1.151, allocations: 118.8 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000512/1.151, allocations: 256.3 kB / 1.121 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.151, allocations: 0 / 1.121 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/1.151, allocations: 31.84 kB / 1.121 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/1.152, allocations: 13.73 kB / 1.121 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/1.152, allocations: 180.3 kB / 1.121 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/1.152, allocations: 0.6882 MB / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.042e-05/1.152, allocations: 7.422 kB / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/1.152, allocations: 22.25 kB / 1.122 GB, free: 27.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.152, allocations: 0 / 1.122 GB, free: 27.53 MB / 0.698 GB Notification: Performance of Templates: time 0.005591/1.158, allocations: 1.759 MB / 1.124 GB, free: 27.38 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)