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.001369/0.001369, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001511/0.001511, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.797 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.8517/0.8517, allocations: 134 MB / 447.2 MB, free: 9.934 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.002563/0.002563, allocations: 59.91 kB / 0.6193 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1687, allocations: 85.92 MB / 0.7032 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001996/0.1707, allocations: 0.6226 MB / 0.7038 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.1729, allocations: 1.432 MB / 0.7052 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.173, allocations: 0 / 0.7052 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.173, allocations: 3.938 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.1731, allocations: 0 / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1737, allocations: 127.5 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.1737, allocations: 23.92 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.1738, allocations: 3.984 kB / 0.7054 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.1738, allocations: 19.92 kB / 0.7054 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.1739, allocations: 19.91 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1739, allocations: 4 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1744, allocations: 259.5 kB / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.1744, allocations: 15.88 kB / 0.7057 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.1745, allocations: 11.92 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1748, allocations: 171.8 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1748, allocations: 0 / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1748, allocations: 4 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1748, allocations: 0 / 0.7058 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.0005718/0.1754, allocations: 305.8 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1754, allocations: 12.03 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.1754, allocations: 192 / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.1755, allocations: 34.73 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/0.1759, allocations: 64.81 kB / 0.7062 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.176, allocations: 114.5 kB / 0.7063 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1761, allocations: 12.31 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1761, allocations: 384 / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1764, allocations: 81.52 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1764, allocations: 3.984 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1764, allocations: 4 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1764, allocations: 0 / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.1768, allocations: 75.91 kB / 0.7065 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.177, allocations: 140.8 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.1775, allocations: 118.5 kB / 0.7068 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1777, allocations: 44.89 kB / 0.7068 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1777, allocations: 15.86 kB / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1778, allocations: 30.56 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1778, allocations: 0 / 0.7068 GB, free: 13.12 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.004168/0.1819, allocations: 0.7843 MB / 0.7076 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.182, allocations: 55.34 kB / 0.7077 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1821, allocations: 113.8 kB / 0.7078 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1821, allocations: 25.7 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.1822, allocations: 88.14 kB / 0.7079 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.1822, allocations: 31.73 kB / 0.7079 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.1823, allocations: 25.7 kB / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1825, allocations: 318.8 kB / 0.7082 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.1829, allocations: 91.91 kB / 0.7083 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.1833, allocations: 103.9 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.1841, allocations: 196.5 kB / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1841, allocations: 0 / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009183/0.185, allocations: 241.7 kB / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.185, allocations: 4 kB / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.185, allocations: 96 / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.185, allocations: 3.938 kB / 0.7089 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.1853, allocations: 59.88 kB / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1854, allocations: 0 / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1856, allocations: 36.7 kB / 0.7089 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1856, allocations: 7.984 kB / 0.709 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 0.0001057/0.1857, allocations: 121.8 kB / 0.7091 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1857, allocations: 11.89 kB / 0.7091 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.1858, allocations: 8.375 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1858, allocations: 0 / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1858, allocations: 0 / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1858, allocations: 0 / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.1875, allocations: 0.5653 MB / 0.7096 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1875, allocations: 0 / 0.7096 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1878, allocations: 51.94 kB / 0.7097 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1878, allocations: 4.062 kB / 0.7097 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1878, allocations: 4 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1878, allocations: 0 / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.1878, allocations: 3.938 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.1887, allocations: 341 kB / 0.71 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.1887, allocations: 11.94 kB / 0.71 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.1888, allocations: 8 kB / 0.71 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.189, allocations: 35.95 kB / 0.7101 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.1891, allocations: 11.92 kB / 0.7101 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1891, allocations: 4 kB / 0.7101 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.1891, allocations: 91.27 kB / 0.7102 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1891, allocations: 7.938 kB / 0.7102 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003029/0.1894, allocations: 39.88 kB / 0.7102 GB, free: 9.508 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.001355/0.1908, allocations: 0.8895 MB / 0.7111 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009168/0.1917, allocations: 219.8 kB / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1917, allocations: 0 / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.1922, allocations: 108.6 kB / 0.7114 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1924, allocations: 11.94 kB / 0.7114 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.1971, allocations: 2.141 MB / 0.7135 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.1972, allocations: 71.2 kB / 0.7136 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.1973, allocations: 28.8 kB / 0.7136 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.1974, allocations: 23.42 kB / 0.7136 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1974, allocations: 0 / 0.7136 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.2215, allocations: 2.992 MB / 0.7166 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.42, allocations: 9.594 kB / 0.7166 GB, free: 3.031 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: 15.019270248012617] Failed to read output from testmodel.py, exit status != 0: 11.57814916910138 11.603788866 11.425081493 Calling exit ...