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.0012/0.0012, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001463/0.001463, allocations: 169.3 kB / 24.25 MB, free: 312 kB / 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 0.985/0.985, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.625/0.625, allocations: 115 MB / 376 MB, free: 7.637 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 1.633e-06/1.633e-06, allocations: 0.6562 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.395e-05, allocations: 6.234 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001028/0.001042, allocations: 0.6771 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.00206, allocations: 1.246 MB / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.002097, allocations: 1.062 kB / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.002122, allocations: 10.88 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.00218, allocations: 11.88 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.002594, allocations: 212.3 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.002743, allocations: 179.5 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.002818, allocations: 11.3 kB / 483.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.002923, allocations: 93.09 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.003017, allocations: 60.88 kB / 484 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.003043, allocations: 17.94 kB / 484 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.003095, allocations: 25.22 kB / 484.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.003113, allocations: 10.83 kB / 484.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.003163, allocations: 49.47 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.003308, allocations: 145.1 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00331, allocations: 0.9375 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00331, allocations: 0 / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003314, allocations: 2.938 kB / 484.3 MB, free: 10.25 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.0003289/0.003643, allocations: 466.8 kB / 484.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.003674, allocations: 10.06 kB / 484.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.003727, allocations: 14.08 kB / 484.7 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.776e-05/0.003785, allocations: 120.3 kB / 484.9 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.003803, allocations: 4.312 kB / 484.9 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.003823, allocations: 10.16 kB / 484.9 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.003913, allocations: 58.89 kB / 484.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.00392, allocations: 6.562 kB / 484.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.003928, allocations: 0 / 484.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.003934, allocations: 1.094 kB / 484.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.003956, allocations: 8.531 kB / 484.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.004261, allocations: 341 kB / 485.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.004325, allocations: 44.17 kB / 485.3 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.00434, allocations: 15.23 kB / 485.3 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-06/0.004344, allocations: 1.125 kB / 485.3 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.657e-05/0.00443, allocations: 93.09 kB / 485.4 MB, free: 9.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.004431, allocations: 0 / 485.4 MB, free: 9.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001922/0.004624, allocations: 115.6 kB / 485.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.004646, allocations: 58.12 kB / 485.6 MB, free: 9.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.004705, allocations: 178.4 kB / 485.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.004723, allocations: 34.3 kB / 485.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.00476, allocations: 144.4 kB / 485.9 MB, free: 8.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.004772, allocations: 20.17 kB / 486 MB, free: 8.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.004835, allocations: 57.3 kB / 486 MB, free: 8.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.005024, allocations: 498 kB / 486.5 MB, free: 24.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.005119, allocations: 116 kB / 486.6 MB, free: 24.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.005218, allocations: 178 kB / 486.8 MB, free: 23.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.005328, allocations: 198 kB / 487 MB, free: 23.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.005331, allocations: 5.031 kB / 487 MB, free: 23.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002716/0.005603, allocations: 335.7 kB / 487.3 MB, free: 23.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.005629, allocations: 67.06 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005633, allocations: 3.375 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.005646, allocations: 2.156 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-05/0.005684, allocations: 12.47 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.005689, allocations: 5.438 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.005833, allocations: 40.67 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.005853, allocations: 16.62 kB / 487.5 MB, free: 23.48 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 6.76e-05/0.00592, allocations: 174.5 kB / 487.6 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.005933, allocations: 13.42 kB / 487.6 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.005952, allocations: 14.58 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005954, allocations: 1.156 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005957, allocations: 1.25 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.00596, allocations: 0.75 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.006132, allocations: 346.9 kB / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006133, allocations: 0 / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-06/0.006137, allocations: 2.938 kB / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.006138, allocations: 1.188 kB / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.006145, allocations: 1.219 kB / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006147, allocations: 2.719 kB / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006148, allocations: 0 / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.006254, allocations: 249.1 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.006261, allocations: 6.734 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006274, allocations: 7.281 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.006304, allocations: 9.531 kB / 488.3 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.00633, allocations: 6.25 kB / 488.3 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.006339, allocations: 6.188 kB / 488.3 MB, free: 22.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.006374, allocations: 134.7 kB / 488.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006374, allocations: 0 / 488.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.006548, allocations: 32.56 kB / 488.5 MB, free: 22.63 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 8.607e-05/0.006634, allocations: 110.3 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.006853, allocations: 294 kB / 488.8 MB, free: 22.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.006855, allocations: 0 / 488.8 MB, free: 22.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.006888, allocations: 39.05 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.0001888/0.007077, allocations: 26.3 kB / 488.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.007303, allocations: 164.5 kB / 489.1 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.635e-05/0.007329, allocations: 61.84 kB / 489.1 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.00735, allocations: 8.531 kB / 489.1 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.007366, allocations: 14.25 kB / 489.2 MB, free: 22.07 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007367, allocations: 0 / 489.2 MB, free: 22.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003174/0.01054, allocations: 2.114 MB / 491.3 MB, free: 21.9 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.544718487886712]