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) 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/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005659/0.005659, allocations: 103 kB / 15.74 MB, free: 6.043 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.001365/0.001365, allocations: 196.7 kB / 16.67 MB, free: 5.965 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8461/0.8461, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 69.25 kB / 0.5809 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 80.2 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002223/0.1702, allocations: 0.6227 MB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002732/0.173, allocations: 1.461 MB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.1731, allocations: 0 / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.1731, allocations: 3.938 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.1732, allocations: 3.984 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1737, allocations: 123.5 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.1738, allocations: 27.86 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.1739, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.1739, allocations: 23.91 kB / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.174, allocations: 15.92 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.174, allocations: 4 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.1747, allocations: 315.3 kB / 0.6618 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.1748, allocations: 7.938 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1748, allocations: 19.86 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.1752, allocations: 183.8 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1753, allocations: 4 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1753, allocations: 0 / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1753, allocations: 0 / 0.662 GB, free: 11.12 MB / 0.4981 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.0007903/0.1761, allocations: 386.9 kB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1761, allocations: 12.03 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1762, allocations: 30.75 kB / 0.6624 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.1767, allocations: 56.86 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.177, allocations: 176.3 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.177, allocations: 4.312 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.177, allocations: 384 / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.1774, allocations: 81.7 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1774, allocations: 0 / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1774, allocations: 0 / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1774, allocations: 7.984 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.1779, allocations: 75.91 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.1782, allocations: 169.7 kB / 0.6629 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.1789, allocations: 122.5 kB / 0.6631 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.1792, allocations: 44.94 kB / 0.6631 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1792, allocations: 3.938 kB / 0.6631 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.1793, allocations: 42.44 kB / 0.6631 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1793, allocations: 0 / 0.6631 GB, free: 9.758 MB / 0.4981 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.005474/0.1847, allocations: 0.7819 MB / 0.6639 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.1848, allocations: 51.41 kB / 0.664 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.185, allocations: 121.8 kB / 0.6641 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.185, allocations: 33.7 kB / 0.6641 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1851, allocations: 88.12 kB / 0.6642 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.1852, allocations: 27.75 kB / 0.6642 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.1853, allocations: 25.7 kB / 0.6642 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1855, allocations: 318.8 kB / 0.6645 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.1861, allocations: 95.89 kB / 0.6646 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.1867, allocations: 99.91 kB / 0.6647 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.1878, allocations: 188.7 kB / 0.6649 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.1878, allocations: 3.938 kB / 0.6649 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001294/0.1891, allocations: 246.4 kB / 0.6651 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1892, allocations: 7.984 kB / 0.6652 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1892, allocations: 0 / 0.6652 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1892, allocations: 96 / 0.6652 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.1897, allocations: 59.81 kB / 0.6652 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1897, allocations: 4 kB / 0.6652 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.19, allocations: 35.95 kB / 0.6653 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1901, allocations: 8 kB / 0.6653 GB, free: 7.527 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 0.0001291/0.1902, allocations: 121.8 kB / 0.6654 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1902, allocations: 4 kB / 0.6654 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.1903, allocations: 12.31 kB / 0.6654 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1903, allocations: 3.984 kB / 0.6654 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1903, allocations: 0 / 0.6654 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1903, allocations: 0 / 0.6654 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.1929, allocations: 0.6013 MB / 0.666 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1929, allocations: 0 / 0.666 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.1934, allocations: 56 kB / 0.666 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1934, allocations: 0 / 0.666 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1934, allocations: 8 kB / 0.666 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1934, allocations: 0 / 0.666 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.1934, allocations: 3.938 kB / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.1948, allocations: 341 kB / 0.6664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.1948, allocations: 77.11 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.1949, allocations: 11.98 kB / 0.6665 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.1952, allocations: 35.95 kB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.1953, allocations: 7.938 kB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.1953, allocations: 7.984 kB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.004e-05/0.1954, allocations: 91.27 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1954, allocations: 0 / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004796/0.1959, allocations: 39.88 kB / 0.6666 GB, free: 6 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.002018/0.198, allocations: 0.9068 MB / 0.6675 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.1993, allocations: 219.8 kB / 0.6677 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1993, allocations: 0 / 0.6677 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.1999, allocations: 108 kB / 0.6678 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.2003, allocations: 14.17 kB / 0.6678 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/0.207, allocations: 2.13 MB / 0.6699 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.2075, allocations: 0.6923 MB / 0.6706 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.2077, allocations: 20.66 kB / 0.6706 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2078, allocations: 31.42 kB / 0.6706 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.2079, allocations: 0 / 0.6706 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.2354, allocations: 2.737 MB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.994, allocations: 2.234 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)