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.738/1.738, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.00117/0.00117, allocations: 183 kB / 372 MB, free: 10.27 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.707/1.707, allocations: 205.4 MB / 0.6307 GB, free: 9.879 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.0008303/0.0008304, allocations: 96.89 kB / 0.7441 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 11.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0007559/0.2258, allocations: 398 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.227, allocations: 1.181 MB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.227, allocations: 8 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.227, allocations: 3.938 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.2271, allocations: 3.938 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.2277, allocations: 193.2 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2278, allocations: 135.7 kB / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.2279, allocations: 15.97 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.2279, allocations: 59.89 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.228, allocations: 55.8 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.2281, allocations: 8 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.065e-05/0.2281, allocations: 23.98 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.2282, allocations: 11.98 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.2282, allocations: 37.64 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.2283, allocations: 108 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2283, allocations: 0 / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2284, allocations: 0 / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2284, allocations: 0 / 0.9818 GB, free: 25.4 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.0003471/0.2287, allocations: 418.6 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2288, allocations: 8.031 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.2288, allocations: 8 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.2289, allocations: 174.9 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.2289, allocations: 4 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.229, allocations: 8 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2291, allocations: 57.67 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2291, allocations: 3.938 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2291, allocations: 4 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.2291, allocations: 0 / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.2292, allocations: 23.86 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.2296, allocations: 352.7 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.2297, allocations: 38.56 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.2297, allocations: 16.86 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2297, allocations: 4 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.2299, allocations: 99.27 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2299, allocations: 0 / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002413/0.2302, allocations: 121.6 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2302, allocations: 55.36 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.2303, allocations: 125.7 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2303, allocations: 33.7 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.2304, allocations: 92.38 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.2304, allocations: 19.8 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.2304, allocations: 4 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.2305, allocations: 314.8 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2306, allocations: 63.95 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2307, allocations: 114.3 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.2308, allocations: 115.4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2308, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003393/0.2312, allocations: 284.8 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.2312, allocations: 67.39 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2313, allocations: 8.156 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2313, allocations: 4 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.2313, allocations: 11.92 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2313, allocations: 0 / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.2317, allocations: 88.11 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.2317, allocations: 15.98 kB / 0.9844 GB, free: 22.41 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 7.617e-05/0.2318, allocations: 122.5 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2318, allocations: 11.91 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.2319, allocations: 8.406 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2319, allocations: 11.92 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2319, allocations: 7.984 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2319, allocations: 0 / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2321, allocations: 350.5 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2321, allocations: 4 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-06/0.2321, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2321, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2322, allocations: 7.984 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2322, allocations: 4 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2322, allocations: 7.953 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.2323, allocations: 191.5 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.2323, allocations: 81.02 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2323, allocations: 4 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.2324, allocations: 3.984 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.2324, allocations: 4 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2325, allocations: 15.94 kB / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.2325, allocations: 95.33 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2325, allocations: 0 / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002334/0.2327, allocations: 31.98 kB / 0.9853 GB, free: 21.37 MB / 0.6198 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.0001205/0.2329, allocations: 107.9 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.2331, allocations: 250.7 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2331, allocations: 0 / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.2332, allocations: 36.42 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.2335, allocations: 24.11 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2338, allocations: 186.9 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2339, allocations: 0.6926 MB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.2339, allocations: 4.672 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.2339, allocations: 11.44 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2339, allocations: 0 / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.003381/0.2373, allocations: 1.759 MB / 0.9883 GB, free: 18.25 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)