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.001317/0.001317, 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.001501/0.001501, 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.781 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.845/0.845, allocations: 134 MB / 446.4 MB, free: 9.961 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.002332/0.002332, allocations: 70.7 kB / 0.6185 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1652, allocations: 85.9 MB / 0.7024 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001992/0.1672, allocations: 0.6188 MB / 0.703 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1692, allocations: 1.439 MB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.1693, allocations: 0 / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1693, allocations: 0 / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.1693, allocations: 11.92 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.1698, allocations: 123.5 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.1699, allocations: 27.92 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1699, allocations: 0 / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.17, allocations: 19.92 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.17, allocations: 11.92 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.17, allocations: 4 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.1705, allocations: 247.5 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.1705, allocations: 11.92 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.1705, allocations: 11.94 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1708, allocations: 179.8 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1708, allocations: 3.938 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1708, allocations: 0 / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1708, allocations: 0 / 0.7051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005033/0.1713, allocations: 309.7 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1714, allocations: 8.031 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.1714, allocations: 38.75 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.1718, allocations: 60.81 kB / 0.7055 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1719, allocations: 122.5 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1719, allocations: 4.375 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1719, allocations: 4.375 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1722, allocations: 73.77 kB / 0.7057 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1722, allocations: 0 / 0.7057 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1722, allocations: 4 kB / 0.7057 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1722, allocations: 0 / 0.7057 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.1726, allocations: 71.86 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.1728, allocations: 140.7 kB / 0.7059 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.1733, allocations: 122.5 kB / 0.706 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1735, allocations: 44.94 kB / 0.706 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1735, allocations: 0 / 0.706 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1736, allocations: 34.5 kB / 0.7061 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1736, allocations: 0 / 0.7061 GB, free: 13.14 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.004075/0.1776, allocations: 0.7962 MB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1777, allocations: 51.41 kB / 0.7069 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1778, allocations: 113.8 kB / 0.707 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1778, allocations: 29.7 kB / 0.707 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.1779, allocations: 84.14 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1779, allocations: 31.73 kB / 0.7071 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.178, allocations: 25.7 kB / 0.7072 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1781, allocations: 314.8 kB / 0.7075 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.1786, allocations: 107.8 kB / 0.7076 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.179, allocations: 91.91 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.1798, allocations: 192.7 kB / 0.7078 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1798, allocations: 4.125 kB / 0.7078 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009313/0.1807, allocations: 249.4 kB / 0.7081 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1808, allocations: 6.344 kB / 0.7081 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1808, allocations: 0 / 0.7081 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1808, allocations: 8.312 kB / 0.7081 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1811, allocations: 51.94 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1811, allocations: 0 / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.1813, allocations: 39.95 kB / 0.7082 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1813, allocations: 7.938 kB / 0.7082 GB, free: 10.91 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.435e-05/0.1814, allocations: 117.7 kB / 0.7083 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1815, allocations: 7.953 kB / 0.7083 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.1815, allocations: 16.36 kB / 0.7083 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1815, allocations: 4 kB / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1815, allocations: 0 / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1815, allocations: 0 / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1832, allocations: 0.5498 MB / 0.7089 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1832, allocations: 0 / 0.7089 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.1835, allocations: 63.92 kB / 0.7089 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1835, allocations: 4 kB / 0.7089 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1835, allocations: 3.984 kB / 0.7089 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1835, allocations: 4 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1835, allocations: 3.938 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.1845, allocations: 341 kB / 0.7093 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.1845, allocations: 11.95 kB / 0.7093 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1846, allocations: 0 / 0.7093 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1848, allocations: 35.95 kB / 0.7093 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1849, allocations: 11.92 kB / 0.7093 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1849, allocations: 11.98 kB / 0.7093 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.1849, allocations: 91.27 kB / 0.7094 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1849, allocations: 4 kB / 0.7094 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003147/0.1852, allocations: 39.86 kB / 0.7095 GB, free: 9.512 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.001372/0.1866, allocations: 0.8895 MB / 0.7103 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.1875, allocations: 215.9 kB / 0.7105 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1875, allocations: 192 / 0.7105 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.188, allocations: 111.9 kB / 0.7106 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1882, allocations: 15.88 kB / 0.7106 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.193, allocations: 2.126 MB / 0.7127 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.1931, allocations: 83.19 kB / 0.7128 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.1932, allocations: 17.45 kB / 0.7128 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.1933, allocations: 27.41 kB / 0.7128 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.1933, allocations: 0 / 0.7128 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.2234, allocations: 3.351 MB / 0.7161 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 6.656 kB / 0.7161 GB, free: 2.668 MB / 0.5294 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.84821516694501] Failed to read output from testmodel.py, exit status != 0: 11.370974921155721 11.388282092 11.213886859 Calling exit ...