Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.001775/0.001775, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001973/0.001973, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8331/0.8331, allocations: 134 MB / 442.8 MB, free: 11.3 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.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",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.00193/0.00193, allocations: 72.23 kB / 0.6134 GB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1637, allocations: 85.85 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002547/0.1662, allocations: 1.457 MB / 0.6987 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1675, allocations: 0.8345 MB / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1675, allocations: 0 / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.1675, allocations: 0 / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.1676, allocations: 3.938 kB / 0.6995 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.168, allocations: 146.1 kB / 0.6996 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.1681, allocations: 27.92 kB / 0.6997 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.1682, allocations: 11.98 kB / 0.6997 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.1682, allocations: 15.92 kB / 0.6997 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.1683, allocations: 15.98 kB / 0.6997 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1683, allocations: 4 kB / 0.6997 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.1687, allocations: 323.3 kB / 0.7 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.1687, allocations: 7.938 kB / 0.7 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.1688, allocations: 15.92 kB / 0.7001 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1691, allocations: 195.7 kB / 0.7002 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1691, allocations: 0 / 0.7002 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1691, allocations: 0 / 0.7002 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1691, allocations: 0 / 0.7002 GB, free: 15.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005484/0.1696, allocations: 379 kB / 0.7006 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1697, allocations: 17.11 kB / 0.7006 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1697, allocations: 34.75 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.1702, allocations: 68.8 kB / 0.7007 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1703, allocations: 164.4 kB / 0.7009 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1703, allocations: 384 / 0.7009 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1703, allocations: 384 / 0.7009 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1707, allocations: 93.69 kB / 0.701 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1707, allocations: 4 kB / 0.701 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1707, allocations: 0 / 0.701 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1707, allocations: 0 / 0.701 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.1711, allocations: 91.89 kB / 0.7011 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.1716, allocations: 292.9 kB / 0.7013 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.172, allocations: 94.44 kB / 0.7014 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1722, allocations: 52.88 kB / 0.7015 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1723, allocations: 4 kB / 0.7015 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1723, allocations: 38.53 kB / 0.7015 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1723, allocations: 4 kB / 0.7015 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007632/0.1731, allocations: 161.5 kB / 0.7017 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1731, allocations: 51.41 kB / 0.7017 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.1732, allocations: 105.8 kB / 0.7018 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1732, allocations: 25.7 kB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.1732, allocations: 92.2 kB / 0.7019 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1733, allocations: 3.953 kB / 0.7019 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1733, allocations: 25.58 kB / 0.702 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1734, allocations: 318.8 kB / 0.7023 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.1737, allocations: 47.95 kB / 0.7023 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1739, allocations: 39.95 kB / 0.7023 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1743, allocations: 88.83 kB / 0.7024 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1743, allocations: 256 / 0.7024 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004663/0.1747, allocations: 125.6 kB / 0.7026 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1748, allocations: 4 kB / 0.7026 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1748, allocations: 8.031 kB / 0.7026 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1748, allocations: 4 kB / 0.7026 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1749, allocations: 23.91 kB / 0.7026 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1749, allocations: 0 / 0.7026 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1751, allocations: 23.91 kB / 0.7026 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1751, allocations: 0 / 0.7026 GB, free: 13.23 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 (2): * Single equations (assignments): 2 * 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.017e-05/0.1752, allocations: 113.8 kB / 0.7027 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.1752, allocations: 7.953 kB / 0.7027 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.1752, allocations: 7.125 kB / 0.7027 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1752, allocations: 0 / 0.7027 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1752, allocations: 0 / 0.7027 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1752, allocations: 3.984 kB / 0.7027 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.1754, allocations: 169.6 kB / 0.7029 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1754, allocations: 4 kB / 0.7029 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1755, allocations: 23.97 kB / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1756, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1756, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1756, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1756, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.1761, allocations: 223.3 kB / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.1761, allocations: 81.11 kB / 0.7032 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1761, allocations: 4.016 kB / 0.7032 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1763, allocations: 15.98 kB / 0.7032 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1763, allocations: 7.984 kB / 0.7032 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1763, allocations: 0 / 0.7032 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.1764, allocations: 83.28 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1764, allocations: 0 / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002338/0.1766, allocations: 15.94 kB / 0.7033 GB, free: 12.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0008607/0.1775, allocations: 0.7669 MB / 0.7041 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.1779, allocations: 99.88 kB / 0.7042 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1779, allocations: 0 / 0.7042 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.1782, allocations: 52 kB / 0.7042 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1785, allocations: 9.812 kB / 0.7042 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.1791, allocations: 195.2 kB / 0.7044 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1794, allocations: 0.6805 MB / 0.7051 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.007e-05/0.1795, allocations: 8 kB / 0.7051 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1795, allocations: 11.44 kB / 0.7051 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1795, allocations: 0 / 0.7051 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.2036, allocations: 1.681 MB / 0.7068 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.115, allocations: 3.5 kB / 0.7068 GB, free: 8.895 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.799238972002058] Failed to read output from testmodel.py, exit status != 0: 8.180860783002572 8.195942207 8.024058077 Calling exit ...