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.007345/0.007352, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001197/0.001197, allocations: 190 kB / 16.67 MB, free: 6.379 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.8 kB / 0.5809 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1675, allocations: 80.2 MB / 0.6592 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001603/0.1691, allocations: 0.6304 MB / 0.6598 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1709, allocations: 1.464 MB / 0.6613 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.1709, allocations: 0 / 0.6613 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1709, allocations: 0 / 0.6613 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.171, allocations: 15.86 kB / 0.6613 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1715, allocations: 119.5 kB / 0.6614 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.1715, allocations: 19.98 kB / 0.6614 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.1716, allocations: 7.984 kB / 0.6614 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.1716, allocations: 15.88 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.1717, allocations: 23.91 kB / 0.6615 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1717, allocations: 0 / 0.6615 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.1721, allocations: 315.4 kB / 0.6618 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1722, allocations: 3.984 kB / 0.6618 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.1722, allocations: 15.88 kB / 0.6618 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.1725, allocations: 194.5 kB / 0.662 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1725, allocations: 4 kB / 0.662 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.1725, allocations: 0 / 0.662 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1725, allocations: 3.938 kB / 0.662 GB, free: 11.25 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.0004766/0.173, allocations: 376.2 kB / 0.6623 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.173, allocations: 8.031 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1731, allocations: 30.75 kB / 0.6624 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.1734, allocations: 68.7 kB / 0.6624 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1736, allocations: 172.4 kB / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1736, allocations: 4.375 kB / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1736, allocations: 4.375 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1739, allocations: 73.77 kB / 0.6627 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1739, allocations: 3.906 kB / 0.6627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1739, allocations: 7.984 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1739, allocations: 0 / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.1743, allocations: 71.86 kB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1744, allocations: 177.7 kB / 0.6629 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.175, allocations: 122.5 kB / 0.6631 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1752, allocations: 40.95 kB / 0.6631 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1752, allocations: 4 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1752, allocations: 34.5 kB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1752, allocations: 0 / 0.6631 GB, free: 9.902 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.003966/0.1792, allocations: 0.786 MB / 0.6639 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1792, allocations: 59.41 kB / 0.664 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1794, allocations: 113.8 kB / 0.6641 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1794, allocations: 25.7 kB / 0.6641 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.1794, allocations: 84.14 kB / 0.6642 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.1795, allocations: 31.55 kB / 0.6642 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.1796, allocations: 25.7 kB / 0.6642 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1798, allocations: 318.8 kB / 0.6645 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.1802, allocations: 95.89 kB / 0.6646 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.1806, allocations: 103.8 kB / 0.6647 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.1814, allocations: 188.7 kB / 0.6649 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1814, allocations: 3.938 kB / 0.6649 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008898/0.1823, allocations: 245.3 kB / 0.6651 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1824, allocations: 4 kB / 0.6651 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1824, allocations: 0 / 0.6651 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1824, allocations: 4.375 kB / 0.6651 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1827, allocations: 51.94 kB / 0.6652 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1827, allocations: 4 kB / 0.6652 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1829, allocations: 35.95 kB / 0.6652 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.183, allocations: 11.94 kB / 0.6652 GB, free: 7.676 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 9.887e-05/0.1831, allocations: 121.7 kB / 0.6654 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1831, allocations: 4 kB / 0.6654 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1831, allocations: 12.36 kB / 0.6654 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1832, allocations: 4 kB / 0.6654 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1832, allocations: 0 / 0.6654 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1832, allocations: 0 / 0.6654 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.1849, allocations: 0.5935 MB / 0.666 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1849, allocations: 0 / 0.666 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1851, allocations: 59.94 kB / 0.666 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1851, allocations: 0 / 0.666 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1852, allocations: 11.98 kB / 0.666 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1852, allocations: 0 / 0.666 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1852, allocations: 7.938 kB / 0.666 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/0.1861, allocations: 336.9 kB / 0.6664 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1862, allocations: 85.11 kB / 0.6664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.1862, allocations: 0 / 0.6664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1864, allocations: 39.95 kB / 0.6665 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.1865, allocations: 12.3 kB / 0.6665 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1865, allocations: 8 kB / 0.6665 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.1866, allocations: 95.25 kB / 0.6666 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1866, allocations: 0 / 0.6666 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00028/0.1869, allocations: 32 kB / 0.6666 GB, free: 6.148 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.001302/0.1882, allocations: 0.9069 MB / 0.6675 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009046/0.1891, allocations: 211.9 kB / 0.6677 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1891, allocations: 192 / 0.6677 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.1895, allocations: 112 kB / 0.6678 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.1898, allocations: 15.88 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.1944, allocations: 2.131 MB / 0.6699 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1947, allocations: 0.6807 MB / 0.6706 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000107/0.1948, allocations: 29.42 kB / 0.6706 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.1949, allocations: 27.42 kB / 0.6706 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.1949, allocations: 0 / 0.6706 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.2133, allocations: 2.776 MB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.702, allocations: 17.38 kB / 0.6733 GB, free: 15.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)