Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.00112/0.001121, allocations: 187.3 kB / 372.9 MB, free: 10.15 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.741/1.741, allocations: 205.4 MB / 0.6316 GB, free: 9.809 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.0007524/0.0007525, allocations: 94.3 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004054, allocations: 12.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2596, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.000833/0.2605, allocations: 398 kB / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2618, allocations: 1.185 MB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.2619, allocations: 4 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.2619, allocations: 0 / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.262, allocations: 11.86 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.2626, allocations: 191.1 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2627, allocations: 147.6 kB / 0.9826 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2628, allocations: 11.98 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.2629, allocations: 59.89 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.263, allocations: 51.86 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.2631, allocations: 8 kB / 0.9828 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.2631, allocations: 27.92 kB / 0.9828 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2632, allocations: 4 kB / 0.9828 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.2633, allocations: 81.52 kB / 0.9829 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2634, allocations: 108 kB / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2634, allocations: 0 / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2634, allocations: 0 / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2634, allocations: 4 kB / 0.983 GB, free: 25.04 MB / 0.6198 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.0004227/0.2639, allocations: 410.7 kB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2639, allocations: 8.031 kB / 0.9834 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.264, allocations: 8.938 kB / 0.9834 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.2641, allocations: 168.3 kB / 0.9835 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2641, allocations: 8.375 kB / 0.9835 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.2641, allocations: 12.36 kB / 0.9836 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2643, allocations: 46.25 kB / 0.9836 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2643, allocations: 192 / 0.9836 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2643, allocations: 11.92 kB / 0.9836 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2643, allocations: 0 / 0.9836 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.2644, allocations: 15.94 kB / 0.9836 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.2649, allocations: 356.7 kB / 0.984 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.2649, allocations: 38.52 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.265, allocations: 20.88 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.265, allocations: 4 kB / 0.984 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.2652, allocations: 99.19 kB / 0.9841 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.2652, allocations: 0 / 0.9841 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002542/0.2655, allocations: 125.8 kB / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.2655, allocations: 55.41 kB / 0.9843 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.2656, allocations: 117.9 kB / 0.9844 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2656, allocations: 41.64 kB / 0.9844 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.2657, allocations: 92.36 kB / 0.9845 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2657, allocations: 19.72 kB / 0.9846 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.2657, allocations: 8 kB / 0.9846 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.2658, allocations: 314.8 kB / 0.9849 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2659, allocations: 59.97 kB / 0.9849 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.266, allocations: 113.9 kB / 0.985 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.2662, allocations: 181.3 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2663, allocations: 3.938 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004473/0.2667, allocations: 276.9 kB / 0.9855 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.2668, allocations: 71.33 kB / 0.9855 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2668, allocations: 4 kB / 0.9855 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2668, allocations: 0 / 0.9855 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.2669, allocations: 8 kB / 0.9856 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2669, allocations: 7.984 kB / 0.9856 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2672, allocations: 82.05 kB / 0.9856 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.2673, allocations: 15.98 kB / 0.9857 GB, free: 21.97 MB / 0.6198 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 8.388e-05/0.2674, allocations: 135.4 kB / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.2674, allocations: 7.906 kB / 0.9858 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.2674, allocations: 8.375 kB / 0.9858 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2674, allocations: 96 / 0.9858 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2674, allocations: 3.984 kB / 0.9858 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.2674, allocations: 89 kB / 0.9859 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.2675, allocations: 3.938 kB / 0.9859 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.2675, allocations: 4 kB / 0.9859 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.2675, allocations: 11.92 kB / 0.9859 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000147/0.2677, allocations: 184.9 kB / 0.9861 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001491/0.2678, allocations: 262.7 kB / 0.9863 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.306e-05/0.2679, allocations: 36.11 kB / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.2679, allocations: 91.27 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of Backend: time 4.11e-07/0.2679, allocations: 0 / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.2685, allocations: 319.2 kB / 0.9868 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004293/0.2689, allocations: 0.625 MB / 0.9874 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.003909/0.2729, allocations: 1.811 MB / 0.9891 GB, free: 18.3 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)