Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001576/0.001576, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001826/0.001826, allocations: 218.4 kB / 23 MB, free: 5.004 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.965 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 1.04/1.04, allocations: 150 MB / 463.1 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 178] 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") [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.002403/0.002403, allocations: 65.23 kB / 0.6417 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2236, allocations: 89.16 MB / 0.7288 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002658/0.2262, allocations: 0.7665 MB / 0.7296 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2277, allocations: 0.8977 MB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.2278, allocations: 0 / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.2278, allocations: 7.938 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.2279, allocations: 7.875 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2281, allocations: 35.95 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2283, allocations: 87.75 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2284, allocations: 19.98 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2286, allocations: 39.84 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2287, allocations: 51.83 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.2287, allocations: 8 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.2287, allocations: 12 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.2288, allocations: 19.91 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.2288, allocations: 35.84 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.229, allocations: 91.55 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.229, allocations: 0 / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.515e-06/0.229, allocations: 0 / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.229, allocations: 0 / 0.7308 GB, free: 14.68 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.000734/0.2297, allocations: 334 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.2298, allocations: 12.03 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.2298, allocations: 8.891 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.23, allocations: 114.5 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.23, allocations: 12.31 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.23, allocations: 4.375 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.2304, allocations: 109.5 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2304, allocations: 0 / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2304, allocations: 0 / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2304, allocations: 4 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.2308, allocations: 99.89 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.2315, allocations: 319.7 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.2321, allocations: 114.6 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2323, allocations: 56.81 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2323, allocations: 0 / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.2323, allocations: 34.5 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.2323, allocations: 0 / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006623/0.233, allocations: 193.4 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.233, allocations: 51.41 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.2332, allocations: 124.2 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2332, allocations: 25.7 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.2333, allocations: 104.1 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.2333, allocations: 23.83 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.2334, allocations: 21.7 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2335, allocations: 318.8 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.2337, allocations: 47.95 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2339, allocations: 43.95 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.2342, allocations: 92.78 kB / 0.733 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2342, allocations: 0 / 0.733 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004084/0.2346, allocations: 145.5 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2346, allocations: 8 kB / 0.7332 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2346, allocations: 0 / 0.7332 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2347, allocations: 0 / 0.7332 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2348, allocations: 27.97 kB / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2348, allocations: 4 kB / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.235, allocations: 19.88 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.235, allocations: 7.984 kB / 0.7332 GB, free: 12.07 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,sub.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.000111/0.2351, allocations: 117.8 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.2351, allocations: 4 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.2352, allocations: 8.375 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2352, allocations: 0 / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2352, allocations: 3.938 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2352, allocations: 3.938 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.2354, allocations: 176.6 kB / 0.7335 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2354, allocations: 3.938 kB / 0.7335 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2356, allocations: 23.97 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2356, allocations: 3.938 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2356, allocations: 12 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2356, allocations: 3.984 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2356, allocations: 0 / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.236, allocations: 227.4 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.2361, allocations: 7.922 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.2361, allocations: 8 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2362, allocations: 11.98 kB / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.2363, allocations: 31.84 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2363, allocations: 0 / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.203e-05/0.2364, allocations: 95.27 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 0 / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003341/0.2367, allocations: 15.95 kB / 0.7339 GB, free: 11.26 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 (sub.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.000158/0.2369, allocations: 107.2 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.2373, allocations: 103.9 kB / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2373, allocations: 0 / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2376, allocations: 63.88 kB / 0.7342 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2379, allocations: 12.94 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.2384, allocations: 174.2 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.2388, allocations: 0.6923 MB / 0.7351 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.294e-05/0.2389, allocations: 15.98 kB / 0.7351 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.2389, allocations: 15.42 kB / 0.7351 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2389, allocations: 0 / 0.7351 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.005307/0.2442, allocations: 1.634 MB / 0.7367 GB, free: 8.398 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.176775622181594] Failed to read output from testmodel.py, exit status != 0: 0.2550947139970958 0.271982583 0.039289784 Calling exit ...