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.001486/0.001486, allocations: 109 kB / 20.45 MB, free: 1.52 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.001661/0.001661, allocations: 213.7 kB / 23.76 MB, free: 4.746 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.9782/0.9782, allocations: 150 MB / 463.9 MB, free: 10.55 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.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.002896/0.002896, allocations: 73.77 kB / 0.6425 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2005, allocations: 89.16 MB / 0.7296 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002279/0.2028, allocations: 0.7753 MB / 0.7303 GB, free: 100 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2041, allocations: 0.8899 MB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.2041, allocations: 0 / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.2042, allocations: 11.86 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2043, allocations: 3.938 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2045, allocations: 47.88 kB / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.2046, allocations: 83.83 kB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2048, allocations: 16 kB / 0.7314 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2049, allocations: 47.77 kB / 0.7314 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.205, allocations: 47.83 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.205, allocations: 8 kB / 0.7315 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.205, allocations: 8 kB / 0.7315 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.2051, allocations: 23.91 kB / 0.7315 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.2051, allocations: 31.86 kB / 0.7315 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.2053, allocations: 91.59 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2053, allocations: 4 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2053, allocations: 0 / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2053, allocations: 0 / 0.7316 GB, free: 14.78 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.0006961/0.206, allocations: 330 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.206, allocations: 8.031 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.2061, allocations: 8.891 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2062, allocations: 118.4 kB / 0.7321 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2063, allocations: 4.375 kB / 0.7321 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2063, allocations: 12.38 kB / 0.7321 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.2066, allocations: 105.5 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2066, allocations: 3.984 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2066, allocations: 0 / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2066, allocations: 4 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.207, allocations: 103.8 kB / 0.7323 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.2076, allocations: 307.7 kB / 0.7326 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.2082, allocations: 118.5 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.2084, allocations: 64.84 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2084, allocations: 4 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2085, allocations: 34.56 kB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2085, allocations: 7.875 kB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006623/0.2091, allocations: 181.5 kB / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.2092, allocations: 55.41 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2093, allocations: 127.3 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2093, allocations: 25.7 kB / 0.7332 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2094, allocations: 100 kB / 0.7333 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.2094, allocations: 15.83 kB / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.2095, allocations: 25.7 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2096, allocations: 318.8 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2098, allocations: 43.95 kB / 0.7336 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.21, allocations: 43.95 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.2103, allocations: 104.8 kB / 0.7338 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2103, allocations: 0 / 0.7338 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000413/0.2107, allocations: 133.5 kB / 0.7339 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2107, allocations: 11.98 kB / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2107, allocations: 0 / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2108, allocations: 0 / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.2109, allocations: 31.91 kB / 0.734 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2109, allocations: 0.5469 kB / 0.734 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2111, allocations: 19.88 kB / 0.734 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2111, allocations: 4 kB / 0.734 GB, free: 12.17 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 9.657e-05/0.2112, allocations: 113.8 kB / 0.7341 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.2112, allocations: 4 kB / 0.7341 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.2112, allocations: 12.36 kB / 0.7341 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2112, allocations: 4 kB / 0.7341 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2112, allocations: 4 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2112, allocations: 3.938 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.2115, allocations: 172.6 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2115, allocations: 0 / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.2116, allocations: 27.91 kB / 0.7343 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2116, allocations: 0 / 0.7343 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2116, allocations: 0 / 0.7343 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2116, allocations: 0 / 0.7343 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2116, allocations: 4 kB / 0.7343 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.2121, allocations: 251.2 kB / 0.7345 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.2121, allocations: 7.938 kB / 0.7346 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2121, allocations: 0 / 0.7346 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2123, allocations: 11.98 kB / 0.7346 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.2124, allocations: 23.91 kB / 0.7346 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2124, allocations: 11.98 kB / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.324e-05/0.2124, allocations: 97.12 kB / 0.7347 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2124, allocations: 4 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002326/0.2127, allocations: 19.89 kB / 0.7347 GB, free: 11.34 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.000133/0.2128, allocations: 99.23 kB / 0.7348 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.2132, allocations: 103.8 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2132, allocations: 0 / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.2134, allocations: 59.94 kB / 0.735 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.2138, allocations: 9.047 kB / 0.735 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.2143, allocations: 211.5 kB / 0.7352 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2146, allocations: 0.6962 MB / 0.7359 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.2147, allocations: 23.42 kB / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2147, allocations: 0 / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.003276/0.218, allocations: 1.224 MB / 0.7371 GB, free: 8.871 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: 7.919399427017197] Failed to read output from testmodel.py, exit status != 0: 0.22872694884426892 0.24229647199999996 0.033809525 Calling exit ...