Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001741/0.001741, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.00214/0.00214, allocations: 209.6 kB / 23.75 MB, free: 4.539 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.024/1.024, allocations: 149.9 MB / 463.8 MB, free: 10.31 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.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.002412/0.002412, allocations: 80.95 kB / 0.6423 GB, free: 9.52 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1809, allocations: 89.16 MB / 0.7294 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002355/0.1832, allocations: 0.5973 MB / 0.73 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1856, allocations: 1.431 MB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1857, allocations: 0 / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.1857, allocations: 0 / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.908e-05/0.1857, allocations: 0 / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.1863, allocations: 147.4 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.523e-05/0.1864, allocations: 27.97 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1864, allocations: 0 / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.1864, allocations: 15.98 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1865, allocations: 31.83 kB / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1865, allocations: 0 / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.187, allocations: 255.5 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.187, allocations: 4 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.187, allocations: 11.92 kB / 0.7319 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.1873, allocations: 175.5 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1873, allocations: 0 / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1873, allocations: 4 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1873, allocations: 0 / 0.732 GB, free: 13.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005314/0.1879, allocations: 293.9 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1879, allocations: 12.03 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.1884, allocations: 72.84 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1885, allocations: 106.5 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1885, allocations: 384 / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1885, allocations: 4.375 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1888, allocations: 107.6 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1888, allocations: 0 / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1888, allocations: 4 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1888, allocations: 0 / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1891, allocations: 63.88 kB / 0.7327 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1893, allocations: 117.3 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.1899, allocations: 118.6 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1901, allocations: 40.92 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/0.1905, allocations: 75.91 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1906, allocations: 38.55 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1906, allocations: 0 / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.00116/0.1917, allocations: 337 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.1917, allocations: 55.34 kB / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.1918, allocations: 93.86 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1918, allocations: 33.83 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.1919, allocations: 80.14 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1919, allocations: 23.83 kB / 0.7337 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.192, allocations: 17.72 kB / 0.7337 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1921, allocations: 314.8 kB / 0.734 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1923, allocations: 35.95 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1924, allocations: 35.97 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1927, allocations: 80.8 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1927, allocations: 0 / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000367/0.1931, allocations: 109.6 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1931, allocations: 15.86 kB / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1931, allocations: 0 / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1931, allocations: 0 / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1933, allocations: 27.92 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1933, allocations: 4.25 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1934, allocations: 15.98 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1934, allocations: 4 kB / 0.7343 GB, free: 11.23 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.484e-05/0.1935, allocations: 113.8 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1935, allocations: 3.938 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.194, allocations: 141.2 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.194, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.194, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.194, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1941, allocations: 105.3 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1941, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1942, allocations: 23.97 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1942, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1943, allocations: 7.938 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1943, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1943, allocations: 4 kB / 0.7347 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.1948, allocations: 189 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.1949, allocations: 11.95 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1949, allocations: 3.938 kB / 0.7349 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.195, allocations: 15.98 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.1951, allocations: 0 / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1951, allocations: 7.984 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.1951, allocations: 79.34 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1951, allocations: 4 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002395/0.1953, allocations: 31.88 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002054/0.1956, allocations: 123.1 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.1959, allocations: 80.02 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1959, allocations: 0 / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1961, allocations: 51.83 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.1963, allocations: 12 kB / 0.7353 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.1969, allocations: 207.4 kB / 0.7355 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.197, allocations: 63.36 kB / 0.7355 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.1971, allocations: 15.42 kB / 0.7355 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1971, allocations: 0 / 0.7355 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.003066/0.2001, allocations: 1.143 MB / 0.7366 GB, free: 8.676 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.36410898109898] Failed to read output from testmodel.py, exit status != 0: 0.20946776727214456 0.22383418200000002 0.033385385000000004 Calling exit ...