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.001257/0.001257, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.001414/0.001414, allocations: 215.5 kB / 23.79 MB, free: 4.453 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.413/1.413, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.9395/0.9395, allocations: 150 MB / 464 MB, free: 10.19 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.002057/0.002057, allocations: 62.59 kB / 0.6425 GB, free: 9.332 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1789, allocations: 89.18 MB / 0.7296 GB, free: 232 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001983/0.1809, allocations: 0.7404 MB / 0.7303 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.182, allocations: 0.8821 MB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.182, allocations: 0 / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.1821, allocations: 3.938 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.1821, allocations: 15.86 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.1823, allocations: 43.89 kB / 0.7312 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1824, allocations: 79.88 kB / 0.7313 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1826, allocations: 15.98 kB / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.1827, allocations: 43.84 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.1827, allocations: 47.7 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1828, allocations: 8 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.1828, allocations: 8 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.1828, allocations: 23.91 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.1829, allocations: 31.86 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.183, allocations: 87.66 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.183, allocations: 0 / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.767e-06/0.183, allocations: 8 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.183, allocations: 3.938 kB / 0.7316 GB, free: 14.18 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.0006174/0.1836, allocations: 326 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1837, allocations: 8.031 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1837, allocations: 8.891 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1838, allocations: 122.4 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1839, allocations: 384 / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.1839, allocations: 8.375 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.1842, allocations: 109.5 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1842, allocations: 0 / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1842, allocations: 0 / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1842, allocations: 4 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1846, allocations: 99.89 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.1851, allocations: 268.3 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.1857, allocations: 118.6 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.1859, allocations: 56.8 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1859, allocations: 4 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1859, allocations: 34.5 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1859, allocations: 0 / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006812/0.1866, allocations: 181.5 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1867, allocations: 55.39 kB / 0.7329 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1868, allocations: 121.8 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1868, allocations: 25.7 kB / 0.7331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1869, allocations: 96.08 kB / 0.7332 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1869, allocations: 19.84 kB / 0.7332 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.1869, allocations: 21.7 kB / 0.7332 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1871, allocations: 330.7 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.1873, allocations: 43.95 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1874, allocations: 51.88 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.1878, allocations: 101.2 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1878, allocations: 4 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004075/0.1882, allocations: 137.5 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1882, allocations: 4 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1882, allocations: 0 / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1882, allocations: 8 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1884, allocations: 27.91 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1884, allocations: 4 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1885, allocations: 19.88 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1885, allocations: 3.938 kB / 0.7339 GB, free: 11.63 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.0001006/0.1886, allocations: 117.8 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1887, allocations: 4 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.1887, allocations: 8.375 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1887, allocations: 4 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1887, allocations: 0 / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1887, allocations: 0 / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1889, allocations: 137.2 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1889, allocations: 4 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.189, allocations: 23.97 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1891, allocations: 0 / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1891, allocations: 4 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1891, allocations: 0 / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1891, allocations: 7.984 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.1896, allocations: 239.3 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.1896, allocations: 11.91 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1896, allocations: 8 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1897, allocations: 7.984 kB / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.1898, allocations: 23.97 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1898, allocations: 0 / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.1899, allocations: 96.25 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 3.938 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002389/0.1902, allocations: 19.95 kB / 0.7346 GB, free: 10.87 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.0001317/0.1903, allocations: 99.19 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.1907, allocations: 107.8 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1907, allocations: 0 / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1909, allocations: 55.95 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1913, allocations: 17.52 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.1917, allocations: 174.2 kB / 0.735 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.881e-05/0.1918, allocations: 75.33 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.895e-05/0.1919, allocations: 11.98 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.1919, allocations: 23.42 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1919, allocations: 3.938 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.004319/0.1962, allocations: 1.738 MB / 0.7368 GB, free: 8.547 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.512944062938914] Failed to read output from testmodel.py, exit status != 0: 0.2046150320675224 0.218075654 0.03216117 Calling exit ...