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 1.848/1.848, allocations: 287.4 MB / 303.2 MB, free: 8.277 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.001485/0.001485, allocations: 182.6 kB / 371.8 MB, free: 10.82 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.904/1.904, allocations: 205.4 MB / 0.6304 GB, free: 10.58 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.0008096/0.0008095, allocations: 91.27 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004592, allocations: 12.48 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001364/0.2735, allocations: 405.7 kB / 0.9797 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2751, allocations: 1.18 MB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.2751, allocations: 3.938 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.2752, allocations: 0 / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.2753, allocations: 7.922 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.2759, allocations: 197.8 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.2761, allocations: 147.7 kB / 0.9812 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2763, allocations: 11.98 kB / 0.9812 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.2764, allocations: 63.88 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2765, allocations: 43.88 kB / 0.9813 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.2766, allocations: 8 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.2767, allocations: 19.98 kB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.2767, allocations: 19.91 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.2768, allocations: 37.7 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.277, allocations: 104 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.277, allocations: 0 / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.917e-06/0.277, allocations: 0 / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.277, allocations: 4 kB / 0.9815 GB, free: 25.96 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.0005522/0.2776, allocations: 414.7 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2777, allocations: 12.03 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.2777, allocations: 4.938 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/0.2778, allocations: 176.2 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.2779, allocations: 4.375 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.2779, allocations: 12.38 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.278, allocations: 50.23 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.278, allocations: 192 / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.278, allocations: 11.94 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.278, allocations: 0 / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.2781, allocations: 15.98 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.2786, allocations: 348.7 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.2786, allocations: 42.45 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.2787, allocations: 20.94 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.2787, allocations: 4 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.2789, allocations: 99.08 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.2789, allocations: 0 / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002584/0.2791, allocations: 129.5 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2792, allocations: 51.41 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.2793, allocations: 117.8 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2793, allocations: 37.7 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.2794, allocations: 96.34 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2794, allocations: 15.72 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.2794, allocations: 8 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.2795, allocations: 318.8 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2796, allocations: 63.97 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2797, allocations: 106 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2799, allocations: 189.3 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2799, allocations: 3.938 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004105/0.2803, allocations: 272.9 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.2804, allocations: 71.39 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2804, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2804, allocations: 4 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.2805, allocations: 7.938 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2805, allocations: 0 / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.2809, allocations: 87.92 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2809, allocations: 15.98 kB / 0.9842 GB, free: 22.89 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 9.276e-05/0.281, allocations: 125.8 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.281, allocations: 11.91 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.2811, allocations: 4.375 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2811, allocations: 0 / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2811, allocations: 4 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.2811, allocations: 85 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.2811, allocations: 4 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.2812, allocations: 4 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.2812, allocations: 15.8 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001346/0.2814, allocations: 185.2 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001477/0.2815, allocations: 270.7 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.736e-05/0.2816, allocations: 27.98 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.863e-05/0.2816, allocations: 95.75 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Backend: time 4.81e-07/0.2816, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.2822, allocations: 318.1 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004446/0.2826, allocations: 0.6254 MB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.003858/0.2865, allocations: 1.8 MB / 0.9876 GB, free: 19.23 MB / 0.6198 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)