Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",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.001441/0.001441, allocations: 112.5 kB / 15.73 MB, free: 76 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.001709/0.001709, allocations: 189.9 kB / 16.67 MB, free: 6.57 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.09 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002505/0.1716, allocations: 1.482 MB / 0.6606 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.172, allocations: 112.5 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.172, allocations: 4 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.1721, allocations: 3.938 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.1721, allocations: 11.88 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1723, allocations: 23.97 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.1724, allocations: 43.84 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.1725, allocations: 8 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.1726, allocations: 19.92 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.1726, allocations: 27.89 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1727, allocations: 4 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.1727, allocations: 23.92 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1728, allocations: 15.98 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.1728, allocations: 15.88 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1729, allocations: 60.02 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.173, allocations: 0 / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.32e-07/0.173, allocations: 0 / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.173, allocations: 3.984 kB / 0.661 GB, free: 12.13 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.0005016/0.1735, allocations: 379.2 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1735, allocations: 12.03 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1736, allocations: 34.75 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1736, allocations: 8.891 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1738, allocations: 176.3 kB / 0.6616 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1738, allocations: 8.312 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1738, allocations: 4.375 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1741, allocations: 74.22 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1741, allocations: 7.922 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1741, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1741, allocations: 4 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1744, allocations: 75.91 kB / 0.6618 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.1747, allocations: 280.9 kB / 0.662 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.175, allocations: 74.47 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1751, allocations: 44.84 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.1754, allocations: 109.1 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1754, allocations: 38.56 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1754, allocations: 0 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005639/0.176, allocations: 145.5 kB / 0.6624 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.176, allocations: 51.41 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.1761, allocations: 128.5 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1762, allocations: 33.7 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.1762, allocations: 96.06 kB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1762, allocations: 7.906 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1763, allocations: 17.72 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1764, allocations: 322.8 kB / 0.663 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1765, allocations: 31.97 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1767, allocations: 39.95 kB / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.177, allocations: 80.72 kB / 0.6632 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.177, allocations: 0 / 0.6632 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.1773, allocations: 113.6 kB / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1773, allocations: 4 kB / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1774, allocations: 3.984 kB / 0.6633 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1774, allocations: 4 kB / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1775, allocations: 11.98 kB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1775, allocations: 0 / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.1776, allocations: 15.92 kB / 0.6633 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1776, allocations: 0 / 0.6633 GB, free: 9.492 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 (3): * Single equations (assignments): 3 * 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.392e-05/0.1777, allocations: 126.4 kB / 0.6635 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1777, allocations: 7.953 kB / 0.6635 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.1781, allocations: 113.5 kB / 0.6636 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1781, allocations: 0 / 0.6636 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1781, allocations: 3.938 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1781, allocations: 0 / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1783, allocations: 185.6 kB / 0.6637 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1783, allocations: 0 / 0.6637 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1784, allocations: 19.97 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1784, allocations: 0 / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1785, allocations: 8 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1785, allocations: 0 / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1785, allocations: 3.938 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1788, allocations: 219.7 kB / 0.664 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.1789, allocations: 81.06 kB / 0.6641 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1789, allocations: 0 / 0.6641 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.179, allocations: 11.98 kB / 0.6641 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1791, allocations: 3.984 kB / 0.6641 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1791, allocations: 4 kB / 0.6641 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.1791, allocations: 103.3 kB / 0.6642 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1792, allocations: 3.938 kB / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.1794, allocations: 8 kB / 0.6642 GB, free: 8.496 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 (3): * Single equations (assignments): 3 * 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.0006553/0.18, allocations: 0.7436 MB / 0.6649 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1804, allocations: 83.91 kB / 0.665 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1804, allocations: 3.938 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1806, allocations: 39.91 kB / 0.665 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1808, allocations: 14.5 kB / 0.6651 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.1813, allocations: 187 kB / 0.6652 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1816, allocations: 0.6846 MB / 0.6659 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.1816, allocations: 4 kB / 0.6659 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1817, allocations: 19.42 kB / 0.6659 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1817, allocations: 0 / 0.6659 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1985, allocations: 1.869 MB / 0.6678 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.615, allocations: 16.16 kB / 0.6678 GB, free: 4.848 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear_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_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)