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.001264/0.001264, allocations: 100.1 kB / 20.43 MB, free: 4.137 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.001236/0.001236, allocations: 169.3 kB / 23.8 MB, free: 0.7695 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.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.5922/0.5922, allocations: 115 MB / 375.7 MB, free: 7.645 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 3.427e-06/3.427e-06, allocations: 2.438 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.957e-05, allocations: 2.312 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001301/0.00133, allocations: 0.6665 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.002531, allocations: 1.254 MB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.002572, allocations: 2.5 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.002601, allocations: 3.938 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.002671, allocations: 9.766 kB / 483.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.003204, allocations: 217.6 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.003462, allocations: 180.6 kB / 483.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.003551, allocations: 8.156 kB / 483.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.003676, allocations: 106.7 kB / 484 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.003785, allocations: 48.92 kB / 484 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.003817, allocations: 16.19 kB / 484 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.003886, allocations: 29.34 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.00391, allocations: 15.94 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.00397, allocations: 47.91 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.004135, allocations: 144.1 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004137, allocations: 0 / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004138, allocations: 1.156 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004142, allocations: 0 / 484.3 MB, free: 10.23 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.0003802/0.004523, allocations: 468.1 kB / 484.7 MB, free: 9.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.004562, allocations: 9.344 kB / 484.7 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.004624, allocations: 13.86 kB / 484.7 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.004692, allocations: 112.9 kB / 484.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.004715, allocations: 9.469 kB / 484.9 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.004736, allocations: 10.34 kB / 484.9 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/0.004831, allocations: 62.83 kB / 484.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.00484, allocations: 3.938 kB / 484.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.004852, allocations: 6.156 kB / 484.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.004859, allocations: 0 / 484.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.004881, allocations: 9.531 kB / 485 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.005258, allocations: 333.5 kB / 485.3 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.005336, allocations: 40.62 kB / 485.3 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.005354, allocations: 15.53 kB / 485.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-06/0.005358, allocations: 1.188 kB / 485.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.005461, allocations: 96.23 kB / 485.4 MB, free: 9.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.005463, allocations: 0 / 485.4 MB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002197/0.005682, allocations: 115.8 kB / 485.5 MB, free: 9.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.005706, allocations: 53.69 kB / 485.6 MB, free: 9.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.005771, allocations: 189.3 kB / 485.8 MB, free: 8.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.005797, allocations: 33.98 kB / 485.8 MB, free: 8.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.005836, allocations: 145.9 kB / 486 MB, free: 8.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.00585, allocations: 19.23 kB / 486 MB, free: 8.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.005916, allocations: 57.61 kB / 486 MB, free: 8.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.006159, allocations: 0.4899 MB / 486.5 MB, free: 24.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.006268, allocations: 111.8 kB / 486.6 MB, free: 24.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.006377, allocations: 186 kB / 486.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.006502, allocations: 188.1 kB / 487 MB, free: 23.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006505, allocations: 6.5 kB / 487 MB, free: 23.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003182/0.006823, allocations: 335.5 kB / 487.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.006859, allocations: 70.97 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006864, allocations: 1.219 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.00688, allocations: 3.344 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.006931, allocations: 6.125 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.006938, allocations: 8.969 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.0071, allocations: 44.3 kB / 487.5 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.007123, allocations: 13.16 kB / 487.5 MB, free: 23.47 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 9.454e-05/0.007218, allocations: 174 kB / 487.6 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.007232, allocations: 13.58 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.007256, allocations: 5.875 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007258, allocations: 1.875 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.007262, allocations: 0 / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007265, allocations: 2.781 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.00748, allocations: 354 kB / 488 MB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.007482, allocations: 0 / 488 MB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.007489, allocations: 4.438 kB / 488 MB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007491, allocations: 0 / 488 MB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.007498, allocations: 7.406 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0075, allocations: 1.562 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007501, allocations: 4.5 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.007625, allocations: 253.7 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.007632, allocations: 5.359 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007646, allocations: 4.469 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.007676, allocations: 1.031 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.007712, allocations: 9.969 kB / 488.3 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.007724, allocations: 7.344 kB / 488.3 MB, free: 22.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.007764, allocations: 133.7 kB / 488.4 MB, free: 22.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007764, allocations: 0 / 488.4 MB, free: 22.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.007955, allocations: 29.47 kB / 488.5 MB, free: 22.62 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.0001326/0.008088, allocations: 112.7 kB / 488.6 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.008363, allocations: 287.2 kB / 488.9 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.008366, allocations: 0.9375 kB / 488.9 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.00841, allocations: 31.12 kB / 488.9 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.008641, allocations: 30.75 kB / 488.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.008969, allocations: 165.2 kB / 489.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.009006, allocations: 61.47 kB / 489.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.009035, allocations: 8.375 kB / 489.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.009055, allocations: 13.12 kB / 489.2 MB, free: 22.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.009056, allocations: 2.719 kB / 489.2 MB, free: 22.05 MB / 426.7 MB Notification: Performance of Templates: time 0.004493/0.01355, allocations: 2.322 MB / 491.5 MB, free: 21.86 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.5812218287028372]