Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.032/1.032, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.64 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1844, allocations: 80.93 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001926/0.1864, allocations: 0.6846 MB / 0.5847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1882, allocations: 1.448 MB / 0.5861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.1883, allocations: 4 kB / 0.5861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.1883, allocations: 0 / 0.5861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.1884, allocations: 7.922 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1888, allocations: 99.7 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.1889, allocations: 23.92 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.189, allocations: 8 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.189, allocations: 19.91 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.1891, allocations: 19.86 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1891, allocations: 4 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.1896, allocations: 319.3 kB / 0.5866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1896, allocations: 0 / 0.5866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1896, allocations: 19.86 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1899, allocations: 191.9 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1899, allocations: 0 / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1899, allocations: 0 / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1899, allocations: 0 / 0.5868 GB, free: 1.898 MB / 494.1 MB 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.0005402/0.1905, allocations: 379.3 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1905, allocations: 8.031 kB / 0.5871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1906, allocations: 30.75 kB / 0.5872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.191, allocations: 60.86 kB / 0.5872 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1912, allocations: 176.2 kB / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1912, allocations: 384 / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1912, allocations: 8.375 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.1915, allocations: 77.77 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1915, allocations: 0 / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1915, allocations: 0 / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1916, allocations: 0 / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.1919, allocations: 79.89 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.1921, allocations: 165.7 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.1926, allocations: 126.4 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1928, allocations: 44.88 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1929, allocations: 8 kB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1929, allocations: 34.5 kB / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1929, allocations: 0 / 0.5879 GB, free: 0.5547 MB / 494.1 MB 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.00413/0.197, allocations: 0.8056 MB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.1971, allocations: 51.41 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.1972, allocations: 109.8 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1972, allocations: 29.7 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.1973, allocations: 88.12 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1973, allocations: 27.56 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1974, allocations: 25.7 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1975, allocations: 322.8 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.1979, allocations: 91.91 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.1983, allocations: 99.89 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.1991, allocations: 196.6 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1991, allocations: 3.938 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008629/0.2, allocations: 241.3 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2, allocations: 4 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2, allocations: 4.359 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2, allocations: 4 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.2004, allocations: 55.94 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.2004, allocations: 4 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2006, allocations: 31.91 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.2006, allocations: 7.984 kB / 0.59 GB, free: 14.32 MB / 0.4981 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 8.502e-05/0.2007, allocations: 117.8 kB / 0.5902 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.2008, allocations: 7.906 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.2008, allocations: 8.375 kB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2008, allocations: 4 kB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.2008, allocations: 3.984 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2009, allocations: 0 / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.2025, allocations: 0.5935 MB / 0.5908 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2025, allocations: 0 / 0.5908 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.2028, allocations: 60 kB / 0.5908 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2028, allocations: 7.938 kB / 0.5908 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2028, allocations: 0 / 0.5908 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2028, allocations: 4 kB / 0.5908 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.2028, allocations: 3.938 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.2037, allocations: 340.9 kB / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.2038, allocations: 85.02 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2038, allocations: 3.984 kB / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.2041, allocations: 39.91 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2041, allocations: 15.92 kB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2041, allocations: 7.984 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.2042, allocations: 87.28 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2042, allocations: 0 / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002754/0.2045, allocations: 39.98 kB / 0.5914 GB, free: 12.79 MB / 0.4981 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.001284/0.2058, allocations: 0.8975 MB / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008681/0.2067, allocations: 211.8 kB / 0.5925 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2067, allocations: 0 / 0.5925 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.2071, allocations: 108.6 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2073, allocations: 17.83 kB / 0.5926 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.2118, allocations: 2.132 MB / 0.5947 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.212, allocations: 0.6884 MB / 0.5954 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.2122, allocations: 28.8 kB / 0.5954 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.2122, allocations: 27.42 kB / 0.5954 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.014e-06/0.2122, allocations: 0 / 0.5954 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.2493, allocations: 2.6 MB / 0.598 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.2495, allocations: 207.2 kB / 0.5982 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.946, allocations: 1.125 kB / 0.5982 GB, free: 5.82 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)