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.00183/0.00183, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002424/0.002424, allocations: 217.1 kB / 23.01 MB, free: 4.57 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8 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.8653/0.8653, allocations: 134 MB / 447.2 MB, free: 10.19 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") [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.003034/0.003034, allocations: 71.09 kB / 0.6198 GB, free: 6.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1771, allocations: 85.9 MB / 0.7037 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001993/0.1791, allocations: 0.6407 MB / 0.7043 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.1815, allocations: 1.513 MB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1815, allocations: 4 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.1815, allocations: 7.938 kB / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.1816, allocations: 0 / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.1821, allocations: 119.5 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.1821, allocations: 35.89 kB / 0.706 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1822, allocations: 3.938 kB / 0.706 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.1822, allocations: 19.94 kB / 0.706 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1823, allocations: 19.91 kB / 0.706 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1823, allocations: 4 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.1828, allocations: 319.3 kB / 0.7063 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1829, allocations: 7.938 kB / 0.7063 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1829, allocations: 15.92 kB / 0.7063 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.1832, allocations: 191.4 kB / 0.7065 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1832, allocations: 0 / 0.7065 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1832, allocations: 0 / 0.7065 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1832, allocations: 0 / 0.7065 GB, free: 14.04 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.0005418/0.1838, allocations: 305.8 kB / 0.7068 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1838, allocations: 12.02 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.1842, allocations: 60.83 kB / 0.7069 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1844, allocations: 122.4 kB / 0.707 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1844, allocations: 8.375 kB / 0.707 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1844, allocations: 384 / 0.707 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.1847, allocations: 81.89 kB / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1847, allocations: 3.984 kB / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1847, allocations: 0 / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1847, allocations: 0 / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1851, allocations: 79.91 kB / 0.7072 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1853, allocations: 136.8 kB / 0.7073 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.1858, allocations: 122.5 kB / 0.7074 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.186, allocations: 44.89 kB / 0.7075 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.186, allocations: 4 kB / 0.7075 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1861, allocations: 34.5 kB / 0.7075 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1861, allocations: 0 / 0.7075 GB, free: 12.92 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.004199/0.1903, allocations: 0.7819 MB / 0.7083 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1903, allocations: 59.34 kB / 0.7083 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1904, allocations: 113.8 kB / 0.7084 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1905, allocations: 25.7 kB / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.1905, allocations: 84.14 kB / 0.7085 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.1906, allocations: 31.73 kB / 0.7086 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.1906, allocations: 29.64 kB / 0.7086 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1908, allocations: 322.9 kB / 0.7089 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.1912, allocations: 100.6 kB / 0.709 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1916, allocations: 95.89 kB / 0.7091 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.1925, allocations: 192.7 kB / 0.7093 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1925, allocations: 7.922 kB / 0.7093 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009129/0.1934, allocations: 237.4 kB / 0.7095 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1934, allocations: 4 kB / 0.7095 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1934, allocations: 0 / 0.7095 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1934, allocations: 8 kB / 0.7095 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.1937, allocations: 55.88 kB / 0.7096 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1937, allocations: 4 kB / 0.7096 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.194, allocations: 35.95 kB / 0.7096 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.194, allocations: 4 kB / 0.7096 GB, free: 10.7 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 0.0001203/0.1941, allocations: 118.4 kB / 0.7097 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1941, allocations: 7.953 kB / 0.7097 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.1942, allocations: 12.38 kB / 0.7097 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1942, allocations: 4 kB / 0.7097 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1942, allocations: 4 kB / 0.7097 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1942, allocations: 0 / 0.7097 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.1959, allocations: 0.5614 MB / 0.7103 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1959, allocations: 4.031 kB / 0.7103 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.1962, allocations: 51.94 kB / 0.7103 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1962, allocations: 4.281 kB / 0.7104 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1962, allocations: 3.984 kB / 0.7104 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1962, allocations: 4 kB / 0.7104 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1962, allocations: 7.938 kB / 0.7104 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.1972, allocations: 340.9 kB / 0.7107 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.1972, allocations: 11.95 kB / 0.7107 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1972, allocations: 8 kB / 0.7107 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.1975, allocations: 31.95 kB / 0.7107 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1975, allocations: 15.92 kB / 0.7108 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1975, allocations: 4 kB / 0.7108 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.1976, allocations: 95.2 kB / 0.7109 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1976, allocations: 0 / 0.7109 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003071/0.1979, allocations: 47.8 kB / 0.7109 GB, free: 9.285 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.0002527/0.1982, allocations: 123.1 kB / 0.711 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009157/0.1991, allocations: 207.7 kB / 0.7112 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1991, allocations: 0 / 0.7112 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.1995, allocations: 111.9 kB / 0.7113 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.1998, allocations: 9.719 kB / 0.7113 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.2014, allocations: 427.8 kB / 0.7117 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.2017, allocations: 0.6883 MB / 0.7124 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.2018, allocations: 19.42 kB / 0.7124 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2018, allocations: 0 / 0.7124 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of Templates: time 0.003686/0.2055, allocations: 1.434 MB / 0.7138 GB, free: 6.207 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.851672634948045] Failed to read output from testmodel.py, exit status != 0: 0.21556309098377824 0.23076512300000002 0.044268151000000006 Calling exit ...