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.009283/0.009283, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001876/0.001876, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8479/0.8479, allocations: 135.6 MB / 426.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.19 kB / 0.5857 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 81.02 MB / 0.6649 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002518/0.1591, allocations: 1.448 MB / 0.6663 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1604, allocations: 0.7797 MB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.1604, allocations: 0 / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.1605, allocations: 3.938 kB / 0.667 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.1605, allocations: 11.92 kB / 0.6671 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.161, allocations: 127.5 kB / 0.6672 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.161, allocations: 35.92 kB / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.1611, allocations: 7.984 kB / 0.6672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.1612, allocations: 11.98 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.1613, allocations: 23.91 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1613, allocations: 8 kB / 0.6673 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1618, allocations: 311.3 kB / 0.6676 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1618, allocations: 11.97 kB / 0.6676 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1619, allocations: 11.94 kB / 0.6676 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1622, allocations: 203.7 kB / 0.6678 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1622, allocations: 0 / 0.6678 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1622, allocations: 0 / 0.6678 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1622, allocations: 4 kB / 0.6678 GB, free: 2.645 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005651/0.1628, allocations: 379 kB / 0.6681 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1629, allocations: 9.109 kB / 0.6681 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.1629, allocations: 30.75 kB / 0.6682 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.1634, allocations: 68.84 kB / 0.6682 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1635, allocations: 168.3 kB / 0.6684 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1636, allocations: 4.375 kB / 0.6684 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.1636, allocations: 4.312 kB / 0.6684 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.1639, allocations: 89.75 kB / 0.6685 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1639, allocations: 0 / 0.6685 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1639, allocations: 7.938 kB / 0.6685 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1639, allocations: 3.938 kB / 0.6685 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.1644, allocations: 95.88 kB / 0.6686 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.1649, allocations: 292.9 kB / 0.6689 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.1653, allocations: 102.5 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1656, allocations: 44.88 kB / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.1656, allocations: 0 / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1656, allocations: 38.5 kB / 0.6691 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1656, allocations: 4 kB / 0.6691 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007577/0.1664, allocations: 161.5 kB / 0.6692 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1665, allocations: 55.41 kB / 0.6693 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.1666, allocations: 97.86 kB / 0.6694 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1666, allocations: 25.83 kB / 0.6694 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.1666, allocations: 92.12 kB / 0.6695 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.1667, allocations: 7.953 kB / 0.6695 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1667, allocations: 13.72 kB / 0.6695 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1669, allocations: 314.8 kB / 0.6698 GB, free: 364 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1671, allocations: 51.94 kB / 0.6698 GB, free: 312 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1673, allocations: 43.95 kB / 0.6699 GB, free: 268 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.1678, allocations: 92.77 kB / 0.67 GB, free: 172 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1678, allocations: 0 / 0.67 GB, free: 172 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004775/0.1682, allocations: 121.6 kB / 0.6701 GB, free: 44 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1683, allocations: 12.02 kB / 0.6701 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1683, allocations: 0 / 0.6701 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1683, allocations: 0 / 0.6701 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1685, allocations: 23.97 kB / 0.6701 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1685, allocations: 0 / 0.6701 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1686, allocations: 16.03 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1686, allocations: 8 kB / 0.6701 GB, free: 15.98 MB / 0.5137 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 8.43e-05/0.1687, allocations: 109.8 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1688, allocations: 7.875 kB / 0.6703 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.1688, allocations: 7.125 kB / 0.6703 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1688, allocations: 3.938 kB / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1688, allocations: 256 / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1688, allocations: 0 / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.169, allocations: 181.5 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.169, allocations: 0 / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.1692, allocations: 27.97 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1692, allocations: 0 / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1692, allocations: 0 / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1692, allocations: 0 / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1692, allocations: 0 / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.1698, allocations: 223.3 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.1698, allocations: 81.06 kB / 0.6708 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1699, allocations: 12.03 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.17, allocations: 15.97 kB / 0.6708 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1701, allocations: 4 kB / 0.6708 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1701, allocations: 0 / 0.6708 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.1701, allocations: 79.28 kB / 0.6709 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1701, allocations: 3.938 kB / 0.6709 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002423/0.1704, allocations: 19.98 kB / 0.6709 GB, free: 15.12 MB / 0.5137 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.0008883/0.1713, allocations: 0.7553 MB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.1718, allocations: 91.92 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1718, allocations: 4 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.172, allocations: 55.95 kB / 0.6718 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.1723, allocations: 0 / 0.6718 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.173, allocations: 195 kB / 0.672 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1733, allocations: 0.6729 MB / 0.6726 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.648e-05/0.1734, allocations: 8 kB / 0.6726 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.1735, allocations: 15.42 kB / 0.6726 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1735, allocations: 4 kB / 0.6726 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1963, allocations: 1.676 MB / 0.6743 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.153, allocations: 18.97 kB / 0.6743 GB, free: 11.62 MB / 0.5137 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)