Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001309/0.00131, allocations: 185 kB / 377.1 MB, free: 1.523 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.813/1.813, allocations: 205.4 MB / 0.6367 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009167/0.0009165, allocations: 102.3 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004172, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3244, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7712/1.096, allocations: 139.1 MB / 1.124 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.096, allocations: 70.31 kB / 1.124 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008883/1.105, allocations: 2.943 MB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.748e-06/1.105, allocations: 0 / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.105, allocations: 4 kB / 1.127 GB, free: 33.4 MB / 0.7292 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.0006389/1.106, allocations: 422.7 kB / 1.128 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 9.275e-05/1.106, allocations: 16.02 kB / 1.128 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.106, allocations: 9.969 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.106, allocations: 171 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/1.106, allocations: 8 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/1.106, allocations: 12 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/1.106, allocations: 57.12 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.106, allocations: 0.5625 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.106, allocations: 0 / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.106, allocations: 4 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/1.106, allocations: 12.62 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/1.107, allocations: 357.4 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/1.107, allocations: 44.44 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/1.107, allocations: 1.172 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/1.107, allocations: 89.81 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/1.107, allocations: 4 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0003431/1.108, allocations: 120.6 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/1.108, allocations: 60.34 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/1.108, allocations: 105 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/1.108, allocations: 33.7 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/1.108, allocations: 95.66 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/1.108, allocations: 19.8 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/1.108, allocations: 4 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/1.108, allocations: 326.3 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/1.108, allocations: 66.3 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/1.109, allocations: 110.3 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/1.109, allocations: 119 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.109, allocations: 0.75 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004774/1.109, allocations: 283 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/1.109, allocations: 67.02 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.109, allocations: 4.781 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.109, allocations: 0 / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/1.109, allocations: 8.953 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/1.11, allocations: 8.156 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/1.11, allocations: 77.39 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.11, allocations: 8.562 kB / 1.13 GB, free: 30.66 MB / 0.7292 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.0001387/1.11, allocations: 141.1 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/1.11, allocations: 4.531 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/1.11, allocations: 8.375 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.11, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.11, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.11, allocations: 0.9375 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/1.111, allocations: 367.2 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.111, allocations: 1 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/1.111, allocations: 4.562 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/1.111, allocations: 5.031 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/1.111, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.111, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.111, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/1.111, allocations: 207 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/1.111, allocations: 85.58 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/1.111, allocations: 0 / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/1.111, allocations: 8.266 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/1.111, allocations: 4 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/1.111, allocations: 7.734 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.208e-05/1.111, allocations: 91.42 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.332e-06/1.111, allocations: 3.938 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003625/1.112, allocations: 39.94 kB / 1.131 GB, free: 29.66 MB / 0.7292 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.0002645/1.112, allocations: 116 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003918/1.112, allocations: 252 kB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.112, allocations: 0 / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/1.112, allocations: 35.45 kB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.113, allocations: 23.23 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/1.113, allocations: 178.5 kB / 1.131 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.113, allocations: 0.695 MB / 1.132 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.588e-05/1.113, allocations: 4.672 kB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/1.113, allocations: 15.44 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.143e-06/1.113, allocations: 0 / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.005886/1.119, allocations: 1.732 MB / 1.134 GB, free: 27.38 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)