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.65/1.65, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.0009431/0.0009431, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.649/1.649, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0009552/0.0009552, allocations: 104.8 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 12.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7646/0.9837, allocations: 138.2 MB / 1.116 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.984, allocations: 69.23 kB / 1.116 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008494/0.9925, allocations: 2.954 MB / 1.119 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9926, allocations: 0 / 1.119 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.9926, allocations: 0 / 1.119 GB, free: 32.05 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.0004661/0.9931, allocations: 418.4 kB / 1.119 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.9931, allocations: 11.66 kB / 1.119 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.9932, allocations: 15.11 kB / 1.119 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.9933, allocations: 180 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.9934, allocations: 4.031 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.9934, allocations: 15.06 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9935, allocations: 47.55 kB / 1.119 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9936, allocations: 192 / 1.119 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9936, allocations: 7.812 kB / 1.119 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9936, allocations: 3.984 kB / 1.119 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.9937, allocations: 17.95 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.9941, allocations: 352.4 kB / 1.12 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.9942, allocations: 39.08 kB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.9943, allocations: 14.81 kB / 1.12 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-06/0.9943, allocations: 0 / 1.12 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.9945, allocations: 97.41 kB / 1.12 GB, free: 31.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.9945, allocations: 4 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002607/0.9948, allocations: 124.1 kB / 1.12 GB, free: 30.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.9948, allocations: 55.28 kB / 1.12 GB, free: 30.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.9949, allocations: 122.4 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.9949, allocations: 29.58 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.995, allocations: 97.33 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.995, allocations: 18.84 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.9951, allocations: 0 / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9952, allocations: 320.5 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.9953, allocations: 68.97 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.9955, allocations: 111.2 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.9957, allocations: 188.5 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9957, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003677/0.996, allocations: 280.4 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.9961, allocations: 68.48 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9961, allocations: 3.812 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9961, allocations: 4.156 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.9962, allocations: 11.03 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9962, allocations: 0 / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.9965, allocations: 71.08 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.9966, allocations: 16.81 kB / 1.121 GB, free: 29.99 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.0001176/0.9967, allocations: 134.5 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.9967, allocations: 10.42 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.9967, allocations: 11.72 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9967, allocations: 0 / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9968, allocations: 4 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9968, allocations: 0 / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.9971, allocations: 361.2 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9971, allocations: 0 / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.9971, allocations: 3.938 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9971, allocations: 3.938 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.9971, allocations: 0 / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.9971, allocations: 7.969 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9971, allocations: 0 / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.9973, allocations: 202.7 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.9973, allocations: 87.72 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.9974, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.9974, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.9975, allocations: 10 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.9975, allocations: 7.906 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.192e-05/0.9975, allocations: 96.89 kB / 1.122 GB, free: 29.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.91e-07/0.9976, allocations: 0 / 1.122 GB, free: 29.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002731/0.9978, allocations: 45.47 kB / 1.122 GB, free: 29.21 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.0001832/0.998, allocations: 113 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.9984, allocations: 250.7 kB / 1.123 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9984, allocations: 0 / 1.123 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.9984, allocations: 35.77 kB / 1.123 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.9987, allocations: 23.69 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.9991, allocations: 170.1 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.9993, allocations: 0.6932 MB / 1.124 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.9994, allocations: 8.516 kB / 1.124 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.9994, allocations: 11.56 kB / 1.124 GB, free: 28.15 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.9994, allocations: 0 / 1.124 GB, free: 28.15 MB / 0.698 GB Notification: Performance of Templates: time 0.004015/1.003, allocations: 1.789 MB / 1.125 GB, free: 27.98 MB / 0.698 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)