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.00175/0.00175, allocations: 117.5 kB / 19.7 MB, free: 2.039 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.002471/0.002471, allocations: 221.2 kB / 23.01 MB, free: 4.941 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.017/1.017, allocations: 150 MB / 463.2 MB, free: 10.52 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.002099/0.002099, allocations: 69.91 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 89.17 MB / 0.7284 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00179/0.1866, allocations: 0.5993 MB / 0.729 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.1887, allocations: 1.521 MB / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.1887, allocations: 0 / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.1888, allocations: 0 / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.1888, allocations: 3.938 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.1893, allocations: 147.4 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.1894, allocations: 27.97 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.1894, allocations: 4 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1895, allocations: 15.98 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.1896, allocations: 31.89 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1896, allocations: 0 / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.1901, allocations: 315.4 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.1901, allocations: 11.98 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1901, allocations: 15.91 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.1904, allocations: 191.8 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1904, allocations: 0 / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1904, allocations: 0 / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1904, allocations: 0 / 0.7312 GB, free: 14.41 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.000564/0.191, allocations: 293.9 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.191, allocations: 12.03 kB / 0.7315 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.1911, allocations: 34.75 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.1916, allocations: 64.84 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1917, allocations: 110.5 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1917, allocations: 4.375 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1917, allocations: 4.375 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.192, allocations: 73.77 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.192, allocations: 4 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.192, allocations: 0 / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.192, allocations: 3.984 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1923, allocations: 67.92 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1925, allocations: 136.8 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.1931, allocations: 118.6 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1932, allocations: 48.81 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/0.1937, allocations: 71.91 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1937, allocations: 38.5 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1937, allocations: 0 / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001176/0.1949, allocations: 329 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1949, allocations: 63.41 kB / 0.7326 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.195, allocations: 93.84 kB / 0.7327 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.195, allocations: 29.7 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.1951, allocations: 80.14 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1951, allocations: 15.86 kB / 0.7328 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1952, allocations: 25.7 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1953, allocations: 310.8 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1955, allocations: 36.09 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1956, allocations: 43.89 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1959, allocations: 68.81 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1959, allocations: 7.875 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003551/0.1963, allocations: 117.6 kB / 0.7334 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1963, allocations: 8 kB / 0.7334 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1963, allocations: 0 / 0.7334 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1963, allocations: 0 / 0.7334 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1965, allocations: 27.97 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1965, allocations: 0 / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.1966, allocations: 11.98 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1966, allocations: 8 kB / 0.7335 GB, free: 11.87 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.972e-05/0.1967, allocations: 109.8 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.1967, allocations: 7.938 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.1971, allocations: 137.3 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1971, allocations: 0 / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1972, allocations: 320 / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1972, allocations: 0 / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.1973, allocations: 140.7 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1973, allocations: 11.94 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1975, allocations: 23.97 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1975, allocations: 3.938 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1975, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1975, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1975, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.198, allocations: 193 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.1981, allocations: 11.95 kB / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1981, allocations: 0 / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1982, allocations: 15.98 kB / 0.7341 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1983, allocations: 4 kB / 0.7341 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1983, allocations: 3.984 kB / 0.7341 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.1983, allocations: 83.34 kB / 0.7342 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1983, allocations: 0 / 0.7342 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002485/0.1986, allocations: 31.88 kB / 0.7342 GB, free: 11.03 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.0009521/0.1995, allocations: 0.7528 MB / 0.7349 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1999, allocations: 83.92 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1999, allocations: 0 / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2, allocations: 47.91 kB / 0.7351 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.2002, allocations: 7.938 kB / 0.7351 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.2023, allocations: 1.354 MB / 0.7364 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2026, allocations: 0.6882 MB / 0.7371 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.638e-05/0.2027, allocations: 12.33 kB / 0.7371 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.2027, allocations: 19.42 kB / 0.7371 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.2027, allocations: 4 kB / 0.7371 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.24, allocations: 2.177 MB / 0.7392 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.17, allocations: 4.984 kB / 0.7392 GB, free: 5.887 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.211379707998276] Failed to read output from testmodel.py, exit status != 0: 11.282607695000479 11.312113798 11.116359923 Calling exit ...