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.001416/0.001417, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.92 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4103, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002909/0.4132, allocations: 0.6801 MB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4149, allocations: 1.208 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.415, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.4151, allocations: 7.875 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.4151, allocations: 11.91 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.4158, allocations: 214.4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.4161, allocations: 195.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4162, allocations: 15.97 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.4163, allocations: 67.89 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.4164, allocations: 55.86 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.4164, allocations: 16 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.4165, allocations: 23.98 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.4166, allocations: 11.94 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.4167, allocations: 63.81 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4169, allocations: 151.7 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4169, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4169, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4169, allocations: 0 / 1.071 GB, free: 7.676 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.0005697/0.4175, allocations: 442.9 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4175, allocations: 12.03 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.4176, allocations: 8.875 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4177, allocations: 176.3 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4178, allocations: 8.375 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.4178, allocations: 12.38 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4179, allocations: 53.8 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4179, allocations: 0 / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.418, allocations: 4 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.418, allocations: 0 / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.418, allocations: 23.98 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.4186, allocations: 352.6 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.4187, allocations: 42.56 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.4187, allocations: 20.8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-06/0.4187, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4189, allocations: 95.28 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4189, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000278/0.4192, allocations: 125.5 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4192, allocations: 59.41 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.4193, allocations: 121.8 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.4194, allocations: 29.7 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.4194, allocations: 92.38 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.4195, allocations: 23.78 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.4196, allocations: 53.69 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4197, allocations: 322.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4198, allocations: 55.97 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.42, allocations: 114 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.4202, allocations: 181.3 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4202, allocations: 4 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004225/0.4207, allocations: 276.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.4207, allocations: 71.39 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.4207, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4207, allocations: 4 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.4208, allocations: 7.938 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4208, allocations: 4 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.4212, allocations: 63.92 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.4212, allocations: 12 kB / 1.074 GB, free: 4.543 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 9.747e-05/0.4213, allocations: 131.2 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.4213, allocations: 7.906 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.4214, allocations: 16.41 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4214, allocations: 7.984 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4214, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4214, allocations: 3.938 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4217, allocations: 362.4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4217, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-06/0.4217, allocations: 4.469 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4217, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4217, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4217, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4218, allocations: 7.938 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.4219, allocations: 207.3 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.422, allocations: 77.11 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.422, allocations: 8 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.4221, allocations: 0 / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.4221, allocations: 11.92 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4221, allocations: 4 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.4222, allocations: 99.75 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4222, allocations: 0 / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003076/0.4225, allocations: 35.91 kB / 1.075 GB, free: 3.48 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.0001782/0.4227, allocations: 111.2 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.423, allocations: 258.6 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.423, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.4231, allocations: 36.23 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.4234, allocations: 23.94 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4238, allocations: 158.5 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.424, allocations: 0.6963 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.424, allocations: 4.672 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4241, allocations: 15.42 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4241, allocations: 288 / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of Templates: time 0.00439/0.4285, allocations: 1.927 MB / 1.078 GB, free: 204 kB / 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)