Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009187/0.0009187, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.00121/0.00121, allocations: 170.5 kB / 24.84 MB, free: 9.254 MB / 18.57 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 1.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.669/0.669, allocations: 115 MB / 376.8 MB, free: 7.504 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 482.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.856e-05, allocations: 4.469 kB / 482.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001881/0.001909, allocations: 0.6776 MB / 483.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003498, allocations: 1.243 MB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.003548, allocations: 0 / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.003578, allocations: 5.125 kB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.003661, allocations: 12.98 kB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.004264, allocations: 224.2 kB / 484.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.004507, allocations: 176 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.004599, allocations: 8.344 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.004744, allocations: 102.8 kB / 485.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.004881, allocations: 48.42 kB / 485.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.00492, allocations: 16.91 kB / 485.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.004999, allocations: 28.56 kB / 485.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.005027, allocations: 12.94 kB / 485.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.005097, allocations: 48.7 kB / 485.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.005303, allocations: 146 kB / 485.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.005306, allocations: 1.688 kB / 485.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005308, allocations: 0 / 485.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.005313, allocations: 0 / 485.5 MB, free: 10.11 MB / 410.7 MB 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.0004293/0.005742, allocations: 467.9 kB / 485.9 MB, free: 9.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.005783, allocations: 10.75 kB / 486 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.005848, allocations: 19.11 kB / 486 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.005925, allocations: 112.5 kB / 486.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.005951, allocations: 7.953 kB / 486.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.00598, allocations: 9.625 kB / 486.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.00607, allocations: 59.28 kB / 486.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006079, allocations: 5.219 kB / 486.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.006088, allocations: 3.984 kB / 486.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006095, allocations: 1.562 kB / 486.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.006116, allocations: 8.844 kB / 486.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.006511, allocations: 315.2 kB / 486.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.006595, allocations: 36.22 kB / 486.5 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.006614, allocations: 15.25 kB / 486.5 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.006619, allocations: 5.156 kB / 486.5 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.00675, allocations: 89.06 kB / 486.6 MB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.006751, allocations: 0 / 486.6 MB, free: 9.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000244/0.006995, allocations: 116.1 kB / 486.7 MB, free: 9.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.007028, allocations: 54 kB / 486.8 MB, free: 8.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.007115, allocations: 185.9 kB / 487 MB, free: 8.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.007145, allocations: 33.86 kB / 487 MB, free: 8.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.007384, allocations: 132.6 kB / 487.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.007405, allocations: 27.45 kB / 487.2 MB, free: 24.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.007499, allocations: 55.38 kB / 487.2 MB, free: 24.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.007633, allocations: 0.4892 MB / 487.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.007753, allocations: 105.9 kB / 487.8 MB, free: 24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.007879, allocations: 170.3 kB / 488 MB, free: 23.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.008049, allocations: 184.9 kB / 488.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.008053, allocations: 4.906 kB / 488.2 MB, free: 23.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004012/0.008454, allocations: 319.6 kB / 488.5 MB, free: 23.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.008499, allocations: 70.91 kB / 488.5 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.008506, allocations: 1.094 kB / 488.5 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008518, allocations: 5.812 kB / 488.6 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.008566, allocations: 9.781 kB / 488.6 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.008571, allocations: 2.656 kB / 488.6 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.008803, allocations: 40.16 kB / 488.6 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.008836, allocations: 18.41 kB / 488.6 MB, free: 23.4 MB / 426.7 MB 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.0001125/0.008948, allocations: 169.5 kB / 488.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.008971, allocations: 13.48 kB / 488.8 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.009003, allocations: 14.09 kB / 488.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.009006, allocations: 1.438 kB / 488.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.009008, allocations: 1.906 kB / 488.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009012, allocations: 1.438 kB / 488.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.009303, allocations: 328 kB / 489.1 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.009305, allocations: 0 / 489.1 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.009317, allocations: 4.672 kB / 489.1 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.009321, allocations: 1.781 kB / 489.1 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.009329, allocations: 2.812 kB / 489.1 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009331, allocations: 3.938 kB / 489.2 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009332, allocations: 5.828 kB / 489.2 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.009517, allocations: 241.8 kB / 489.4 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.009529, allocations: 7.922 kB / 489.4 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.009547, allocations: 1.312 kB / 489.4 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.009609, allocations: 8.75 kB / 489.4 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.009639, allocations: 6.031 kB / 489.4 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.009652, allocations: 2.5 kB / 489.4 MB, free: 22.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.00971, allocations: 133.4 kB / 489.6 MB, free: 22.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00971, allocations: 0 / 489.6 MB, free: 22.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.01006, allocations: 34.66 kB / 489.6 MB, free: 22.58 MB / 426.7 MB 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.0001512/0.01021, allocations: 113.2 kB / 489.7 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01051, allocations: 270.8 kB / 490 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01051, allocations: 0 / 490 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.01055, allocations: 36.27 kB / 490 MB, free: 22.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.01089, allocations: 24.59 kB / 490 MB, free: 22.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.01119, allocations: 156.4 kB / 490.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.01123, allocations: 61.02 kB / 490.2 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.01126, allocations: 10 kB / 490.2 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.01141, allocations: 107 kB / 490.3 MB, free: 21.96 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01141, allocations: 0.6562 kB / 490.3 MB, free: 21.96 MB / 426.7 MB Notification: Performance of Templates: time 0.005803/0.01721, allocations: 2.371 MB / 492.7 MB, free: 21.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5185679481364787]