Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_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.005249/0.005249, allocations: 102.9 kB / 15.74 MB, free: 6.453 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.001247/0.001247, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8678/0.8678, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 72.17 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1584, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002811/0.1613, allocations: 1.439 MB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1627, allocations: 0.7913 MB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.1627, allocations: 8 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.1628, allocations: 3.938 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.1628, allocations: 0 / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1633, allocations: 127.5 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.548e-05/0.1634, allocations: 39.84 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.1635, allocations: 8 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.1636, allocations: 11.98 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.1636, allocations: 19.92 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1637, allocations: 7.984 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.1642, allocations: 311.4 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.1642, allocations: 11.98 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1642, allocations: 7.938 kB / 0.6619 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.1646, allocations: 203.7 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1646, allocations: 4 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1646, allocations: 0 / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1646, allocations: 4 kB / 0.6621 GB, free: 10.98 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.0005618/0.1652, allocations: 378.9 kB / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1652, allocations: 8.031 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1653, allocations: 30.75 kB / 0.6625 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.1657, allocations: 72.84 kB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1659, allocations: 172.3 kB / 0.6627 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1659, allocations: 4.375 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1659, allocations: 384 / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.1662, allocations: 93.75 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1663, allocations: 3.938 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1663, allocations: 0 / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1663, allocations: 0 / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.1667, allocations: 95.83 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.1673, allocations: 296.8 kB / 0.6632 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.1676, allocations: 98.5 kB / 0.6633 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.1679, allocations: 52.86 kB / 0.6634 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1679, allocations: 0 / 0.6634 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1679, allocations: 34.56 kB / 0.6634 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1679, allocations: 0 / 0.6634 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007373/0.1687, allocations: 169.5 kB / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1687, allocations: 55.53 kB / 0.6636 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.1688, allocations: 97.86 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1688, allocations: 25.7 kB / 0.6637 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1689, allocations: 96.08 kB / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1689, allocations: 3.953 kB / 0.6638 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.169, allocations: 13.72 kB / 0.6638 GB, free: 9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1691, allocations: 314.8 kB / 0.6641 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.1693, allocations: 47.95 kB / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1695, allocations: 51.94 kB / 0.6642 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.1699, allocations: 88.83 kB / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.17, allocations: 0 / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000453/0.1704, allocations: 121.5 kB / 0.6644 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1704, allocations: 4 kB / 0.6644 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1704, allocations: 0 / 0.6644 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1705, allocations: 3.984 kB / 0.6644 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1706, allocations: 19.98 kB / 0.6645 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1706, allocations: 3.984 kB / 0.6645 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1708, allocations: 28 kB / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1708, allocations: 0 / 0.6645 GB, free: 8.312 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 9.716e-05/0.1709, allocations: 110.4 kB / 0.6646 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1709, allocations: 4 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.171, allocations: 11.11 kB / 0.6646 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.171, allocations: 3.938 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.171, allocations: 4 kB / 0.6646 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.171, allocations: 3.984 kB / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1712, allocations: 169.5 kB / 0.6648 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1712, allocations: 256 / 0.6648 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1713, allocations: 35.91 kB / 0.6648 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1714, allocations: 0 / 0.6648 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1714, allocations: 7.922 kB / 0.6648 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1714, allocations: 0 / 0.6648 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1714, allocations: 0 / 0.6648 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.1719, allocations: 223.3 kB / 0.665 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1719, allocations: 85.11 kB / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.172, allocations: 0 / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1721, allocations: 11.98 kB / 0.6651 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.1722, allocations: 7.984 kB / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1722, allocations: 4.031 kB / 0.6651 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.1722, allocations: 79.28 kB / 0.6652 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1722, allocations: 0 / 0.6652 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002307/0.1725, allocations: 16 kB / 0.6652 GB, free: 7.453 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.0008729/0.1733, allocations: 0.7591 MB / 0.666 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.1738, allocations: 95.94 kB / 0.6661 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1738, allocations: 4.062 kB / 0.6661 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.174, allocations: 47.94 kB / 0.6661 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1743, allocations: 2.031 kB / 0.6661 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.175, allocations: 195 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1754, allocations: 0.6768 MB / 0.667 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.479e-05/0.1754, allocations: 12 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.1755, allocations: 15.42 kB / 0.667 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1755, allocations: 0 / 0.667 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.1973, allocations: 1.667 MB / 0.6686 GB, free: 4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.087, allocations: 8.547 kB / 0.6686 GB, free: 3.996 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)