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.001423/0.001423, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.001073/0.001073, allocations: 165 kB / 23.8 MB, free: 0.7734 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.06/1.06, 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.6369/0.6369, allocations: 115 MB / 375.7 MB, free: 7.664 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.126e-06/3.126e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.209e-05, allocations: 8.156 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001431/0.001463, allocations: 0.6768 MB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002666, allocations: 1.249 MB / 483.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.002706, allocations: 0 / 483.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.002736, allocations: 3.938 kB / 483.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.002806, allocations: 20.27 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.003316, allocations: 210 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.003511, allocations: 187.6 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003615, allocations: 5.781 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.003742, allocations: 96.12 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.003864, allocations: 56.8 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.003901, allocations: 15.31 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.003978, allocations: 25.84 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.004004, allocations: 15.55 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.004087, allocations: 52.81 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.004291, allocations: 142.2 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004294, allocations: 0 / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.004295, allocations: 0 / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.004301, allocations: 1.094 kB / 484.2 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.0004312/0.004732, allocations: 469 kB / 484.7 MB, free: 9.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.00478, allocations: 9.719 kB / 484.7 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.004849, allocations: 17.75 kB / 484.7 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.004932, allocations: 109.3 kB / 484.8 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.004957, allocations: 5.469 kB / 484.8 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.004986, allocations: 13.45 kB / 484.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.005105, allocations: 66.78 kB / 484.9 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.005114, allocations: 4.906 kB / 484.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.005125, allocations: 0 / 484.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005131, allocations: 1.125 kB / 484.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.005157, allocations: 9.969 kB / 484.9 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.005605, allocations: 332.8 kB / 485.3 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/0.005689, allocations: 44.72 kB / 485.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.005709, allocations: 15.3 kB / 485.3 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.005714, allocations: 1.25 kB / 485.3 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.005834, allocations: 87.62 kB / 485.4 MB, free: 9.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.005836, allocations: 0 / 485.4 MB, free: 9.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002556/0.006092, allocations: 120.4 kB / 485.5 MB, free: 9.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.006126, allocations: 56.91 kB / 485.6 MB, free: 9.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.006208, allocations: 189.9 kB / 485.8 MB, free: 8.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.006229, allocations: 31.7 kB / 485.8 MB, free: 8.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.006497, allocations: 141.1 kB / 485.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.006514, allocations: 18.7 kB / 486 MB, free: 24.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.00659, allocations: 62.12 kB / 486 MB, free: 24.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.006726, allocations: 496.9 kB / 486.5 MB, free: 24.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.006848, allocations: 113.6 kB / 486.6 MB, free: 24.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.006988, allocations: 182.1 kB / 486.8 MB, free: 23.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.007142, allocations: 191.6 kB / 487 MB, free: 23.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.007147, allocations: 11.86 kB / 487 MB, free: 23.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003715/0.007518, allocations: 332.9 kB / 487.3 MB, free: 23.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.007566, allocations: 67.86 kB / 487.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.007574, allocations: 4.031 kB / 487.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.007595, allocations: 2.188 kB / 487.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.007665, allocations: 14.56 kB / 487.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.007673, allocations: 1.062 kB / 487.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.007864, allocations: 41.3 kB / 487.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.007897, allocations: 17.89 kB / 487.5 MB, free: 23.46 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.0001228/0.00802, allocations: 170.7 kB / 487.6 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.008039, allocations: 9.234 kB / 487.6 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.008078, allocations: 10.44 kB / 487.6 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.008084, allocations: 5.094 kB / 487.6 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.008091, allocations: 1.156 kB / 487.7 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008095, allocations: 0 / 487.7 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.008401, allocations: 348.6 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008403, allocations: 0 / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.008414, allocations: 8.656 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.008417, allocations: 1.156 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.00843, allocations: 3.156 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.008436, allocations: 1.281 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.008438, allocations: 3.938 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.008636, allocations: 251.8 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.008651, allocations: 7.203 kB / 488.3 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.008676, allocations: 13.09 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.283e-05/0.008718, allocations: 1.438 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.00877, allocations: 6.25 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.008795, allocations: 4.188 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.008901, allocations: 135 kB / 488.4 MB, free: 22.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008901, allocations: 0 / 488.4 MB, free: 22.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.009151, allocations: 36.45 kB / 488.5 MB, free: 22.61 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.0002303/0.009381, allocations: 101.1 kB / 488.6 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.009754, allocations: 294.1 kB / 488.8 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.009759, allocations: 1.25 kB / 488.8 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.009822, allocations: 34.33 kB / 488.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01012, allocations: 24.81 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.0004223/0.01054, allocations: 161.9 kB / 489.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.01058, allocations: 61.72 kB / 489.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.01062, allocations: 6.391 kB / 489.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.01065, allocations: 15.03 kB / 489.1 MB, free: 22.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01065, allocations: 4.219 kB / 489.1 MB, free: 22.05 MB / 426.7 MB Notification: Performance of Templates: time 0.004316/0.01497, allocations: 2.127 MB / 491.3 MB, free: 21.87 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.75770670408383]