Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9691/0.9691, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.81 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1615, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002913/0.1644, allocations: 1.426 MB / 0.5859 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1657, allocations: 0.7851 MB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.1657, allocations: 0 / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1658, allocations: 4 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.1659, allocations: 3.938 kB / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1663, allocations: 127.5 kB / 0.5868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.1664, allocations: 31.92 kB / 0.5868 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.1665, allocations: 11.98 kB / 0.5868 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.1665, allocations: 19.88 kB / 0.5868 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1666, allocations: 19.91 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1666, allocations: 4 kB / 0.5868 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.1671, allocations: 323.3 kB / 0.5872 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1671, allocations: 4 kB / 0.5872 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1671, allocations: 15.92 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1675, allocations: 191.9 kB / 0.5874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1675, allocations: 0 / 0.5874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1675, allocations: 0 / 0.5874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1675, allocations: 0 / 0.5874 GB, free: 1.492 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005049/0.168, allocations: 375.4 kB / 0.5877 GB, free: 1.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.168, allocations: 12.03 kB / 0.5877 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.1681, allocations: 34.73 kB / 0.5878 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.1685, allocations: 64.86 kB / 0.5878 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1687, allocations: 172.3 kB / 0.588 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1687, allocations: 384 / 0.588 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1687, allocations: 4.375 kB / 0.588 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.169, allocations: 89.69 kB / 0.5881 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1691, allocations: 0 / 0.5881 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1691, allocations: 4 kB / 0.5881 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1691, allocations: 0 / 0.5881 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.1695, allocations: 95.89 kB / 0.5882 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.1701, allocations: 304.8 kB / 0.5885 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.1705, allocations: 90.5 kB / 0.5886 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1707, allocations: 52.88 kB / 0.5886 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1707, allocations: 7.938 kB / 0.5886 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.1707, allocations: 30.56 kB / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.1707, allocations: 0 / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000766/0.1715, allocations: 165.5 kB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1716, allocations: 55.53 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.1717, allocations: 109.8 kB / 0.589 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1717, allocations: 25.7 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.1717, allocations: 84.05 kB / 0.5891 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1718, allocations: 0 / 0.5891 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.1718, allocations: 17.72 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1719, allocations: 318.8 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.1721, allocations: 47.95 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.1723, allocations: 47.89 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.1727, allocations: 92.83 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1728, allocations: 0 / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004479/0.1732, allocations: 129.4 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1732, allocations: 4 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1732, allocations: 4 kB / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1733, allocations: 0 / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1734, allocations: 19.97 kB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1734, allocations: 0 / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1736, allocations: 20.02 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1736, allocations: 3.984 kB / 0.5897 GB, free: 14.83 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 (2): * Single equations (assignments): 2 * 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 7.975e-05/0.1737, allocations: 121.7 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1737, allocations: 0 / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.1737, allocations: 3.125 kB / 0.5899 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1738, allocations: 0 / 0.5899 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1738, allocations: 0 / 0.5899 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1738, allocations: 8 kB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1739, allocations: 173.6 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.174, allocations: 256 / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1741, allocations: 23.97 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1741, allocations: 0 / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1741, allocations: 0 / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1741, allocations: 0 / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1741, allocations: 4 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.1746, allocations: 223.4 kB / 0.5903 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1747, allocations: 81.02 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.1747, allocations: 0 / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1749, allocations: 23.91 kB / 0.5904 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1749, allocations: 7.938 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.175, allocations: 0 / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.175, allocations: 87.3 kB / 0.5905 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.175, allocations: 0 / 0.5905 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002481/0.1753, allocations: 16 kB / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0008892/0.1762, allocations: 0.7514 MB / 0.5912 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.1767, allocations: 103.9 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1767, allocations: 0 / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.1769, allocations: 52.02 kB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1772, allocations: 4 kB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.178, allocations: 199.1 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1782, allocations: 0.6806 MB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.714e-05/0.1783, allocations: 15.94 kB / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1784, allocations: 11.44 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1784, allocations: 0 / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2006, allocations: 1.652 MB / 0.5939 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.467, allocations: 7.875 kB / 0.5939 GB, free: 10.5 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)