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.00194/0.00194, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002503/0.002503, allocations: 209 kB / 22.99 MB, free: 4.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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9739/0.9739, allocations: 149.9 MB / 463.1 MB, free: 10.34 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.002221/0.002221, allocations: 71.77 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1761, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002285/0.1784, allocations: 0.6031 MB / 0.7288 GB, free: 412 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.181, allocations: 1.431 MB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.181, allocations: 0 / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.181, allocations: 0 / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.181, allocations: 4 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.1816, allocations: 135.5 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.1817, allocations: 35.91 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.1818, allocations: 4 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1818, allocations: 11.98 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.1819, allocations: 27.89 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1819, allocations: 7.938 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.1823, allocations: 247.5 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.1824, allocations: 8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1824, allocations: 3.984 kB / 0.7307 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1827, allocations: 179.8 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1827, allocations: 7.938 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.767e-06/0.1827, allocations: 3.984 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1827, allocations: 0 / 0.7308 GB, free: 14.29 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.0005339/0.1833, allocations: 290 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1833, allocations: 8.031 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.1834, allocations: 38.75 kB / 0.7312 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.1838, allocations: 64.84 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1839, allocations: 106.5 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1839, allocations: 384 / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.184, allocations: 4.375 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1842, allocations: 107.4 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1843, allocations: 7.938 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1843, allocations: 4 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1843, allocations: 0 / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1846, allocations: 63.92 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.1848, allocations: 136.8 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.1854, allocations: 118.6 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1855, allocations: 56.89 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.186, allocations: 71.91 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.186, allocations: 38.44 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.186, allocations: 0 / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001129/0.1871, allocations: 333 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1872, allocations: 51.41 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.1872, allocations: 101.9 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1873, allocations: 25.7 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1873, allocations: 84.12 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1873, allocations: 19.86 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1874, allocations: 13.72 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1875, allocations: 318.8 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1877, allocations: 40.09 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1878, allocations: 31.97 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1881, allocations: 76.8 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1881, allocations: 0 / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003928/0.1885, allocations: 121.5 kB / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1886, allocations: 6.188 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1886, allocations: 0 / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1886, allocations: 0 / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1887, allocations: 27.97 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1887, allocations: 0 / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.1888, allocations: 15.98 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1888, allocations: 0 / 0.7331 GB, free: 11.73 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.772e-05/0.1889, allocations: 113.8 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.1889, allocations: 7.875 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.1894, allocations: 141.5 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1894, allocations: 0 / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1894, allocations: 12 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1894, allocations: 0 / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1896, allocations: 132.8 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1896, allocations: 3.938 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1897, allocations: 19.98 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.1897, allocations: 7.984 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1897, allocations: 4 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1897, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1897, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.1903, allocations: 181 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.1903, allocations: 15.95 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1904, allocations: 0 / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1905, allocations: 11.98 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.1905, allocations: 8.047 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1905, allocations: 4 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.1906, allocations: 83.28 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1906, allocations: 0 / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000231/0.1908, allocations: 31.86 kB / 0.7339 GB, free: 10.89 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.0009463/0.1917, allocations: 0.745 MB / 0.7346 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.1921, allocations: 83.98 kB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1921, allocations: 0 / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1923, allocations: 51.89 kB / 0.7347 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1924, allocations: 4 kB / 0.7347 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1945, allocations: 1.348 MB / 0.736 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.1946, allocations: 67.23 kB / 0.7361 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.469e-05/0.1947, allocations: 23.92 kB / 0.7361 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.1947, allocations: 15.44 kB / 0.7361 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.1947, allocations: 3.938 kB / 0.7361 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.225, allocations: 2.607 MB / 0.7387 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.52, allocations: 4 kB / 0.7387 GB, free: 5.953 MB / 0.5606 GB " [Timeout remaining time 648] (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.417369306087494] Failed to read output from testmodel.py, exit status != 0: 11.621814023237675 11.637915334 11.451843525 Calling exit ...