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.001036/0.001036, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001204/0.001204, allocations: 169 kB / 24.05 MB, free: 456 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.098/1.098, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.6265/0.6265, allocations: 115 MB / 376 MB, free: 7.469 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.585e-06/2.585e-06, allocations: 0 / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.891e-05, allocations: 2.938 kB / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001916/0.001945, allocations: 0.6664 MB / 482.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.003552, allocations: 1.259 MB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.003604, allocations: 0.5625 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.003634, allocations: 3.938 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.003715, allocations: 8.719 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.004335, allocations: 214.8 kB / 484.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.004585, allocations: 180.5 kB / 484.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.004684, allocations: 3.312 kB / 484.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.004846, allocations: 103.3 kB / 484.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.004982, allocations: 51.75 kB / 484.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.005021, allocations: 20.16 kB / 484.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.005103, allocations: 33.19 kB / 484.5 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.005129, allocations: 8.078 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.005194, allocations: 54.42 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.0054, allocations: 135.8 kB / 484.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.005404, allocations: 6.656 kB / 484.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005405, allocations: 0 / 484.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.00541, allocations: 0 / 484.7 MB, free: 10.1 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.0004499/0.00586, allocations: 467.8 kB / 485.2 MB, free: 9.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.005908, allocations: 8.781 kB / 485.2 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.005975, allocations: 17.88 kB / 485.2 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.00605, allocations: 113.3 kB / 485.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.006077, allocations: 10.06 kB / 485.3 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.006105, allocations: 9.281 kB / 485.3 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.006203, allocations: 58.3 kB / 485.4 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006211, allocations: 3.938 kB / 485.4 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.006221, allocations: 5.312 kB / 485.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006228, allocations: 1.312 kB / 485.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.006246, allocations: 9.031 kB / 485.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.00686, allocations: 310.7 kB / 485.7 MB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.344e-05/0.006944, allocations: 39.25 kB / 485.7 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.006961, allocations: 15.05 kB / 485.7 MB, free: 25.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.006967, allocations: 6.156 kB / 485.8 MB, free: 25.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.007091, allocations: 88.64 kB / 485.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.007093, allocations: 2.25 kB / 485.8 MB, free: 25.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002404/0.007334, allocations: 111.4 kB / 486 MB, free: 25.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.007367, allocations: 58.22 kB / 486 MB, free: 24.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007467, allocations: 184.5 kB / 486.2 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.007495, allocations: 34.5 kB / 486.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.007562, allocations: 140.7 kB / 486.4 MB, free: 24.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.007582, allocations: 23.38 kB / 486.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.007675, allocations: 58.25 kB / 486.4 MB, free: 24.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.007801, allocations: 0.4898 MB / 486.9 MB, free: 24.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.007916, allocations: 102.8 kB / 487 MB, free: 23.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.008046, allocations: 175.4 kB / 487.2 MB, free: 23.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.008194, allocations: 182.3 kB / 487.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.008197, allocations: 0 / 487.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003701/0.008567, allocations: 330.6 kB / 487.7 MB, free: 23.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.008613, allocations: 63.16 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.008621, allocations: 4.156 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.008638, allocations: 5.5 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.008685, allocations: 8.969 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008691, allocations: 9.938 kB / 487.8 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.008893, allocations: 43.22 kB / 487.8 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.008921, allocations: 9.469 kB / 487.8 MB, free: 23.38 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.0001031/0.009024, allocations: 174.9 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.009047, allocations: 17.02 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.009075, allocations: 5.594 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.009079, allocations: 1.5 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.009082, allocations: 1.25 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.009087, allocations: 4.047 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.009348, allocations: 323.5 kB / 488.4 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.009351, allocations: 0 / 488.4 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.009361, allocations: 10.38 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.009364, allocations: 0 / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.00937, allocations: 1.219 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.009373, allocations: 1.406 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.009375, allocations: 3.234 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.009542, allocations: 246.8 kB / 488.6 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.009552, allocations: 5.109 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.009568, allocations: 1.469 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.009627, allocations: 0.9688 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.009657, allocations: 19.22 kB / 488.6 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.00967, allocations: 2.938 kB / 488.6 MB, free: 22.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.009725, allocations: 129.9 kB / 488.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009725, allocations: 0 / 488.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000312/0.01004, allocations: 36.98 kB / 488.8 MB, free: 22.56 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.0001654/0.0102, allocations: 100.8 kB / 488.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.01051, allocations: 284.6 kB / 489.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01051, allocations: 2.25 kB / 489.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.01055, allocations: 26.31 kB / 489.2 MB, free: 22.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.01087, allocations: 26.38 kB / 489.2 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.01122, allocations: 165.8 kB / 489.4 MB, free: 22.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.01125, allocations: 62.75 kB / 489.5 MB, free: 22.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.01129, allocations: 4.797 kB / 489.5 MB, free: 22.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.01144, allocations: 107 kB / 489.6 MB, free: 21.94 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01144, allocations: 0 / 489.6 MB, free: 21.94 MB / 426.7 MB Notification: Performance of Templates: time 0.005447/0.01688, allocations: 2.307 MB / 491.9 MB, free: 21.75 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.5946351336315274]