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.0009049/0.0009049, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0009131/0.0009131, allocations: 173 kB / 24.15 MB, free: 352 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 1.084/1.084, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6607/0.6607, allocations: 115 MB / 376 MB, free: 7.516 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.983e-06/1.983e-06, allocations: 0 / 428.8 MB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.6e-05, allocations: 2.312 kB / 428.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002236/0.002262, allocations: 0.7161 MB / 429.5 MB, free: 2.043 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004043, allocations: 1.252 MB / 430.7 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.004085, allocations: 0 / 430.7 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.004113, allocations: 3.938 kB / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.004188, allocations: 19.86 kB / 430.8 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.004776, allocations: 211.4 kB / 431 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.005032, allocations: 187.6 kB / 431.1 MB, free: 372 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.005108, allocations: 3.984 kB / 431.2 MB, free: 368 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.00525, allocations: 91.94 kB / 431.2 MB, free: 276 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.005395, allocations: 59.83 kB / 431.3 MB, free: 216 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.005432, allocations: 16 kB / 431.3 MB, free: 200 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.005526, allocations: 31.92 kB / 431.3 MB, free: 168 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.005552, allocations: 11.98 kB / 431.4 MB, free: 156 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.005621, allocations: 55.88 kB / 431.4 MB, free: 100 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.005855, allocations: 139.6 kB / 431.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005858, allocations: 0 / 431.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005859, allocations: 0 / 431.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005863, allocations: 0 / 431.6 MB, free: 15.96 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.0004443/0.006308, allocations: 336.2 kB / 431.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.006347, allocations: 8.031 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.006398, allocations: 12.92 kB / 431.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.006497, allocations: 117.7 kB / 432 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.006521, allocations: 8.359 kB / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.006548, allocations: 12.38 kB / 432 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.006649, allocations: 62.88 kB / 432.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.00666, allocations: 7.938 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.006667, allocations: 0 / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006673, allocations: 0 / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.006693, allocations: 8 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.007059, allocations: 176.2 kB / 432.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.007145, allocations: 42.55 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.00716, allocations: 8.859 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.007166, allocations: 4 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.007299, allocations: 83.36 kB / 432.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.0073, allocations: 4 kB / 432.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001766/0.007477, allocations: 85.59 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.007513, allocations: 55.41 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.007602, allocations: 118.6 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.007633, allocations: 33.7 kB / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.007688, allocations: 96.28 kB / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.007712, allocations: 15.89 kB / 432.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.007802, allocations: 49.67 kB / 432.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.007904, allocations: 322.8 kB / 433.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.008021, allocations: 99.31 kB / 433.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.008154, allocations: 149.3 kB / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.008318, allocations: 161.3 kB / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.008321, allocations: 0 / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003053/0.008626, allocations: 276.2 kB / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.008685, allocations: 67.39 kB / 433.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.008692, allocations: 8.156 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.008707, allocations: 0 / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.008759, allocations: 15.98 kB / 433.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.008766, allocations: 3.938 kB / 433.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.008965, allocations: 39.92 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.008996, allocations: 15.98 kB / 434 MB, free: 13.22 MB / 410.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.187e-05/0.009088, allocations: 117.8 kB / 434.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.009106, allocations: 15.92 kB / 434.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.009137, allocations: 12.44 kB / 434.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.009139, allocations: 0 / 434.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.009141, allocations: 0 / 434.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009145, allocations: 0 / 434.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.009361, allocations: 218.8 kB / 434.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.009365, allocations: 4.031 kB / 434.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.009378, allocations: 3.984 kB / 434.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.009382, allocations: 3.984 kB / 434.4 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.00939, allocations: 8 kB / 434.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.009391, allocations: 0 / 434.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.009396, allocations: 7.938 kB / 434.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.009521, allocations: 151.5 kB / 434.5 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.009534, allocations: 15.88 kB / 434.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.009549, allocations: 0 / 434.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.009611, allocations: 7.938 kB / 434.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.00964, allocations: 7.984 kB / 434.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.009653, allocations: 7.938 kB / 434.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.333e-05/0.009676, allocations: 17.39 kB / 434.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009676, allocations: 0 / 434.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.009949, allocations: 35.94 kB / 434.6 MB, free: 12.54 MB / 410.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.0001428/0.01009, allocations: 88.39 kB / 434.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01037, allocations: 267.5 kB / 435 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.01037, allocations: 4 kB / 435 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.01041, allocations: 20.8 kB / 435 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01066, allocations: 36.02 kB / 435 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.01097, allocations: 161.1 kB / 435.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.01102, allocations: 55.36 kB / 435.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.01105, allocations: 16.66 kB / 435.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.01119, allocations: 79.34 kB / 435.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01119, allocations: 0 / 435.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of Templates: time 0.005069/0.01626, allocations: 2.302 MB / 437.6 MB, free: 9.441 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5040188701823354]