Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001322/0.001322, allocations: 103.7 kB / 20.5 MB, free: 1.34 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.002328/0.002328, allocations: 217.9 kB / 23.8 MB, free: 4.484 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.566/1.566, allocations: 230.6 MB / 257.6 MB, free: 7.719 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.9964/0.9964, allocations: 150 MB / 464 MB, free: 10.18 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [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.002126/0.002126, allocations: 65.86 kB / 0.6425 GB, free: 9.328 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2225, allocations: 89.17 MB / 0.7296 GB, free: 236 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.001959/0.2245, allocations: 0.7404 MB / 0.7303 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2256, allocations: 0.886 MB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.2256, allocations: 0 / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.2257, allocations: 15.86 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.2257, allocations: 3.938 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.2259, allocations: 47.88 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2261, allocations: 87.77 kB / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2262, allocations: 19.98 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.2263, allocations: 39.91 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.2263, allocations: 39.83 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.2264, allocations: 8 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.2264, allocations: 12 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.2264, allocations: 23.91 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.2265, allocations: 31.86 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2266, allocations: 87.59 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2266, allocations: 0 / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2266, allocations: 0 / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2266, allocations: 0 / 0.7316 GB, free: 14.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006436/0.2272, allocations: 318 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2273, allocations: 11.97 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.2273, allocations: 12.89 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2275, allocations: 118.4 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2275, allocations: 4.375 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2275, allocations: 4.375 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2278, allocations: 109.5 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2278, allocations: 0 / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2278, allocations: 4 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2278, allocations: 4 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.2282, allocations: 99.84 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.2288, allocations: 276.3 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.2294, allocations: 118.5 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.2296, allocations: 52.81 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.2296, allocations: 7.922 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.2297, allocations: 38.56 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2297, allocations: 0 / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007082/0.2304, allocations: 185.5 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2304, allocations: 51.41 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2305, allocations: 133.4 kB / 0.7331 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.2305, allocations: 25.7 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.2306, allocations: 96.03 kB / 0.7332 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.2306, allocations: 19.83 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.2307, allocations: 21.72 kB / 0.7332 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2308, allocations: 326.8 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.231, allocations: 43.95 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.2312, allocations: 47.95 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.2316, allocations: 96.77 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2316, allocations: 0 / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004393/0.232, allocations: 137.5 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.232, allocations: 8 kB / 0.7339 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.232, allocations: 0 / 0.7339 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2321, allocations: 4 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.2322, allocations: 27.91 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2323, allocations: 3.984 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.2324, allocations: 15.94 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.2324, allocations: 0.5469 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001022/0.2325, allocations: 117.8 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.2325, allocations: 4 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.233, allocations: 157.9 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.233, allocations: 0 / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.233, allocations: 4 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.233, allocations: 3.953 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2331, allocations: 3.938 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2332, allocations: 15.98 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.2333, allocations: 23.97 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005668/0.2339, allocations: 232.9 kB / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005288/0.2344, allocations: 314.6 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002107/0.2346, allocations: 55.89 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.2347, allocations: 95.27 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of Backend: time 4.01e-07/0.2347, allocations: 0 / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005297/0.2352, allocations: 126.3 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0006314/0.2358, allocations: 0.6118 MB / 0.7356 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of Templates: time 0.004855/0.2407, allocations: 1.986 MB / 0.7375 GB, free: 7.848 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9628082669805735] Failed to read output from testmodel.py, exit status != 0: 0.2487327540293336 0.272680962 0.041092428 Calling exit ...