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.001301/0.001301, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001409/0.001409, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8838/0.8838, allocations: 134 MB / 447.2 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",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.001942/0.001942, allocations: 75.66 kB / 0.6193 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1757, allocations: 85.91 MB / 0.7032 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003106/0.1788, allocations: 1.474 MB / 0.7047 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1803, allocations: 0.8419 MB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.1803, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.1804, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.1804, allocations: 7.938 kB / 0.7055 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.181, allocations: 131.5 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.1811, allocations: 27.92 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1812, allocations: 7.984 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.1813, allocations: 23.92 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.1813, allocations: 15.97 kB / 0.7057 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1814, allocations: 7.938 kB / 0.7057 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.1819, allocations: 315.4 kB / 0.706 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.1819, allocations: 15.97 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.182, allocations: 7.938 kB / 0.706 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1823, allocations: 195.8 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1823, allocations: 3.938 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1823, allocations: 0 / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1823, allocations: 0 / 0.7062 GB, free: 14.29 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.0006005/0.1829, allocations: 305.9 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.183, allocations: 12.03 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.183, allocations: 192 / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.183, allocations: 34.75 kB / 0.7065 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.1835, allocations: 72.8 kB / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1836, allocations: 110.5 kB / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1836, allocations: 384 / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1837, allocations: 4.375 kB / 0.7067 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.184, allocations: 89.56 kB / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.184, allocations: 0 / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.184, allocations: 0 / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.184, allocations: 0 / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.1844, allocations: 91.91 kB / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.1849, allocations: 271.9 kB / 0.7071 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.1853, allocations: 90.5 kB / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.1856, allocations: 52.88 kB / 0.7073 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1856, allocations: 4 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1856, allocations: 30.56 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1856, allocations: 0 / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007617/0.1864, allocations: 173.4 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1864, allocations: 55.53 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.1865, allocations: 105.8 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1865, allocations: 29.7 kB / 0.7077 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.1866, allocations: 80.14 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1866, allocations: 11.89 kB / 0.7078 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1867, allocations: 17.7 kB / 0.7078 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1868, allocations: 318.8 kB / 0.7081 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.187, allocations: 43.95 kB / 0.7081 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1872, allocations: 39.95 kB / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.1876, allocations: 100.8 kB / 0.7083 GB, free: 12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1876, allocations: 0 / 0.7083 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004629/0.1881, allocations: 121.5 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1881, allocations: 8 kB / 0.7084 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1881, allocations: 256 / 0.7084 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1881, allocations: 0 / 0.7084 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1883, allocations: 23.97 kB / 0.7084 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1883, allocations: 0 / 0.7084 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1884, allocations: 24 kB / 0.7084 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1884, allocations: 0 / 0.7084 GB, free: 11.82 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.772e-05/0.1885, allocations: 121.7 kB / 0.7085 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1885, allocations: 3.953 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.1885, allocations: 3.312 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1886, allocations: 4 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1886, allocations: 0 / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1886, allocations: 4 kB / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1887, allocations: 144.7 kB / 0.7087 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1887, allocations: 3.984 kB / 0.7087 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1889, allocations: 19.97 kB / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1889, allocations: 4 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1889, allocations: 0 / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1889, allocations: 0 / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1889, allocations: 3.984 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.1894, allocations: 227.3 kB / 0.7089 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.1894, allocations: 0 / 0.7089 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1895, allocations: 4 kB / 0.7089 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1896, allocations: 19.91 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1896, allocations: 0 / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1896, allocations: 11.98 kB / 0.709 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.1897, allocations: 83.31 kB / 0.7091 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1897, allocations: 0 / 0.7091 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002422/0.1899, allocations: 15.94 kB / 0.7091 GB, free: 11.1 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.0008459/0.1908, allocations: 0.7513 MB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.1913, allocations: 99.92 kB / 0.7099 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1913, allocations: 0 / 0.7099 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.1915, allocations: 48.02 kB / 0.7099 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.1918, allocations: 7.984 kB / 0.7099 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.1926, allocations: 199.2 kB / 0.7101 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1929, allocations: 0.6844 MB / 0.7108 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.741e-05/0.1929, allocations: 12 kB / 0.7108 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.193, allocations: 11.44 kB / 0.7108 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.193, allocations: 0 / 0.7108 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.2233, allocations: 1.822 MB / 0.7126 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.19, allocations: 10.19 kB / 0.7126 GB, free: 7.508 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.926392455003224] Failed to read output from testmodel.py, exit status != 0: 11.346957077970728 11.373754142 11.186729043 Calling exit ...