Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007467/0.007467, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.261/3.261, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005808/0.0005809, allocations: 16.53 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4429, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001203/0.4441, allocations: 412.4 kB / 1.075 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.446, allocations: 1.225 MB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.4461, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.4462, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.4462, allocations: 7.938 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.447, allocations: 199.2 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.4472, allocations: 167.6 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.4473, allocations: 8 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4474, allocations: 59.89 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4476, allocations: 47.86 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.4476, allocations: 12 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.4477, allocations: 23.98 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.4477, allocations: 11.92 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.4478, allocations: 77.53 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.4481, allocations: 151.6 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4481, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4481, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4481, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 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.0005314/0.4486, allocations: 411.1 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4487, allocations: 12.03 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.4488, allocations: 12.84 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.4489, allocations: 168.3 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.4489, allocations: 8.359 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.449, allocations: 12.38 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4491, allocations: 57.78 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.4491, allocations: 0 / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4492, allocations: 0 / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4492, allocations: 0 / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.4492, allocations: 12 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.4498, allocations: 372.5 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.024e-05/0.4499, allocations: 34.56 kB / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.45, allocations: 12.86 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.45, allocations: 3.938 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.4502, allocations: 99.39 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4502, allocations: 0 / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003079/0.4505, allocations: 125.8 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.4505, allocations: 51.41 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.4507, allocations: 129.8 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4507, allocations: 33.64 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.4508, allocations: 88.38 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4508, allocations: 19.8 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.4509, allocations: 25.7 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.451, allocations: 330.8 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.4511, allocations: 59.97 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4513, allocations: 106 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.4515, allocations: 189.3 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4515, allocations: 0 / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004522/0.452, allocations: 276.8 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.4521, allocations: 68.95 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4521, allocations: 8 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4521, allocations: 4 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.4522, allocations: 7.938 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4522, allocations: 0 / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.4526, allocations: 87.77 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4527, allocations: 12 kB / 1.079 GB, free: 2.07 MB / 0.8262 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 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4528, allocations: 130.3 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.4528, allocations: 4 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.4528, allocations: 12.38 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4528, allocations: 0 / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4529, allocations: 4 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4529, allocations: 0 / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.4532, allocations: 366.3 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4532, allocations: 7.938 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.4532, allocations: 0 / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4532, allocations: 0 / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4533, allocations: 4 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4533, allocations: 0 / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4533, allocations: 7.938 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.4535, allocations: 199.5 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.4536, allocations: 85.02 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4536, allocations: 0 / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.4536, allocations: 0 / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.4537, allocations: 15.92 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4537, allocations: 4 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.4538, allocations: 99.75 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4538, allocations: 0 / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002934/0.4541, allocations: 32 kB / 1.08 GB, free: 1.02 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/0.4543, allocations: 103.2 kB / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.4546, allocations: 258.6 kB / 1.08 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4546, allocations: 0 / 1.08 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.4547, allocations: 36.23 kB / 1.08 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.455, allocations: 19.98 kB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.4554, allocations: 185.2 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4557, allocations: 0.6926 MB / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.4558, allocations: 8.938 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.4558, allocations: 11.44 kB / 1.081 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4558, allocations: 0 / 1.081 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.004875/0.4607, allocations: 1.833 MB / 1.083 GB, free: 13.82 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)