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.00133/0.00133, allocations: 105 kB / 20.44 MB, free: 1.504 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.001525/0.001525, allocations: 209.3 kB / 23.75 MB, free: 4.727 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 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.9696/0.9696, allocations: 150 MB / 463.9 MB, free: 10.47 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.002038/0.002038, allocations: 67.25 kB / 0.6425 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1916, allocations: 89.17 MB / 0.7296 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001884/0.1934, allocations: 0.6087 MB / 0.7302 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1958, allocations: 1.517 MB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.1958, allocations: 0 / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.1958, allocations: 0 / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.1958, allocations: 0 / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.1964, allocations: 150.9 kB / 0.7318 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.706e-05/0.1965, allocations: 23.98 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.1966, allocations: 3.984 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.1966, allocations: 23.97 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.1967, allocations: 27.84 kB / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1967, allocations: 0 / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005222/0.1972, allocations: 323.4 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.1973, allocations: 7.984 kB / 0.7322 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.1973, allocations: 15.92 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1976, allocations: 187.5 kB / 0.7324 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1976, allocations: 0 / 0.7324 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1976, allocations: 0 / 0.7324 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.1977, allocations: 3.938 kB / 0.7324 GB, free: 13.81 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.0005951/0.1983, allocations: 286 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1983, allocations: 12.03 kB / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.1988, allocations: 64.84 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1989, allocations: 114.5 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1989, allocations: 384 / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1989, allocations: 8.375 kB / 0.7329 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1992, allocations: 77.94 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1992, allocations: 0 / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1992, allocations: 7.938 kB / 0.733 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1992, allocations: 0 / 0.733 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1995, allocations: 63.92 kB / 0.733 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.1997, allocations: 132.8 kB / 0.7332 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.2004, allocations: 122.6 kB / 0.7333 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.2006, allocations: 44.92 kB / 0.7333 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.201, allocations: 75.89 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.201, allocations: 38.44 kB / 0.7334 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.201, allocations: 0 / 0.7334 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001215/0.2023, allocations: 329 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2023, allocations: 55.41 kB / 0.7338 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.2024, allocations: 97.86 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2024, allocations: 29.7 kB / 0.7339 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.2025, allocations: 80.14 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.2025, allocations: 19.84 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.2025, allocations: 21.72 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2027, allocations: 314.8 kB / 0.7343 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.2028, allocations: 36.16 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.203, allocations: 39.97 kB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2033, allocations: 72.8 kB / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2033, allocations: 3.938 kB / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003647/0.2036, allocations: 121.5 kB / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2037, allocations: 8 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2037, allocations: 0 / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2037, allocations: 0 / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2038, allocations: 23.98 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2038, allocations: 3.984 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.2039, allocations: 11.98 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.204, allocations: 4 kB / 0.7346 GB, free: 11.32 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 9.443e-05/0.204, allocations: 113.8 kB / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2041, allocations: 4.266 kB / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.2045, allocations: 145.2 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2045, allocations: 3.984 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2045, allocations: 3.938 kB / 0.7349 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2045, allocations: 0 / 0.7349 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2047, allocations: 140.7 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2047, allocations: 4 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.2049, allocations: 27.92 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2049, allocations: 0 / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2049, allocations: 4.234 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2049, allocations: 4 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2049, allocations: 0 / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.2055, allocations: 189 kB / 0.7353 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.2055, allocations: 11.95 kB / 0.7353 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2055, allocations: 0 / 0.7353 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2056, allocations: 11.98 kB / 0.7353 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2057, allocations: 11.98 kB / 0.7353 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2057, allocations: 0 / 0.7353 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.2057, allocations: 79.28 kB / 0.7354 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2057, allocations: 4.156 kB / 0.7354 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002428/0.206, allocations: 31.86 kB / 0.7354 GB, free: 10.47 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.0002179/0.2062, allocations: 127.1 kB / 0.7355 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.2066, allocations: 87.86 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2066, allocations: 3.938 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2067, allocations: 35.97 kB / 0.7356 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2069, allocations: 8 kB / 0.7357 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.2076, allocations: 211 kB / 0.7359 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2079, allocations: 0.6807 MB / 0.7365 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.2079, allocations: 15.44 kB / 0.7365 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.2079, allocations: 0 / 0.7365 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of Templates: time 0.003077/0.211, allocations: 1.126 MB / 0.7376 GB, free: 8.113 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.141677564941347] Failed to read output from testmodel.py, exit status != 0: 0.22013204102404416 0.23500995399999997 0.034231987000000005 Calling exit ...