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.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001589/0.001589, allocations: 190.1 kB / 16.14 MB, free: 6.688 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 70.44 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4753, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002265/0.4776, allocations: 0.7417 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.4793, allocations: 1.225 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.4794, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.4794, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.4795, allocations: 7.875 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.4802, allocations: 198.5 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4803, allocations: 151.7 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4805, allocations: 19.97 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.4806, allocations: 63.89 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.4807, allocations: 47.86 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.4807, allocations: 11.94 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.4808, allocations: 19.98 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.4808, allocations: 8 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.481, allocations: 55.81 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.4812, allocations: 147.7 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4812, allocations: 3.938 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4812, allocations: 4 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4812, allocations: 0 / 1.07 GB, free: 8.191 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.0006108/0.4818, allocations: 450.9 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4819, allocations: 8.031 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.482, allocations: 8.938 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.4821, allocations: 176.2 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4821, allocations: 4.375 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.4822, allocations: 20.36 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4823, allocations: 49.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4823, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4824, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4824, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.4824, allocations: 11.98 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.483, allocations: 360.6 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.4831, allocations: 34.56 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.4831, allocations: 20.86 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.4832, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.4834, allocations: 99.28 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.4834, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003071/0.4837, allocations: 121.5 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4838, allocations: 55.41 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4839, allocations: 125.8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.4839, allocations: 33.7 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.484, allocations: 92.38 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.484, allocations: 19.78 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.4841, allocations: 49.69 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4843, allocations: 326.8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4844, allocations: 60.34 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4846, allocations: 110 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.4848, allocations: 177.3 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4848, allocations: 8 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004491/0.4853, allocations: 284.7 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.4854, allocations: 71.39 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4854, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4854, allocations: 7.938 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.4855, allocations: 11.94 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4855, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.4859, allocations: 67.92 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.4859, allocations: 12 kB / 1.073 GB, free: 5.047 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.0001128/0.486, allocations: 129.7 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.486, allocations: 7.906 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.4861, allocations: 12.38 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4861, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4861, allocations: 4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4861, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.4864, allocations: 362.4 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4865, allocations: 0 / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.4865, allocations: 0 / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4865, allocations: 4 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4865, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4865, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4865, allocations: 3.938 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.4867, allocations: 207.4 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.4868, allocations: 77.11 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4868, allocations: 0 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.4869, allocations: 8.188 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.4869, allocations: 11.92 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.4869, allocations: 3.938 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.487, allocations: 95.27 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.487, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002846/0.4873, allocations: 39.91 kB / 1.074 GB, free: 4 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.0001888/0.4875, allocations: 107.2 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.4879, allocations: 250.9 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4879, allocations: 0 / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.4879, allocations: 39.92 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.4883, allocations: 24.23 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.4887, allocations: 171 kB / 1.074 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.489, allocations: 0.6926 MB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.489, allocations: 12.75 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.489, allocations: 15.44 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4891, allocations: 0 / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of Templates: time 0.00477/0.4938, allocations: 1.829 MB / 1.077 GB, free: 0.8125 MB / 0.8262 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)