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.701/2.701, allocations: 287.5 MB / 302.4 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.001483/0.001483, allocations: 172.9 kB / 371 MB, free: 10.85 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.419/2.419, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009694/0.0009693, allocations: 92.81 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005019, allocations: 14.7 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0009031/0.2314, allocations: 409.6 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2331, allocations: 1.165 MB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.2332, allocations: 4 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.2332, allocations: 3.938 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.2333, allocations: 23.84 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.2342, allocations: 188.5 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.2344, allocations: 135.7 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2346, allocations: 11.98 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2347, allocations: 63.88 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2348, allocations: 47.81 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.2349, allocations: 12 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.235, allocations: 23.97 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.235, allocations: 4 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.2351, allocations: 45.64 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.2353, allocations: 108 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2353, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2353, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.2353, allocations: 0 / 0.9805 GB, free: 26.09 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.0004744/0.2358, allocations: 418.6 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2359, allocations: 8.031 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.2359, allocations: 8 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.236, allocations: 170.9 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.2361, allocations: 7.984 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.2361, allocations: 12 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2363, allocations: 53.67 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2363, allocations: 0 / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2363, allocations: 3.938 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2364, allocations: 4 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.2364, allocations: 15.94 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.237, allocations: 360.7 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.2371, allocations: 34.56 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.2372, allocations: 12.86 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.2372, allocations: 0 / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.2374, allocations: 107.3 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.876e-06/0.2374, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003681/0.2378, allocations: 125.5 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2379, allocations: 55.41 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.238, allocations: 129.7 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.238, allocations: 29.7 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.2381, allocations: 92.38 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2381, allocations: 19.81 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.2382, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.2383, allocations: 322.8 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.2385, allocations: 59.97 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2387, allocations: 109.9 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.239, allocations: 123.4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.239, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006517/0.2396, allocations: 276.8 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.2397, allocations: 68.95 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2397, allocations: 0 / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2398, allocations: 8.156 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.2399, allocations: 11.94 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2399, allocations: 7.953 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.2406, allocations: 87.77 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.2406, allocations: 12.36 kB / 0.9832 GB, free: 23.09 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 0.0001364/0.2408, allocations: 129.8 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2408, allocations: 3.906 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.2408, allocations: 12.38 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2409, allocations: 3.938 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2409, allocations: 4 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2409, allocations: 3.953 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.2413, allocations: 358.5 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2413, allocations: 0 / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.2413, allocations: 0 / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.2414, allocations: 4 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2414, allocations: 3.938 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.2414, allocations: 3.953 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2414, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.2416, allocations: 199.5 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.2417, allocations: 89 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.2417, allocations: 0 / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.2418, allocations: 4 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2419, allocations: 11.94 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.2419, allocations: 4 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.2419, allocations: 91.27 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2419, allocations: 4 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003979/0.2424, allocations: 36 kB / 0.9841 GB, free: 22.05 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.0001678/0.2425, allocations: 103.2 kB / 0.9842 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.243, allocations: 254.7 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.243, allocations: 4 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.2431, allocations: 36.11 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.2436, allocations: 20.42 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.244, allocations: 179 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2442, allocations: 0.6887 MB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.2442, allocations: 12.67 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.2443, allocations: 15.44 kB / 0.9854 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2443, allocations: 3.938 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.005789/0.2501, allocations: 1.749 MB / 0.9871 GB, free: 18.94 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)