Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 113.3 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 189.7 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9542/0.9542, allocations: 149.5 MB / 456.3 MB, free: 1.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 66.92 kB / 0.6324 GB, free: 9.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2021, allocations: 87.88 MB / 0.7182 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002055/0.2042, allocations: 0.7706 MB / 0.719 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2054, allocations: 0.8701 MB / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.2054, allocations: 0 / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.2055, allocations: 7.922 kB / 0.7198 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.2055, allocations: 11.88 kB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.2057, allocations: 43.88 kB / 0.7199 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2059, allocations: 83.83 kB / 0.72 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.206, allocations: 19.98 kB / 0.72 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.2061, allocations: 39.84 kB / 0.72 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.2062, allocations: 43.83 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.2062, allocations: 12 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.2062, allocations: 8 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.2063, allocations: 19.92 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.2063, allocations: 47.72 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2065, allocations: 83.66 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2065, allocations: 0 / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2065, allocations: 0 / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2065, allocations: 0 / 0.7202 GB, free: 15.12 MB / 0.545 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.000654/0.2071, allocations: 318.1 kB / 0.7205 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2072, allocations: 8.625 kB / 0.7205 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.2072, allocations: 8.891 kB / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2074, allocations: 118.4 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2074, allocations: 8.312 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2074, allocations: 4.375 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.2078, allocations: 109.5 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2078, allocations: 0 / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2078, allocations: 15.97 kB / 0.7208 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2078, allocations: 7.938 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.2082, allocations: 94.41 kB / 0.7209 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.2088, allocations: 315.7 kB / 0.7212 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.2095, allocations: 114.6 kB / 0.7213 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.2097, allocations: 56.81 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2097, allocations: 0 / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2098, allocations: 34.55 kB / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2098, allocations: 4 kB / 0.7214 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007629/0.2105, allocations: 181.5 kB / 0.7216 GB, free: 13.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2106, allocations: 51.41 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2107, allocations: 129.7 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2107, allocations: 33.7 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.2108, allocations: 92.08 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.2108, allocations: 23.84 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.2109, allocations: 21.7 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.211, allocations: 318.8 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2112, allocations: 43.95 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.2114, allocations: 47.95 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.2118, allocations: 105.2 kB / 0.7224 GB, free: 12.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2118, allocations: 0 / 0.7224 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004624/0.2123, allocations: 137.5 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2123, allocations: 4 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2123, allocations: 0 / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2123, allocations: 7.984 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.2125, allocations: 27.97 kB / 0.7226 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2125, allocations: 0 / 0.7226 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2126, allocations: 19.86 kB / 0.7226 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2126, allocations: 0 / 0.7226 GB, free: 12.53 MB / 0.545 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,add1.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.0001087/0.2127, allocations: 121.8 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.2128, allocations: 11.89 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.2128, allocations: 16.36 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2128, allocations: 0 / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2128, allocations: 4 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2128, allocations: 3.938 kB / 0.7227 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.213, allocations: 164.7 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.213, allocations: 3.984 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.2132, allocations: 27.97 kB / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.2132, allocations: 8 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2132, allocations: 0 / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2132, allocations: 0 / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2132, allocations: 0 / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.2138, allocations: 235.3 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.2138, allocations: 11.95 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.2138, allocations: 4 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.214, allocations: 11.98 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.214, allocations: 23.91 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2141, allocations: 7.984 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.2141, allocations: 91.27 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2141, allocations: 0 / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002351/0.2144, allocations: 16 kB / 0.7233 GB, free: 11.71 MB / 0.545 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 (add1.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.0001207/0.2145, allocations: 99.25 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.2149, allocations: 99.89 kB / 0.7235 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2149, allocations: 0 / 0.7235 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.2152, allocations: 63.88 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2155, allocations: 12 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.2159, allocations: 182.1 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2162, allocations: 0.6923 MB / 0.7244 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.001e-05/0.2163, allocations: 15.75 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.2164, allocations: 23.42 kB / 0.7245 GB, free: 10.47 MB / 0.545 GB Notification: Performance of SimCode: time 4.5e-07/0.2164, allocations: 3.938 kB / 0.7245 GB, free: 10.46 MB / 0.545 GB Notification: Performance of Templates: time 0.004689/0.2211, allocations: 1.618 MB / 0.726 GB, free: 8.859 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.805753605440259] Failed to read output from testmodel.py, exit status != 0: 0.23199328687041998 0.24705951599999995 0.036813744 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2ad42c57b0>