Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001261/0.001261, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001424/0.001424, allocations: 215.8 kB / 23.04 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.8196/0.8196, 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.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001912/0.001912, allocations: 58.78 kB / 0.6194 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1825, allocations: 85.92 MB / 0.7033 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001878/0.1844, allocations: 0.6279 MB / 0.7039 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1865, allocations: 1.521 MB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1865, allocations: 0 / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.1865, allocations: 3.938 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.1866, allocations: 3.984 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.187, allocations: 127.5 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.1871, allocations: 23.92 kB / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1871, allocations: 7.938 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.1872, allocations: 15.97 kB / 0.7055 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.1872, allocations: 23.86 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1872, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.1877, allocations: 315.4 kB / 0.7059 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1877, allocations: 11.98 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.1878, allocations: 7.875 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.188, allocations: 191.7 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.188, allocations: 4 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.188, allocations: 0 / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1881, allocations: 0 / 0.7061 GB, free: 14.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004914/0.1885, allocations: 313.8 kB / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1886, allocations: 8.031 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.063e-05/0.1886, allocations: 192 / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.1886, allocations: 34.75 kB / 0.7064 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.189, allocations: 60.81 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1891, allocations: 118.5 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1891, allocations: 8.375 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1891, allocations: 4.375 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.1894, allocations: 81.52 kB / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1894, allocations: 0 / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1895, allocations: 0 / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1895, allocations: 0 / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.1898, allocations: 71.92 kB / 0.7067 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.19, allocations: 144.8 kB / 0.7069 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.1905, allocations: 118.5 kB / 0.707 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1907, allocations: 44.94 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1907, allocations: 11.92 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1908, allocations: 34.5 kB / 0.7071 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1908, allocations: 7.875 kB / 0.7071 GB, free: 13.27 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=9): time 0.004091/0.1949, allocations: 0.7766 MB / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1949, allocations: 63.39 kB / 0.7079 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.195, allocations: 117.8 kB / 0.708 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.195, allocations: 25.7 kB / 0.708 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1951, allocations: 84.14 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.1951, allocations: 27.75 kB / 0.7081 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1952, allocations: 25.7 kB / 0.7082 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1953, allocations: 322.8 kB / 0.7085 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.1958, allocations: 95.89 kB / 0.7086 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.1962, allocations: 95.91 kB / 0.7087 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.197, allocations: 196.6 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.197, allocations: 0 / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009647/0.198, allocations: 245.4 kB / 0.7091 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.198, allocations: 4.375 kB / 0.7091 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.198, allocations: 0 / 0.7091 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.198, allocations: 4 kB / 0.7091 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.1983, allocations: 55.88 kB / 0.7091 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1984, allocations: 8.25 kB / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1986, allocations: 36.7 kB / 0.7092 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1986, allocations: 8 kB / 0.7092 GB, free: 11.05 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 (9): * Single equations (assignments): 9 * 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.855e-05/0.1987, allocations: 113.8 kB / 0.7093 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1987, allocations: 11.94 kB / 0.7093 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.1988, allocations: 12.36 kB / 0.7093 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1988, allocations: 4 kB / 0.7093 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1988, allocations: 0 / 0.7093 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1988, allocations: 0 / 0.7093 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.2005, allocations: 0.5692 MB / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2005, allocations: 3.938 kB / 0.7099 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.2007, allocations: 56 kB / 0.7099 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2007, allocations: 4 kB / 0.7099 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2008, allocations: 4 kB / 0.7099 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2008, allocations: 4 kB / 0.71 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2008, allocations: 7.875 kB / 0.71 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.2018, allocations: 341 kB / 0.7103 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.2018, allocations: 7.953 kB / 0.7103 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.2018, allocations: 7.984 kB / 0.7103 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.2021, allocations: 31.97 kB / 0.7103 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.2021, allocations: 19.91 kB / 0.7103 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2021, allocations: 4 kB / 0.7104 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.2022, allocations: 91.27 kB / 0.7104 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 0.7104 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003878/0.2026, allocations: 39.88 kB / 0.7105 GB, free: 9.645 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001435/0.204, allocations: 0.8973 MB / 0.7114 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009535/0.205, allocations: 215.8 kB / 0.7116 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.205, allocations: 0 / 0.7116 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.2054, allocations: 104 kB / 0.7117 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.2057, allocations: 11.94 kB / 0.7117 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.2104, allocations: 2.135 MB / 0.7138 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2107, allocations: 0.6844 MB / 0.7144 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.2108, allocations: 24.66 kB / 0.7144 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.2109, allocations: 27.42 kB / 0.7145 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.2109, allocations: 0 / 0.7145 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.2334, allocations: 2.915 MB / 0.7173 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.43, allocations: 14.28 kB / 0.7173 GB, free: 2.617 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.97643248399254] Failed to read output from testmodel.py, exit status != 0: 11.591831633937545 11.608203213 11.417104005 Calling exit ...