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.001745/0.001745, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.00234/0.00234, allocations: 204 kB / 20.09 MB, free: 2.977 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9995/0.9995, allocations: 150 MB / 459.5 MB, free: 5.266 MB / 350.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.002032/0.002032, allocations: 71.78 kB / 0.6362 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1987, allocations: 89.13 MB / 0.7232 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001794/0.2005, allocations: 0.5971 MB / 0.7238 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2026, allocations: 1.515 MB / 0.7253 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.2026, allocations: 0 / 0.7253 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.2026, allocations: 0 / 0.7253 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.2027, allocations: 3.938 kB / 0.7253 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.2032, allocations: 149.9 kB / 0.7254 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.2033, allocations: 27.97 kB / 0.7254 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.2033, allocations: 4 kB / 0.7254 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.2034, allocations: 11.98 kB / 0.7255 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.2035, allocations: 31.89 kB / 0.7255 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2035, allocations: 0 / 0.7255 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.2041, allocations: 315.4 kB / 0.7258 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.2041, allocations: 15.97 kB / 0.7258 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.2041, allocations: 15.92 kB / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.2044, allocations: 191.7 kB / 0.726 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2044, allocations: 0 / 0.726 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2044, allocations: 0 / 0.726 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2045, allocations: 0 / 0.726 GB, free: 1.102 MB / 0.5294 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.0006137/0.2051, allocations: 364.8 kB / 0.7264 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2051, allocations: 8.031 kB / 0.7264 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.2052, allocations: 38.75 kB / 0.7264 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.2057, allocations: 64.84 kB / 0.7265 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2058, allocations: 172.3 kB / 0.7266 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2058, allocations: 4.359 kB / 0.7266 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2058, allocations: 4.312 kB / 0.7266 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.2061, allocations: 77.77 kB / 0.7267 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2061, allocations: 0 / 0.7267 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2061, allocations: 4 kB / 0.7267 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2061, allocations: 4 kB / 0.7267 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.2065, allocations: 59.92 kB / 0.7268 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.2067, allocations: 161.7 kB / 0.7269 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.2073, allocations: 122.5 kB / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2075, allocations: 48.91 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.208, allocations: 153 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.208, allocations: 38.5 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.208, allocations: 0 / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001249/0.2093, allocations: 410.1 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2093, allocations: 51.41 kB / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.2094, allocations: 105.8 kB / 0.7278 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2094, allocations: 25.7 kB / 0.7278 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.2095, allocations: 80.14 kB / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2095, allocations: 19.8 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.2096, allocations: 21.7 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2097, allocations: 314.8 kB / 0.7283 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.2099, allocations: 40.09 kB / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.2101, allocations: 31.97 kB / 0.7283 GB, free: 14.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.2104, allocations: 80.73 kB / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2104, allocations: 0 / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003907/0.2108, allocations: 117.6 kB / 0.7285 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2108, allocations: 4 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2108, allocations: 0 / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2108, allocations: 0 / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.211, allocations: 27.97 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.211, allocations: 0 / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.2111, allocations: 11.98 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2111, allocations: 4 kB / 0.7286 GB, free: 14.19 MB / 0.545 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.558e-05/0.2112, allocations: 113.8 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.2112, allocations: 11.89 kB / 0.7287 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.2117, allocations: 133.2 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2117, allocations: 336 / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2117, allocations: 0 / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2117, allocations: 0 / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.2119, allocations: 173.9 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2119, allocations: 7.922 kB / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.212, allocations: 31.97 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.212, allocations: 0 / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.212, allocations: 3.938 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2121, allocations: 4 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2121, allocations: 0 / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.2126, allocations: 177 kB / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.2127, allocations: 97.12 kB / 0.7293 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.2128, allocations: 3.984 kB / 0.7293 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2129, allocations: 11.98 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.2129, allocations: 4 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.2129, allocations: 0 / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.2129, allocations: 83.27 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2129, allocations: 3.938 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002391/0.2132, allocations: 35.97 kB / 0.7294 GB, free: 13.21 MB / 0.545 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.001036/0.2142, allocations: 0.7488 MB / 0.7301 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.2146, allocations: 76 kB / 0.7302 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2146, allocations: 0 / 0.7302 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2148, allocations: 51.89 kB / 0.7303 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.215, allocations: 9.562 kB / 0.7303 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.2172, allocations: 1.367 MB / 0.7316 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.2175, allocations: 0.6807 MB / 0.7323 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.2176, allocations: 12 kB / 0.7323 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.2177, allocations: 11.44 kB / 0.7323 GB, free: 10.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2177, allocations: 0 / 0.7323 GB, free: 10.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.248, allocations: 2.081 MB / 0.7343 GB, free: 8.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.229, allocations: 11.81 kB / 0.7343 GB, free: 8.16 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.348933137953281] Failed to read output from testmodel.py, exit status != 0: 8.298315858002752 8.321168942 8.112467603 Calling exit ...