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.001518/0.001518, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001567/0.001567, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.746 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.8666/0.8666, allocations: 134 MB / 446.4 MB, free: 9.902 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.002038/0.002038, allocations: 62.88 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1659, allocations: 85.92 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002574/0.1685, allocations: 1.452 MB / 0.7038 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1698, allocations: 0.7602 MB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.1698, allocations: 0 / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1699, allocations: 3.938 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1699, allocations: 3.938 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1703, allocations: 131.5 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.563e-05/0.1704, allocations: 27.92 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.1705, allocations: 7.938 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.1705, allocations: 19.92 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.1706, allocations: 23.95 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1706, allocations: 4 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.171, allocations: 243.5 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.171, allocations: 11.92 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.171, allocations: 11.98 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1714, allocations: 187.7 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1714, allocations: 0 / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1714, allocations: 0 / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1714, allocations: 0 / 0.7052 GB, free: 14.13 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.0005392/0.1719, allocations: 301.8 kB / 0.7055 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1719, allocations: 16.03 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.172, allocations: 30.75 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/0.1724, allocations: 68.8 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1726, allocations: 118.5 kB / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1726, allocations: 384 / 0.7057 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1726, allocations: 4.375 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.1729, allocations: 85.75 kB / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1729, allocations: 4 kB / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1729, allocations: 0 / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1729, allocations: 0 / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.1733, allocations: 91.84 kB / 0.7059 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.1738, allocations: 256 kB / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1742, allocations: 94.48 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1744, allocations: 56.88 kB / 0.7063 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1745, allocations: 0 / 0.7063 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1745, allocations: 38.55 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1745, allocations: 0 / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007162/0.1752, allocations: 169.5 kB / 0.7065 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1752, allocations: 55.41 kB / 0.7065 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.1753, allocations: 101.8 kB / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1754, allocations: 25.7 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.1754, allocations: 84.14 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1754, allocations: 7.891 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1755, allocations: 21.7 kB / 0.7068 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1756, allocations: 314.8 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1758, allocations: 47.98 kB / 0.7071 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.176, allocations: 43.95 kB / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.1764, allocations: 92.77 kB / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1764, allocations: 0 / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004328/0.1768, allocations: 125.6 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1768, allocations: 7.938 kB / 0.7074 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1769, allocations: 3.938 kB / 0.7074 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1769, allocations: 4 kB / 0.7074 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.177, allocations: 19.97 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.177, allocations: 0 / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1771, allocations: 24 kB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1772, allocations: 256 / 0.7074 GB, free: 11.67 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 9.61e-05/0.1773, allocations: 117.8 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1773, allocations: 3.953 kB / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.1773, allocations: 3.312 kB / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1773, allocations: 0 / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1773, allocations: 4 kB / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1773, allocations: 4 kB / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1775, allocations: 140.7 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1775, allocations: 3.938 kB / 0.7077 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1776, allocations: 23.97 kB / 0.7077 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1776, allocations: 0 / 0.7077 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1776, allocations: 0 / 0.7077 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1776, allocations: 4 kB / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1776, allocations: 0 / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.1781, allocations: 219.4 kB / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.1782, allocations: 0 / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1782, allocations: 0 / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1783, allocations: 24 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1784, allocations: 0 / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1784, allocations: 4 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.1784, allocations: 87.27 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1784, allocations: 0 / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002389/0.1787, allocations: 15.94 kB / 0.708 GB, free: 10.96 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.000905/0.1796, allocations: 0.7527 MB / 0.7088 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.18, allocations: 99.92 kB / 0.7089 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.18, allocations: 0 / 0.7089 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.1803, allocations: 51.95 kB / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1806, allocations: 4 kB / 0.7089 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.1813, allocations: 207.1 kB / 0.7091 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.732e-05/0.1814, allocations: 63.22 kB / 0.7092 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.717e-05/0.1815, allocations: 23.91 kB / 0.7092 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.1815, allocations: 7.438 kB / 0.7092 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1815, allocations: 0 / 0.7092 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.2081, allocations: 2.248 MB / 0.7114 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.06, allocations: 0.75 kB / 0.7114 GB, free: 7.562 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.71525808563456] Failed to read output from testmodel.py, exit status != 0: 11.163178836926818 11.180439206 11.005904112 Calling exit ...