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.001707/0.001707, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0023/0.0023, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.004 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.8733/0.8733, allocations: 134 MB / 446.4 MB, free: 10.28 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.002008/0.002008, allocations: 66.86 kB / 0.6186 GB, free: 7.336 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.164, allocations: 85.91 MB / 0.7025 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002003/0.166, allocations: 0.7841 MB / 0.7033 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1681, allocations: 1.544 MB / 0.7048 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.1681, allocations: 4 kB / 0.7048 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.1681, allocations: 3.938 kB / 0.7048 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.1682, allocations: 3.938 kB / 0.7048 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.1687, allocations: 147.5 kB / 0.7049 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1688, allocations: 55.64 kB / 0.705 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.1689, allocations: 4.281 kB / 0.705 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.169, allocations: 23.92 kB / 0.705 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.1691, allocations: 35.88 kB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1691, allocations: 4 kB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.1696, allocations: 319.3 kB / 0.7053 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.1696, allocations: 19.91 kB / 0.7054 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1697, allocations: 27.86 kB / 0.7054 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.17, allocations: 219.4 kB / 0.7056 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1701, allocations: 0 / 0.7056 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1701, allocations: 0 / 0.7056 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1701, allocations: 0 / 0.7056 GB, free: 14.3 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.0006727/0.1707, allocations: 325.8 kB / 0.7059 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1708, allocations: 8.031 kB / 0.7059 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.1708, allocations: 38.75 kB / 0.706 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.1713, allocations: 68.84 kB / 0.706 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1714, allocations: 122.4 kB / 0.7061 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1714, allocations: 8.312 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1714, allocations: 8.375 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1718, allocations: 109.7 kB / 0.7063 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1719, allocations: 4 kB / 0.7063 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1719, allocations: 8 kB / 0.7063 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1719, allocations: 0 / 0.7063 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.1723, allocations: 99.89 kB / 0.7064 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.1729, allocations: 299.8 kB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.1736, allocations: 150.5 kB / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1738, allocations: 56.8 kB / 0.7068 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1738, allocations: 4 kB / 0.7068 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1739, allocations: 34.55 kB / 0.7069 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.1739, allocations: 11.88 kB / 0.7069 GB, free: 12.84 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.01834/0.1922, allocations: 2.694 MB / 0.7095 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1923, allocations: 55.34 kB / 0.7096 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.1923, allocations: 93.86 kB / 0.7097 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.1924, allocations: 37.69 kB / 0.7097 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1924, allocations: 84.09 kB / 0.7098 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.1925, allocations: 39.69 kB / 0.7098 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.1927, allocations: 73.58 kB / 0.7099 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1928, allocations: 310.8 kB / 0.7102 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.1935, allocations: 195.8 kB / 0.7104 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.1941, allocations: 191 kB / 0.7106 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.1954, allocations: 400.6 kB / 0.7109 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1954, allocations: 0 / 0.7109 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001531/0.197, allocations: 477.1 kB / 0.7114 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.197, allocations: 12 kB / 0.7114 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.197, allocations: 0 / 0.7114 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.197, allocations: 0 / 0.7114 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.1979, allocations: 107.7 kB / 0.7115 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1979, allocations: 4 kB / 0.7115 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.1985, allocations: 43.94 kB / 0.7116 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.1986, allocations: 27.92 kB / 0.7116 GB, free: 7.934 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.0001609/0.1987, allocations: 117.8 kB / 0.7117 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.1988, allocations: 7.953 kB / 0.7117 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.1989, allocations: 16.06 kB / 0.7117 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1989, allocations: 3.938 kB / 0.7117 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1989, allocations: 0 / 0.7117 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1989, allocations: 0 / 0.7117 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.2012, allocations: 1.023 MB / 0.7127 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2012, allocations: 0 / 0.7127 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.202, allocations: 111.7 kB / 0.7128 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.202, allocations: 0 / 0.7128 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.202, allocations: 27.94 kB / 0.7129 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.202, allocations: 4 kB / 0.7129 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.202, allocations: 0 / 0.7129 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.2044, allocations: 0.784 MB / 0.7136 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.2045, allocations: 39.88 kB / 0.7137 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.2046, allocations: 4 kB / 0.7137 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.2053, allocations: 52.08 kB / 0.7137 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.2054, allocations: 35.8 kB / 0.7137 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.2054, allocations: 23.94 kB / 0.7138 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.2055, allocations: 79.28 kB / 0.7138 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2055, allocations: 3.938 kB / 0.7138 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003965/0.2059, allocations: 59.92 kB / 0.7139 GB, free: 5.418 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.002714/0.2086, allocations: 1.329 MB / 0.7152 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.21, allocations: 431.5 kB / 0.7156 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.21, allocations: 0 / 0.7156 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/0.2108, allocations: 219.7 kB / 0.7158 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2111, allocations: 8 kB / 0.7158 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/0.2201, allocations: 2.946 MB / 0.7187 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2204, allocations: 0.6963 MB / 0.7194 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005088/0.2209, allocations: 92.75 kB / 0.7195 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.2212, allocations: 63.3 kB / 0.7195 GB, free: 15.52 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.2212, allocations: 0 / 0.7195 GB, free: 15.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.255, allocations: 4.784 MB / 0.7242 GB, free: 10.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.99, allocations: 10.08 kB / 0.7242 GB, free: 10.86 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.762904183997307] Failed to read output from testmodel.py, exit status != 0: 11.094274925002537 11.110467854 10.937348393 Calling exit ...