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.001416/0.001416, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001818/0.001818, allocations: 211.9 kB / 22.99 MB, free: 4.605 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9842/0.9842, allocations: 149.9 MB / 463 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.003143/0.003143, allocations: 70.67 kB / 0.6416 GB, free: 9.648 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2138, allocations: 89.17 MB / 0.7286 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.00253/0.2163, allocations: 0.7443 MB / 0.7294 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2177, allocations: 0.8821 MB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.2177, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.2178, allocations: 3.938 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2179, allocations: 15.88 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2181, allocations: 43.94 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.2183, allocations: 87.77 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2184, allocations: 15.98 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2185, allocations: 39.91 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2186, allocations: 43.77 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.2187, allocations: 8 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.2187, allocations: 8 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.2187, allocations: 23.97 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.2188, allocations: 27.86 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.219, allocations: 99.53 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.219, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.219, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.219, allocations: 0 / 0.7306 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.0008482/0.2198, allocations: 322 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.2199, allocations: 12.03 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.2199, allocations: 8.891 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2202, allocations: 114.5 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.2202, allocations: 4.375 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.2202, allocations: 12.38 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.2206, allocations: 109.5 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2206, allocations: 0 / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2206, allocations: 0 / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2206, allocations: 0 / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.221, allocations: 95.91 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.2216, allocations: 280.3 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.2222, allocations: 110.6 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2224, allocations: 60.69 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2224, allocations: 4 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2225, allocations: 34.55 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2225, allocations: 4 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006923/0.2232, allocations: 185.4 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2232, allocations: 51.41 kB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2233, allocations: 123.1 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2234, allocations: 29.7 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.2235, allocations: 92.09 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.2235, allocations: 27.83 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.2235, allocations: 21.7 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2237, allocations: 318.8 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.2239, allocations: 47.95 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2241, allocations: 43.95 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.2244, allocations: 105.2 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2244, allocations: 0 / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004238/0.2248, allocations: 137.5 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2248, allocations: 9.406 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2249, allocations: 0 / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.2249, allocations: 0 / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.225, allocations: 27.97 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2251, allocations: 0 / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2252, allocations: 19.94 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2252, allocations: 3.938 kB / 0.7329 GB, free: 11.96 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 9.808e-05/0.2253, allocations: 113.8 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.2253, allocations: 7.984 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.2258, allocations: 157.9 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2258, allocations: 3.984 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2258, allocations: 0 / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2258, allocations: 7.938 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.226, allocations: 137.2 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.226, allocations: 0 / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2261, allocations: 23.97 kB / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2261, allocations: 0 / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2261, allocations: 11.98 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2261, allocations: 0 / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2261, allocations: 0 / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.2266, allocations: 243.3 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.2266, allocations: 7.938 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2266, allocations: 0 / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2268, allocations: 15.98 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.2268, allocations: 19.97 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2269, allocations: 11.94 kB / 0.7337 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.2269, allocations: 96.14 kB / 0.7338 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2269, allocations: 0 / 0.7338 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002289/0.2272, allocations: 15.95 kB / 0.7338 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.0001225/0.2273, allocations: 103.2 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2277, allocations: 103.8 kB / 0.734 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2277, allocations: 0 / 0.734 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2279, allocations: 63.94 kB / 0.734 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.0003062/0.2282, allocations: 8 kB / 0.734 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.2287, allocations: 174.2 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.2287, allocations: 83.27 kB / 0.7343 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.609e-05/0.2288, allocations: 8 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.2289, allocations: 23.42 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2289, allocations: 0 / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.004839/0.2337, allocations: 1.739 MB / 0.736 GB, free: 8.719 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: 6.249776039272547] Failed to read output from testmodel.py, exit status != 0: 0.2447543404996395 0.257049774 0.03502281 Calling exit ...