Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001327/0.001327, allocations: 103.1 kB / 16.45 MB, free: 6.5 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.001324/0.001324, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8385/0.8385, allocations: 133.9 MB / 442.8 MB, free: 11.74 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001904/0.001904, allocations: 65.53 kB / 0.6135 GB, free: 8.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 85.86 MB / 0.6973 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002148/0.1581, allocations: 0.7817 MB / 0.6981 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1604, allocations: 1.528 MB / 0.6996 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.1605, allocations: 0 / 0.6996 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.1605, allocations: 7.938 kB / 0.6996 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.1605, allocations: 0 / 0.6996 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.1611, allocations: 155.4 kB / 0.6997 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1612, allocations: 55.59 kB / 0.6998 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1613, allocations: 4 kB / 0.6998 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.1613, allocations: 23.92 kB / 0.6998 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.1614, allocations: 35.88 kB / 0.6998 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1614, allocations: 8 kB / 0.6998 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.1619, allocations: 319.3 kB / 0.7002 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1619, allocations: 11.94 kB / 0.7002 GB, free: 136 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.162, allocations: 23.86 kB / 0.7002 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1623, allocations: 219.6 kB / 0.7004 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1623, allocations: 4 kB / 0.7004 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1623, allocations: 4 kB / 0.7004 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1623, allocations: 0 / 0.7004 GB, free: 15.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007099/0.1631, allocations: 402.9 kB / 0.7008 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1631, allocations: 17.05 kB / 0.7008 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.1631, allocations: 34.75 kB / 0.7008 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.1636, allocations: 76.78 kB / 0.7009 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1638, allocations: 172.3 kB / 0.7011 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.1638, allocations: 8.375 kB / 0.7011 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1638, allocations: 8.359 kB / 0.7011 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.1642, allocations: 113.7 kB / 0.7012 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1642, allocations: 0 / 0.7012 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1642, allocations: 0 / 0.7012 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1642, allocations: 4 kB / 0.7012 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.1648, allocations: 107.8 kB / 0.7013 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.1654, allocations: 324.7 kB / 0.7016 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.1661, allocations: 154.4 kB / 0.7018 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.1663, allocations: 52.81 kB / 0.7018 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.1663, allocations: 0 / 0.7018 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1664, allocations: 38.72 kB / 0.7019 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.1664, allocations: 0 / 0.7019 GB, free: 14.23 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01877/0.1851, allocations: 2.837 MB / 0.7046 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1852, allocations: 55.34 kB / 0.7047 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.1853, allocations: 105.8 kB / 0.7048 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.1853, allocations: 29.7 kB / 0.7048 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.1854, allocations: 92.03 kB / 0.7049 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.1855, allocations: 35.69 kB / 0.7049 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.1856, allocations: 73.52 kB / 0.705 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1858, allocations: 322.8 kB / 0.7053 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.1865, allocations: 187.8 kB / 0.7055 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.1872, allocations: 191.8 kB / 0.7057 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.1886, allocations: 399.9 kB / 0.706 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1887, allocations: 0 / 0.706 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001675/0.1903, allocations: 481.1 kB / 0.7065 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1903, allocations: 4 kB / 0.7065 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1903, allocations: 0 / 0.7065 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1904, allocations: 0 / 0.7065 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.1912, allocations: 119.7 kB / 0.7066 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1912, allocations: 0 / 0.7066 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.1919, allocations: 39.94 kB / 0.7067 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.1919, allocations: 31.94 kB / 0.7067 GB, free: 9.129 MB / 0.5294 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 (13): * Single equations (assignments): 13 * 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 0.0001615/0.1921, allocations: 113.8 kB / 0.7068 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.1922, allocations: 7.953 kB / 0.7068 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1922, allocations: 12.23 kB / 0.7068 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1922, allocations: 11.86 kB / 0.7068 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1922, allocations: 0 / 0.7068 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1922, allocations: 0 / 0.7068 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.1946, allocations: 1.051 MB / 0.7079 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1946, allocations: 0 / 0.7079 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.1955, allocations: 115.7 kB / 0.708 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1955, allocations: 0 / 0.708 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.1956, allocations: 23.94 kB / 0.708 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1956, allocations: 4 kB / 0.708 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1956, allocations: 0 / 0.708 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.1981, allocations: 0.7923 MB / 0.7088 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.1983, allocations: 117 kB / 0.7089 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.1983, allocations: 0 / 0.7089 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.199, allocations: 52 kB / 0.7089 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1991, allocations: 27.92 kB / 0.709 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.1992, allocations: 23.88 kB / 0.709 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.1993, allocations: 83.27 kB / 0.7091 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1993, allocations: 0 / 0.7091 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000402/0.1997, allocations: 55.94 kB / 0.7091 GB, free: 6.484 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.002953/0.2026, allocations: 1.345 MB / 0.7104 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.2042, allocations: 416.6 kB / 0.7108 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2042, allocations: 0 / 0.7108 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.205, allocations: 227.7 kB / 0.711 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2054, allocations: 13.72 kB / 0.7111 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009109/0.2145, allocations: 2.942 MB / 0.7139 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2148, allocations: 0.6924 MB / 0.7146 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004904/0.2153, allocations: 93.67 kB / 0.7147 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.2156, allocations: 63.3 kB / 0.7148 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.2156, allocations: 0 / 0.7148 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.244, allocations: 4.582 MB / 0.7192 GB, free: 12.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.217, allocations: 3.984 kB / 0.7192 GB, free: 12.13 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.826387119988794] Failed to read output from testmodel.py, exit status != 0: 8.285045865006396 8.300362408 8.135105456 Calling exit ...