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.00172/0.00172, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001919/0.001919, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.499/1.499, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.9304/0.9304, allocations: 115 MB / 375.3 MB, free: 7.555 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.394e-06/2.394e-06, allocations: 0 / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.667e-05, allocations: 4.984 kB / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002353/0.00238, allocations: 0.6518 MB / 481.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.00446, allocations: 1.22 MB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.004512, allocations: 0.7812 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.004548, allocations: 7.219 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.388e-05/0.004642, allocations: 21.98 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.005494, allocations: 212.9 kB / 482.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.005784, allocations: 181.1 kB / 483.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.005881, allocations: 7 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.006087, allocations: 99.31 kB / 483.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.006274, allocations: 54.66 kB / 483.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.006328, allocations: 13.97 kB / 483.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.006429, allocations: 29.27 kB / 483.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.00646, allocations: 12.66 kB / 483.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.006571, allocations: 48.67 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.006875, allocations: 194.2 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006878, allocations: 1.312 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006879, allocations: 0 / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.006884, allocations: 0 / 483.5 MB, free: 10.3 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.0006047/0.007489, allocations: 366.3 kB / 483.9 MB, free: 9.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.007534, allocations: 10.62 kB / 483.9 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.007639, allocations: 13.42 kB / 483.9 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.007725, allocations: 114.9 kB / 484 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.00776, allocations: 7.922 kB / 484 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.007807, allocations: 17.84 kB / 484 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.007951, allocations: 56.73 kB / 484.1 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007962, allocations: 3.938 kB / 484.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.007974, allocations: 1.062 kB / 484.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.007979, allocations: 1 kB / 484.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.008048, allocations: 15.08 kB / 484.1 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.008605, allocations: 274 kB / 484.4 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.008714, allocations: 44 kB / 484.4 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.008755, allocations: 9.984 kB / 484.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.008769, allocations: 1.844 kB / 484.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.009033, allocations: 99.7 kB / 484.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.009036, allocations: 0 / 484.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000444/0.00948, allocations: 132.2 kB / 484.7 MB, free: 9.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.009512, allocations: 58.66 kB / 484.7 MB, free: 9.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.009625, allocations: 122.7 kB / 484.8 MB, free: 9.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.009667, allocations: 33.89 kB / 484.9 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.009737, allocations: 93.86 kB / 485 MB, free: 9.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.00976, allocations: 11.97 kB / 485 MB, free: 9.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.009925, allocations: 55.64 kB / 485 MB, free: 9.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002952/0.01022, allocations: 321.3 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.01046, allocations: 122.6 kB / 485.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.01072, allocations: 169.3 kB / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.01101, allocations: 181.4 kB / 485.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01102, allocations: 6.125 kB / 485.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007636/0.01178, allocations: 352.8 kB / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.01188, allocations: 68.3 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01189, allocations: 5.484 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.01191, allocations: 2.156 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.01198, allocations: 12.44 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01199, allocations: 6.469 kB / 486.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.01252, allocations: 64.08 kB / 486.3 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.01257, allocations: 13.56 kB / 486.3 MB, free: 24 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.0001735/0.01275, allocations: 129.1 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.01279, allocations: 9.891 kB / 486.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.01282, allocations: 13.78 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01283, allocations: 6.438 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01283, allocations: 0 / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01284, allocations: 1.094 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.01331, allocations: 300.9 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01332, allocations: 0.6562 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.01333, allocations: 2.031 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01334, allocations: 2.812 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01335, allocations: 5.312 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01335, allocations: 0 / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01335, allocations: 3.828 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.01367, allocations: 203.3 kB / 487 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.01369, allocations: 14.58 kB / 487 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.01372, allocations: 1.125 kB / 487 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01382, allocations: 5.219 kB / 487 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.01387, allocations: 4.062 kB / 487 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.01389, allocations: 12.61 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.01399, allocations: 90.56 kB / 487.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01399, allocations: 1.219 kB / 487.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00055/0.01454, allocations: 31.97 kB / 487.2 MB, free: 23.34 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.0002238/0.01476, allocations: 101.5 kB / 487.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005786/0.01534, allocations: 296.2 kB / 487.5 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01535, allocations: 1.562 kB / 487.5 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.01543, allocations: 27.69 kB / 487.6 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.01598, allocations: 28.06 kB / 487.6 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.01645, allocations: 165.3 kB / 487.8 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.229e-05/0.01654, allocations: 76.48 kB / 487.8 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.936e-05/0.01658, allocations: 6.078 kB / 487.8 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.01661, allocations: 14.91 kB / 487.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01661, allocations: 0 / 487.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of Templates: time 0.007635/0.02425, allocations: 2.13 MB / 490 MB, free: 22.6 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532572527998127]