Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009589/0.0009589, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009948/0.001954, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007074/0.0007074, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000932/0.001639, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.976/0.976, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08591/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.998/1.998, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4964/2.494, allocations: 127.1 MB / 0.7435 GB, free: 4.516 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.656e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001784/0.001801, allocations: 0.7331 MB / 0.7455 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.003548, allocations: 1.246 MB / 0.7467 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.003593, allocations: 0 / 0.7467 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.003621, allocations: 3.938 kB / 0.7467 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.003677, allocations: 16.84 kB / 0.7468 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.004252, allocations: 209.2 kB / 0.747 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.004544, allocations: 181.5 kB / 0.7471 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.004629, allocations: 11.41 kB / 0.7471 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.004819, allocations: 102.4 kB / 0.7472 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.00498, allocations: 53.31 kB / 0.7473 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.005021, allocations: 16.66 kB / 0.7473 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.005133, allocations: 28 kB / 0.7473 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.005165, allocations: 10.61 kB / 0.7473 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.005234, allocations: 33.86 kB / 0.7474 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.005449, allocations: 114.3 kB / 0.7475 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.005461, allocations: 0 / 0.7475 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005462, allocations: 0 / 0.7475 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.005478, allocations: 0 / 0.7475 GB, free: 0.5078 MB / 0.7136 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.0005989/0.006077, allocations: 359.8 kB / 0.7478 GB, free: 124 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.006124, allocations: 8.031 kB / 0.7478 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.006188, allocations: 12.92 kB / 0.7479 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.006327, allocations: 113 kB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.006362, allocations: 12.38 kB / 0.748 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.006395, allocations: 12.31 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.006518, allocations: 58.94 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.006531, allocations: 3.938 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.006545, allocations: 7.969 kB / 0.7481 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.006553, allocations: 0 / 0.7481 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.006573, allocations: 4 kB / 0.7481 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.007016, allocations: 202.2 kB / 0.7482 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.007113, allocations: 30.62 kB / 0.7483 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.00713, allocations: 9.641 kB / 0.7483 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-06/0.007134, allocations: 0 / 0.7483 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.007273, allocations: 87.97 kB / 0.7484 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.007274, allocations: 1.375 kB / 0.7484 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.000182/0.007456, allocations: 81.66 kB / 0.7485 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.007497, allocations: 59.33 kB / 0.7485 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.007587, allocations: 126.6 kB / 0.7486 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.007624, allocations: 34.8 kB / 0.7487 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.007682, allocations: 84.38 kB / 0.7487 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.007707, allocations: 23.83 kB / 0.7488 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.007795, allocations: 50.39 kB / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.007893, allocations: 323.4 kB / 0.7491 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.008011, allocations: 99.38 kB / 0.7492 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.008141, allocations: 146.4 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.008309, allocations: 167.1 kB / 0.7495 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.008312, allocations: 0 / 0.7495 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003292/0.008642, allocations: 286.4 kB / 0.7498 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.008702, allocations: 68.48 kB / 0.7499 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.00871, allocations: 3.984 kB / 0.7499 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.008726, allocations: 4 kB / 0.7499 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.008777, allocations: 8.469 kB / 0.7499 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.008783, allocations: 8.938 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.009, allocations: 41.62 kB / 0.7499 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.009032, allocations: 11.98 kB / 0.7499 GB, free: 13.74 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 (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.0001151/0.009147, allocations: 126.6 kB / 0.75 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.009167, allocations: 8.562 kB / 0.7501 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.009196, allocations: 12.38 kB / 0.7501 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.009201, allocations: 5 kB / 0.7501 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.009203, allocations: 0 / 0.7501 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.009209, allocations: 6.984 kB / 0.7501 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.009462, allocations: 211.1 kB / 0.7503 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.009466, allocations: 3.938 kB / 0.7503 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.009487, allocations: 7.984 kB / 0.7503 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.009503, allocations: 7.953 kB / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.009507, allocations: 0 / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.009519, allocations: 4 kB / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.009522, allocations: 0 / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.009525, allocations: 3.719 kB / 0.7503 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.00969, allocations: 167.4 kB / 0.7505 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.009711, allocations: 4 kB / 0.7505 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.009774, allocations: 4 kB / 0.7505 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.009817, allocations: 7.984 kB / 0.7505 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.009837, allocations: 0 / 0.7505 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.009869, allocations: 20.83 kB / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.00987, allocations: 0 / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000277/0.01015, allocations: 32 kB / 0.7505 GB, free: 13.08 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 (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.0001583/0.0103, allocations: 92.05 kB / 0.7506 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.01062, allocations: 271.6 kB / 0.7509 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.01063, allocations: 4 kB / 0.7509 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.01068, allocations: 29.8 kB / 0.7509 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01095, allocations: 139.7 kB / 0.751 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.01149, allocations: 160.7 kB / 0.7512 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.56e-05/0.01154, allocations: 60.27 kB / 0.7513 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.01157, allocations: 8.719 kB / 0.7513 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.0117, allocations: 88.67 kB / 0.7513 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.01171, allocations: 0 / 0.7513 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.004192/0.0159, allocations: 2.33 MB / 0.7536 GB, free: 9.922 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.955932401120663]