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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.8581/0.8581, allocations: 134 MB / 436.6 MB, free: 1.277 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 74.45 kB / 0.6052 GB, free: 15.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1692, allocations: 84.67 MB / 0.6878 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001794/0.171, allocations: 0.6352 MB / 0.6885 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.173, allocations: 1.462 MB / 0.6899 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.173, allocations: 0 / 0.6899 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1731, allocations: 3.938 kB / 0.6899 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.1731, allocations: 7.984 kB / 0.6899 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1736, allocations: 127.5 kB / 0.69 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.381e-05/0.1737, allocations: 23.92 kB / 0.6901 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1737, allocations: 0 / 0.6901 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.1737, allocations: 19.92 kB / 0.6901 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.1738, allocations: 19.92 kB / 0.6901 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1738, allocations: 4 kB / 0.6901 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.1744, allocations: 319.3 kB / 0.6904 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1744, allocations: 7.875 kB / 0.6904 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.1744, allocations: 15.92 kB / 0.6904 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.1747, allocations: 187.8 kB / 0.6906 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1747, allocations: 0 / 0.6906 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1748, allocations: 0 / 0.6906 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.1748, allocations: 0 / 0.6906 GB, free: 8.207 MB / 0.5137 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.0005666/0.1753, allocations: 390.8 kB / 0.691 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1754, allocations: 12.03 kB / 0.691 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.1754, allocations: 30.75 kB / 0.691 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.1758, allocations: 56.86 kB / 0.6911 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1759, allocations: 184.3 kB / 0.6912 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.176, allocations: 384 / 0.6912 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.176, allocations: 384 / 0.6912 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.1762, allocations: 85.7 kB / 0.6913 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1763, allocations: 0 / 0.6913 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1763, allocations: 0 / 0.6913 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1763, allocations: 4 kB / 0.6913 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1766, allocations: 71.91 kB / 0.6914 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.1768, allocations: 165.7 kB / 0.6916 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.1774, allocations: 122.5 kB / 0.6917 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1775, allocations: 44.94 kB / 0.6917 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1776, allocations: 7.938 kB / 0.6917 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1776, allocations: 42.44 kB / 0.6918 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1776, allocations: 0 / 0.6918 GB, free: 6.844 MB / 0.5137 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.1817, allocations: 0.7819 MB / 0.6925 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1817, allocations: 55.41 kB / 0.6926 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1818, allocations: 117.8 kB / 0.6927 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1819, allocations: 25.7 kB / 0.6927 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.1819, allocations: 88.12 kB / 0.6928 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1819, allocations: 27.75 kB / 0.6928 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.182, allocations: 25.7 kB / 0.6929 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1821, allocations: 326.8 kB / 0.6932 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.1826, allocations: 91.91 kB / 0.6932 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.183, allocations: 95.89 kB / 0.6933 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.1838, allocations: 196.7 kB / 0.6935 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1838, allocations: 3.938 kB / 0.6935 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009035/0.1847, allocations: 237.7 kB / 0.6938 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1847, allocations: 7.938 kB / 0.6938 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1847, allocations: 4.094 kB / 0.6938 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1847, allocations: 7.922 kB / 0.6938 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.185, allocations: 51.89 kB / 0.6938 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1851, allocations: 7.984 kB / 0.6938 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1853, allocations: 35.97 kB / 0.6939 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1853, allocations: 7.984 kB / 0.6939 GB, free: 4.613 MB / 0.5137 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.139e-05/0.1854, allocations: 113.8 kB / 0.694 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1854, allocations: 4 kB / 0.694 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1854, allocations: 8.375 kB / 0.694 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1855, allocations: 4 kB / 0.694 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1855, allocations: 4 kB / 0.694 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1855, allocations: 3.984 kB / 0.694 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.1871, allocations: 0.5896 MB / 0.6946 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1871, allocations: 8 kB / 0.6946 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1874, allocations: 51.94 kB / 0.6946 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1874, allocations: 4 kB / 0.6946 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1874, allocations: 4.75 kB / 0.6947 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1874, allocations: 4 kB / 0.6947 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1874, allocations: 7.938 kB / 0.6947 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.1883, allocations: 333 kB / 0.695 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1884, allocations: 89.11 kB / 0.6951 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1884, allocations: 0 / 0.6951 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1886, allocations: 39.95 kB / 0.6951 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1887, allocations: 11.92 kB / 0.6951 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1887, allocations: 15.98 kB / 0.6951 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.1888, allocations: 87.28 kB / 0.6952 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1888, allocations: 0 / 0.6952 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003704/0.1891, allocations: 39.86 kB / 0.6953 GB, free: 3.086 MB / 0.5137 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.001413/0.1905, allocations: 0.9051 MB / 0.6961 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008881/0.1914, allocations: 215.8 kB / 0.6963 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1914, allocations: 4 kB / 0.6963 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.1918, allocations: 104 kB / 0.6964 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1921, allocations: 11.94 kB / 0.6965 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.1967, allocations: 2.133 MB / 0.6985 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.197, allocations: 0.69 MB / 0.6992 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.1971, allocations: 21.45 kB / 0.6992 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.1972, allocations: 27.41 kB / 0.6993 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.1972, allocations: 4 kB / 0.6993 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.2224, allocations: 2.744 MB / 0.7019 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.257, allocations: 3.391 kB / 0.7019 GB, free: 12.22 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.713104925118387] Failed to read output from testmodel.py, exit status != 0: 8.323391487821937 8.338886312 8.161156983 Calling exit ...