Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008626/0.0008626, allocations: 90.75 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.007627/0.007627, allocations: 173.7 kB / 16.27 MB, free: 6.676 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.57/1.57, 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.015/3.015, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006671/0.000667, allocations: 14.39 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.5282, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0009847/0.5292, allocations: 408.4 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.5309, allocations: 1.225 MB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.531, allocations: 0 / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.531, allocations: 3.938 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.5311, allocations: 11.94 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.5317, allocations: 203 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.5319, allocations: 155.7 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.532, allocations: 11.98 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.5321, allocations: 59.83 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.5322, allocations: 47.86 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.5323, allocations: 16 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.5324, allocations: 19.98 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.5324, allocations: 7.938 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.5325, allocations: 81.52 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.5327, allocations: 147.6 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5328, allocations: 0 / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5328, allocations: 0 / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5328, allocations: 0 / 1.076 GB, free: 5.109 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.000516/0.5333, allocations: 411.1 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5333, allocations: 12.03 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.5334, allocations: 12.84 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.5336, allocations: 168.4 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.5336, allocations: 16.3 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.5337, allocations: 16.36 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.5338, allocations: 45.81 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5338, allocations: 0 / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.5338, allocations: 3.984 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5338, allocations: 4 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.5339, allocations: 8 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.5346, allocations: 372.6 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.5347, allocations: 38.52 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.5347, allocations: 20.94 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.5347, allocations: 3.938 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.5349, allocations: 87.36 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.5349, allocations: 3.938 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002948/0.5352, allocations: 125.5 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.5353, allocations: 63.34 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5354, allocations: 117.8 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.5355, allocations: 29.7 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.5355, allocations: 96.36 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.5356, allocations: 15.8 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.5356, allocations: 25.7 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5358, allocations: 326.8 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5359, allocations: 63.95 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.5361, allocations: 108.4 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.5363, allocations: 181.3 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5364, allocations: 4 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005091/0.5369, allocations: 276.8 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/0.537, allocations: 71.55 kB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.537, allocations: 4 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.537, allocations: 4 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.5371, allocations: 11.94 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5371, allocations: 0 / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.5375, allocations: 83.77 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.5375, allocations: 12 kB / 1.079 GB, free: 2.008 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.0001309/0.5377, allocations: 130.3 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.5377, allocations: 4 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.5377, allocations: 12.38 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5377, allocations: 4 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5377, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5377, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.5381, allocations: 366.3 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5381, allocations: 7.938 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.5382, allocations: 3.938 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5382, allocations: 0 / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.5382, allocations: 4 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.5382, allocations: 4 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5382, allocations: 4.406 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.5384, allocations: 199.4 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.5385, allocations: 85.02 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5385, allocations: 0 / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.5386, allocations: 4 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.5386, allocations: 11.92 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5386, allocations: 4 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.5387, allocations: 95.27 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5387, allocations: 0 / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002814/0.539, allocations: 36 kB / 1.08 GB, free: 0.9531 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.0001988/0.5392, allocations: 103.2 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.5396, allocations: 254.8 kB / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5396, allocations: 0 / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.5396, allocations: 32.3 kB / 1.08 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.54, allocations: 19.98 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.5404, allocations: 186.9 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.5409, allocations: 0.6965 MB / 1.081 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.5409, allocations: 12.73 kB / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.541, allocations: 11.44 kB / 1.081 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.541, allocations: 0 / 1.081 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.005254/0.5462, allocations: 1.833 MB / 1.083 GB, free: 13.76 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)