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.0007645/0.0007645, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007704/0.0007704, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.89/0.89, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.5583/0.5583, allocations: 114 MB / 374.7 MB, free: 8.715 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.464e-06/2.464e-06, allocations: 0 / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.869e-05, allocations: 4.953 kB / 0.5554 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001391/0.001419, allocations: 0.6704 MB / 0.5561 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.002593, allocations: 1.221 MB / 0.5573 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.00263, allocations: 0 / 0.5573 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.002658, allocations: 3.938 kB / 0.5573 GB, free: 408 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.002719, allocations: 11.92 kB / 0.5573 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.003183, allocations: 217.3 kB / 0.5575 GB, free: 184 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.003352, allocations: 179.6 kB / 0.5577 GB, free: 4 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.003449, allocations: 12.08 kB / 0.5577 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003555, allocations: 95.83 kB / 0.5578 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.003662, allocations: 59.84 kB / 0.5578 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.003686, allocations: 16 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.003744, allocations: 23.98 kB / 0.5579 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.003766, allocations: 11.94 kB / 0.5579 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.00383, allocations: 59.88 kB / 0.5579 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.004021, allocations: 187.5 kB / 0.5581 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004023, allocations: 0 / 0.5581 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004024, allocations: 0 / 0.5581 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.004029, allocations: 4 kB / 0.5581 GB, free: 15.54 MB / 0.5261 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.0003878/0.004417, allocations: 365.5 kB / 0.5585 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.004452, allocations: 12.62 kB / 0.5585 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.004494, allocations: 4.938 kB / 0.5585 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.004567, allocations: 115.8 kB / 0.5586 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.004585, allocations: 12.36 kB / 0.5586 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.004605, allocations: 8.375 kB / 0.5586 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.004695, allocations: 54.23 kB / 0.5587 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.004703, allocations: 3.938 kB / 0.5587 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004713, allocations: 0 / 0.5587 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.004716, allocations: 0 / 0.5587 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.004751, allocations: 19.92 kB / 0.5587 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.005115, allocations: 276.5 kB / 0.559 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.005181, allocations: 38.45 kB / 0.559 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.0052, allocations: 12.94 kB / 0.559 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.005206, allocations: 0 / 0.559 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.005333, allocations: 107.2 kB / 0.5591 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.005334, allocations: 0 / 0.5591 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002141/0.005548, allocations: 129.5 kB / 0.5592 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.005577, allocations: 55.41 kB / 0.5593 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.005644, allocations: 117.8 kB / 0.5594 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.005665, allocations: 37.64 kB / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.005716, allocations: 96.31 kB / 0.5595 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.005731, allocations: 19.89 kB / 0.5595 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.005791, allocations: 53.69 kB / 0.5596 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.005864, allocations: 318.8 kB / 0.5599 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.00598, allocations: 123.4 kB / 0.56 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.006103, allocations: 169.3 kB / 0.5602 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.006251, allocations: 185.3 kB / 0.5604 GB, free: 13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.006254, allocations: 3.938 kB / 0.5604 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003157/0.00657, allocations: 348.2 kB / 0.5607 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.00661, allocations: 71.39 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006614, allocations: 0 / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.006626, allocations: 4 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.006671, allocations: 4 kB / 0.5608 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.006676, allocations: 160 / 0.5608 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.006844, allocations: 59.83 kB / 0.5608 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.006867, allocations: 19.98 kB / 0.5608 GB, free: 12.45 MB / 0.5261 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 7.295e-05/0.00694, allocations: 130.5 kB / 0.561 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.006948, allocations: 4 kB / 0.561 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.006968, allocations: 12.44 kB / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.00697, allocations: 384 / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006974, allocations: 4 kB / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006977, allocations: 0 / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.007183, allocations: 310 kB / 0.5613 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007184, allocations: 4 kB / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.007189, allocations: 0 / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.007191, allocations: 0 / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.0072, allocations: 11.98 kB / 0.5613 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007201, allocations: 0 / 0.5613 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007202, allocations: 0 / 0.5613 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.007315, allocations: 195.4 kB / 0.5615 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-06/0.007321, allocations: 3.953 kB / 0.5615 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.007335, allocations: 15.94 kB / 0.5615 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.007366, allocations: 3.984 kB / 0.5615 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.007392, allocations: 4 kB / 0.5615 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.007404, allocations: 7.984 kB / 0.5615 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.007438, allocations: 94.89 kB / 0.5616 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007438, allocations: 3.938 kB / 0.5616 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001845/0.007622, allocations: 31.98 kB / 0.5616 GB, free: 11.57 MB / 0.5261 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.000107/0.007729, allocations: 99.25 kB / 0.5617 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.007985, allocations: 294.1 kB / 0.562 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007987, allocations: 0 / 0.562 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.008026, allocations: 31.92 kB / 0.562 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.008222, allocations: 24.23 kB / 0.5621 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.008487, allocations: 186.9 kB / 0.5622 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.008534, allocations: 79.58 kB / 0.5623 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.008551, allocations: 16.5 kB / 0.5623 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.008551, allocations: 0 / 0.5623 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.001964/0.01052, allocations: 1.51 MB / 0.5638 GB, free: 9.273 MB / 0.5261 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.845923830755055] Failed to read output from testmodel.py, exit status != 0: 0.016308688558638096 0.023439606 0.017769897 Calling exit ...