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.001777/0.001777, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001447/0.001447, allocations: 211.2 kB / 23.75 MB, free: 4.445 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9568/0.9568, allocations: 149.9 MB / 463.8 MB, free: 10.36 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.002431/0.002431, allocations: 67.03 kB / 0.6423 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2006, allocations: 89.17 MB / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002354/0.2029, allocations: 0.7461 MB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2043, allocations: 0.8822 MB / 0.731 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.2044, allocations: 4 kB / 0.731 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.2044, allocations: 7.922 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.339e-05/0.2045, allocations: 7.875 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.2047, allocations: 43.94 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.2049, allocations: 87.77 kB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.205, allocations: 23.97 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.2051, allocations: 31.92 kB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2052, allocations: 43.81 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.2053, allocations: 12 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.2053, allocations: 8 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.2053, allocations: 27.86 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.2054, allocations: 27.86 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2055, allocations: 91.59 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2055, allocations: 0 / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2055, allocations: 0 / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.2055, allocations: 0 / 0.7314 GB, free: 14.5 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.0007563/0.2063, allocations: 322 kB / 0.7317 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.2064, allocations: 16.03 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.2064, allocations: 12.89 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.2066, allocations: 121 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.2066, allocations: 4.375 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2067, allocations: 8.375 kB / 0.7318 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.207, allocations: 112.3 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.207, allocations: 0 / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.2071, allocations: 0 / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2071, allocations: 0 / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.2074, allocations: 99.91 kB / 0.732 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.2081, allocations: 272.3 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.2087, allocations: 114.5 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2089, allocations: 60.8 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.2089, allocations: 4 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2089, allocations: 30.56 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2089, allocations: 3.938 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006929/0.2096, allocations: 181.5 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.2097, allocations: 55.41 kB / 0.7327 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2098, allocations: 125.8 kB / 0.7328 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2098, allocations: 29.7 kB / 0.7329 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.2099, allocations: 92.09 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.2099, allocations: 23.83 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.21, allocations: 21.72 kB / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2102, allocations: 318.8 kB / 0.7333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2103, allocations: 47.95 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2105, allocations: 47.95 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2109, allocations: 104.7 kB / 0.7335 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2109, allocations: 0 / 0.7335 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003999/0.2113, allocations: 130 kB / 0.7336 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2113, allocations: 12 kB / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2113, allocations: 0 / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2113, allocations: 3.984 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2115, allocations: 23.97 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2115, allocations: 0 / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2116, allocations: 19.94 kB / 0.7337 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2116, allocations: 8.016 kB / 0.7337 GB, free: 11.95 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.0001131/0.2117, allocations: 117.8 kB / 0.7338 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.2118, allocations: 4 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.2122, allocations: 153.9 kB / 0.734 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2122, allocations: 0 / 0.734 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2122, allocations: 0 / 0.734 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2122, allocations: 3.984 kB / 0.734 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.2124, allocations: 141.2 kB / 0.7341 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2124, allocations: 4 kB / 0.7341 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2126, allocations: 23.97 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2126, allocations: 4 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2126, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2126, allocations: 7.938 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2126, allocations: 3.938 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.2131, allocations: 235.3 kB / 0.7344 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.2131, allocations: 15.92 kB / 0.7344 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2131, allocations: 0 / 0.7344 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2133, allocations: 15.98 kB / 0.7344 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.2133, allocations: 27.91 kB / 0.7344 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2134, allocations: 0 / 0.7344 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.2134, allocations: 95.27 kB / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2134, allocations: 0 / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002391/0.2137, allocations: 15.95 kB / 0.7345 GB, free: 11.04 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001322/0.2138, allocations: 103.2 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.2142, allocations: 103.8 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2142, allocations: 0 / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.2144, allocations: 59.94 kB / 0.7348 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2148, allocations: 11.81 kB / 0.7348 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.2153, allocations: 207.9 kB / 0.735 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.931e-05/0.2154, allocations: 75.33 kB / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.2154, allocations: 19.42 kB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2154, allocations: 0 / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.003553/0.219, allocations: 1.247 MB / 0.7363 GB, free: 9.172 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: 7.9261814299970865] Failed to read output from testmodel.py, exit status != 0: 0.22859256621450186 0.24377456600000003 0.035069073 Calling exit ...