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.001896/0.001896, 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.002397/0.002397, 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.996 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.8509/0.8509, allocations: 134 MB / 446.4 MB, free: 10.27 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.003213/0.003213, allocations: 64.66 kB / 0.6185 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1809, allocations: 85.91 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002868/0.1838, allocations: 1.456 MB / 0.7039 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1852, allocations: 0.8458 MB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.1853, allocations: 0 / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.1853, allocations: 0 / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.1853, allocations: 7.938 kB / 0.7047 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.1858, allocations: 131.5 kB / 0.7048 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.1859, allocations: 35.92 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.63e-05/0.186, allocations: 7.922 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.1861, allocations: 15.94 kB / 0.7049 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.1861, allocations: 23.95 kB / 0.7049 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1861, allocations: 4 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.1866, allocations: 315.4 kB / 0.7052 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1867, allocations: 11.92 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1867, allocations: 11.94 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.1871, allocations: 195.7 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1871, allocations: 7.984 kB / 0.7054 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1871, allocations: 0 / 0.7054 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1871, allocations: 0 / 0.7054 GB, free: 14.35 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.0005457/0.1876, allocations: 301.9 kB / 0.7057 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1877, allocations: 8.031 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.1877, allocations: 30.75 kB / 0.7058 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/0.1882, allocations: 76.8 kB / 0.7058 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1883, allocations: 110.5 kB / 0.7059 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1883, allocations: 384 / 0.7059 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1883, allocations: 12.3 kB / 0.7059 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1886, allocations: 85.75 kB / 0.706 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1886, allocations: 0 / 0.706 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1887, allocations: 0 / 0.706 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1887, allocations: 0 / 0.706 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.1891, allocations: 87.91 kB / 0.7061 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1896, allocations: 275.9 kB / 0.7064 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.19, allocations: 98.44 kB / 0.7065 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1902, allocations: 48.88 kB / 0.7065 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1902, allocations: 0 / 0.7065 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1903, allocations: 34.56 kB / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1903, allocations: 0 / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007522/0.191, allocations: 173.6 kB / 0.7067 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1911, allocations: 51.41 kB / 0.7068 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.1912, allocations: 105.8 kB / 0.7069 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1912, allocations: 25.7 kB / 0.7069 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.1912, allocations: 88.14 kB / 0.707 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1913, allocations: 11.83 kB / 0.707 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.1913, allocations: 17.7 kB / 0.707 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1914, allocations: 322.8 kB / 0.7073 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1917, allocations: 39.95 kB / 0.7073 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1919, allocations: 47.95 kB / 0.7074 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.1922, allocations: 88.83 kB / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1922, allocations: 0 / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004513/0.1927, allocations: 121.6 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1927, allocations: 7.938 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1927, allocations: 0 / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1927, allocations: 3.938 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1929, allocations: 32 kB / 0.7076 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.1929, allocations: 3.984 kB / 0.7076 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.193, allocations: 19.97 kB / 0.7077 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.193, allocations: 0 / 0.7077 GB, free: 11.88 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.976e-05/0.1931, allocations: 109.8 kB / 0.7078 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1932, allocations: 7.953 kB / 0.7078 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.1932, allocations: 7.312 kB / 0.7078 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1932, allocations: 4 kB / 0.7078 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1932, allocations: 0 / 0.7078 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1932, allocations: 0 / 0.7078 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1934, allocations: 144.9 kB / 0.7079 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1934, allocations: 0 / 0.7079 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1936, allocations: 27.97 kB / 0.7079 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1936, allocations: 0 / 0.7079 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.1936, allocations: 0 / 0.7079 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1936, allocations: 4 kB / 0.7079 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1936, allocations: 0 / 0.7079 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.1941, allocations: 223.3 kB / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.1941, allocations: 4 kB / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1941, allocations: 0 / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1943, allocations: 19.97 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1943, allocations: 4.031 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.1943, allocations: 3.984 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.1944, allocations: 83.28 kB / 0.7083 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1944, allocations: 3.938 kB / 0.7083 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002482/0.1946, allocations: 15.94 kB / 0.7083 GB, free: 11.16 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.0009471/0.1956, allocations: 0.7514 MB / 0.709 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.196, allocations: 103.8 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.196, allocations: 0 / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.1962, allocations: 43.95 kB / 0.7092 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1965, allocations: 7.984 kB / 0.7092 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.1973, allocations: 195.3 kB / 0.7094 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1977, allocations: 0.6844 MB / 0.71 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.552e-05/0.1977, allocations: 11.94 kB / 0.71 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.1978, allocations: 19.42 kB / 0.7101 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1978, allocations: 0 / 0.7101 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2264, allocations: 1.784 MB / 0.7118 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 12.45 kB / 0.7118 GB, free: 7.594 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.948304452933371] Failed to read output from testmodel.py, exit status != 0: 11.37431262084283 11.400308057 11.208292825 Calling exit ...