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.001332/0.001332, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001681/0.001681, allocations: 214 kB / 22.25 MB, free: 4.855 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.789 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.8636/0.8636, allocations: 134 MB / 446.4 MB, free: 9.938 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.001996/0.001996, allocations: 61.44 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1648, allocations: 85.92 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002438/0.1673, allocations: 0.7607 MB / 0.7032 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1698, allocations: 1.455 MB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.1698, allocations: 0 / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.1699, allocations: 3.938 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.1699, allocations: 3.938 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.1706, allocations: 151.4 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1707, allocations: 51.66 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.1707, allocations: 288 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.1708, allocations: 31.91 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.1709, allocations: 27.91 kB / 0.7049 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1709, allocations: 4 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.1714, allocations: 251.5 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.1714, allocations: 19.92 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1714, allocations: 19.91 kB / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1718, allocations: 203.3 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1718, allocations: 3.984 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1718, allocations: 0 / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1718, allocations: 0 / 0.7053 GB, free: 14.04 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.0007088/0.1725, allocations: 329.8 kB / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1726, allocations: 12.03 kB / 0.7057 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.1726, allocations: 38.75 kB / 0.7057 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.1731, allocations: 72.83 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1732, allocations: 114.4 kB / 0.7059 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1733, allocations: 8.375 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.1733, allocations: 4.375 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1737, allocations: 173 kB / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1738, allocations: 0 / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1738, allocations: 4 kB / 0.7061 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1738, allocations: 4 kB / 0.7061 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.1743, allocations: 103.9 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.1749, allocations: 291.8 kB / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.1755, allocations: 150.4 kB / 0.7066 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1758, allocations: 56.81 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1758, allocations: 0 / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1758, allocations: 38.56 kB / 0.7067 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1758, allocations: 3.938 kB / 0.7067 GB, free: 12.52 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.01823/0.1941, allocations: 2.695 MB / 0.7093 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1941, allocations: 55.34 kB / 0.7094 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1942, allocations: 101.8 kB / 0.7095 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.1943, allocations: 29.7 kB / 0.7095 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.1944, allocations: 92.09 kB / 0.7096 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.1944, allocations: 35.69 kB / 0.7096 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.1946, allocations: 69.58 kB / 0.7097 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1948, allocations: 318.8 kB / 0.71 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.1955, allocations: 187.8 kB / 0.7102 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.1961, allocations: 187.8 kB / 0.7103 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1975, allocations: 408.2 kB / 0.7107 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1975, allocations: 0 / 0.7107 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001613/0.1991, allocations: 473.1 kB / 0.7112 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1991, allocations: 12 kB / 0.7112 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1992, allocations: 0 / 0.7112 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1992, allocations: 0 / 0.7112 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.2, allocations: 107.7 kB / 0.7113 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2, allocations: 4.391 kB / 0.7113 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.2006, allocations: 39.94 kB / 0.7113 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.2007, allocations: 31.92 kB / 0.7114 GB, free: 7.605 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.0001972/0.2009, allocations: 115.8 kB / 0.7115 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.201, allocations: 15.89 kB / 0.7115 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.2011, allocations: 8.062 kB / 0.7115 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.2011, allocations: 4.125 kB / 0.7115 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2011, allocations: 0 / 0.7115 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2011, allocations: 7.969 kB / 0.7115 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2035, allocations: 0.9837 MB / 0.7125 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2035, allocations: 4 kB / 0.7125 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/0.2043, allocations: 107.7 kB / 0.7126 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.2043, allocations: 4 kB / 0.7126 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.2044, allocations: 23.92 kB / 0.7126 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2044, allocations: 0 / 0.7126 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2044, allocations: 4 kB / 0.7126 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.2068, allocations: 0.7878 MB / 0.7134 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.207, allocations: 39.88 kB / 0.7134 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.2071, allocations: 3.984 kB / 0.7134 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.2077, allocations: 52.09 kB / 0.7135 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.2078, allocations: 27.86 kB / 0.7135 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.2079, allocations: 23.94 kB / 0.7135 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.208, allocations: 87.27 kB / 0.7136 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.208, allocations: 0 / 0.7136 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003943/0.2084, allocations: 51.94 kB / 0.7136 GB, free: 5.133 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.002798/0.2112, allocations: 1.344 MB / 0.715 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.2127, allocations: 423.5 kB / 0.7154 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.2127, allocations: 0 / 0.7154 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/0.2134, allocations: 215.7 kB / 0.7156 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.2138, allocations: 15.98 kB / 0.7156 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00895/0.2227, allocations: 2.959 MB / 0.7185 GB, free: 88 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.2228, allocations: 83.2 kB / 0.7186 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000551/0.2234, allocations: 92.66 kB / 0.7186 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.2236, allocations: 63.3 kB / 0.7187 GB, free: 15.83 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/0.2236, allocations: 0 / 0.7187 GB, free: 15.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.2614, allocations: 5.322 MB / 0.7239 GB, free: 10.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.44, allocations: 10.38 kB / 0.7239 GB, free: 10.64 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.295860160142183] Failed to read output from testmodel.py, exit status != 0: 11.549277644138783 11.576349854 11.39970906 Calling exit ...