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.001817/0.001817, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.0023/0.0023, allocations: 209.4 kB / 23.76 MB, free: 4.727 MB / 14.72 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 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.9734/0.9734, allocations: 150 MB / 463.9 MB, free: 10.47 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 74.67 kB / 0.6425 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1906, allocations: 89.17 MB / 0.7296 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002334/0.193, allocations: 0.6714 MB / 0.7302 GB, free: 100 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.195, allocations: 1.241 MB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.1951, allocations: 4 kB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.1951, allocations: 0 / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.1952, allocations: 15.86 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.196, allocations: 218.4 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1963, allocations: 183.6 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1964, allocations: 8 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1965, allocations: 75.88 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1967, allocations: 63.84 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.1968, allocations: 16 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.1969, allocations: 31.98 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.1969, allocations: 15.92 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.197, allocations: 51.89 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1973, allocations: 155.5 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1973, allocations: 0 / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1973, allocations: 4 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1973, allocations: 0 / 0.7322 GB, free: 14.02 MB / 0.5606 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.0007287/0.198, allocations: 369.5 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1981, allocations: 11.97 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.1981, allocations: 20.83 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1983, allocations: 110.5 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1983, allocations: 4.375 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.1983, allocations: 12.36 kB / 0.7328 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1985, allocations: 53.62 kB / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1985, allocations: 0 / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1985, allocations: 3.984 kB / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1985, allocations: 0 / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.1986, allocations: 16 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.1992, allocations: 335.6 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.1993, allocations: 30.58 kB / 0.7332 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.1993, allocations: 24.88 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1993, allocations: 0 / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.1995, allocations: 91.3 kB / 0.7333 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1995, allocations: 0 / 0.7333 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.00032/0.1999, allocations: 129.5 kB / 0.7334 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.1999, allocations: 59.41 kB / 0.7335 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2001, allocations: 117.8 kB / 0.7336 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.2001, allocations: 29.7 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.2002, allocations: 96.36 kB / 0.7337 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2002, allocations: 15.89 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2003, allocations: 57.69 kB / 0.7338 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.2005, allocations: 326.8 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2006, allocations: 55.97 kB / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2008, allocations: 106 kB / 0.7342 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.2011, allocations: 193.3 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.2011, allocations: 4 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004998/0.2016, allocations: 277.4 kB / 0.7347 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/0.2017, allocations: 75.39 kB / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2017, allocations: 0 / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2017, allocations: 4 kB / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.2018, allocations: 15.86 kB / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2018, allocations: 0 / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.2021, allocations: 59.83 kB / 0.7348 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2021, allocations: 12 kB / 0.7348 GB, free: 11.08 MB / 0.5606 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 0.0002053/0.2023, allocations: 130.7 kB / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.2024, allocations: 7.953 kB / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.2024, allocations: 12.31 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2024, allocations: 4 kB / 0.735 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2024, allocations: 0 / 0.735 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2024, allocations: 3.938 kB / 0.735 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.2028, allocations: 333.5 kB / 0.7353 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2028, allocations: 4 kB / 0.7353 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-06/0.2028, allocations: 0 / 0.7353 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2028, allocations: 4 kB / 0.7353 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2028, allocations: 4 kB / 0.7353 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2028, allocations: 0 / 0.7353 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2028, allocations: 3.938 kB / 0.7353 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.203, allocations: 199.4 kB / 0.7355 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.203, allocations: 7.953 kB / 0.7355 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2031, allocations: 0 / 0.7355 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.2031, allocations: 8 kB / 0.7355 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.2031, allocations: 11.92 kB / 0.7355 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2032, allocations: 8 kB / 0.7356 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.315e-05/0.2032, allocations: 92.69 kB / 0.7356 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 0.7356 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002893/0.2035, allocations: 32 kB / 0.7357 GB, free: 10.16 MB / 0.5606 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.0001758/0.2037, allocations: 111.2 kB / 0.7358 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.2041, allocations: 238.8 kB / 0.736 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2041, allocations: 0 / 0.736 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.2042, allocations: 27.92 kB / 0.736 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2045, allocations: 19.98 kB / 0.7361 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.2049, allocations: 192.2 kB / 0.7362 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.2054, allocations: 0.6927 MB / 0.7369 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.2054, allocations: 11.44 kB / 0.7369 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2054, allocations: 0 / 0.7369 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of Templates: time 0.003737/0.2091, allocations: 1.504 MB / 0.7384 GB, free: 7.297 MB / 0.5606 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: 8.059430477907881] Failed to read output from testmodel.py, exit status != 0: 0.2197347371838987 0.23410493699999996 0.033682466 Calling exit ...