Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic",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.00901/0.009009, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.00191/0.00191, allocations: 196 kB / 16.67 MB, free: 5.965 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8388/0.8388, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 80.05 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1726, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002598/0.1752, allocations: 1.48 MB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003265/0.1756, allocations: 116.6 kB / 0.6608 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1756, allocations: 0 / 0.6608 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.1757, allocations: 3.938 kB / 0.6608 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.1757, allocations: 11.88 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1759, allocations: 23.97 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.176, allocations: 47.83 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.1761, allocations: 4 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1762, allocations: 23.92 kB / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.1762, allocations: 15.92 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1763, allocations: 4 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.1763, allocations: 19.98 kB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1764, allocations: 19.86 kB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.1764, allocations: 27.86 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1766, allocations: 56.02 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1766, allocations: 0 / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1766, allocations: 0 / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1766, allocations: 0 / 0.661 GB, free: 12.16 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.0005698/0.1772, allocations: 383.1 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1772, allocations: 8.031 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.1773, allocations: 38.75 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.1773, allocations: 4.938 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1774, allocations: 176.2 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1775, allocations: 4.375 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1775, allocations: 4.312 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1778, allocations: 74.2 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1778, allocations: 3.938 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1778, allocations: 0 / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1778, allocations: 4 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.1781, allocations: 75.92 kB / 0.6617 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1785, allocations: 284.9 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1788, allocations: 66.47 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1789, allocations: 48.92 kB / 0.6621 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.1792, allocations: 113 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1792, allocations: 30.56 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1792, allocations: 8 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006015/0.1798, allocations: 149.5 kB / 0.6624 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1799, allocations: 55.34 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.18, allocations: 125.8 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.18, allocations: 25.7 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.1801, allocations: 100.1 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1801, allocations: 3.953 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1802, allocations: 17.72 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1803, allocations: 314.8 kB / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1805, allocations: 39.97 kB / 0.6631 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1806, allocations: 39.95 kB / 0.6631 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1809, allocations: 80.72 kB / 0.6632 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.181, allocations: 0 / 0.6632 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003626/0.1813, allocations: 117.5 kB / 0.6633 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1814, allocations: 8 kB / 0.6633 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1814, allocations: 0 / 0.6633 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1814, allocations: 0 / 0.6633 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1815, allocations: 15.98 kB / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1815, allocations: 0 / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.1816, allocations: 15.92 kB / 0.6633 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1816, allocations: 0 / 0.6633 GB, free: 9.516 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 9.765e-05/0.1817, allocations: 125.8 kB / 0.6635 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1818, allocations: 7.953 kB / 0.6635 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.1822, allocations: 113.5 kB / 0.6636 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1822, allocations: 0 / 0.6636 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1822, allocations: 4 kB / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1822, allocations: 3.984 kB / 0.6636 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1824, allocations: 189.5 kB / 0.6638 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1824, allocations: 4 kB / 0.6638 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.707e-05/0.1825, allocations: 15.97 kB / 0.6638 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1825, allocations: 4 kB / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1825, allocations: 0 / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1825, allocations: 0 / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1825, allocations: 0 / 0.6638 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.183, allocations: 215.3 kB / 0.664 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.183, allocations: 85.06 kB / 0.6641 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1831, allocations: 0 / 0.6641 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1832, allocations: 11.98 kB / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1832, allocations: 7.984 kB / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1832, allocations: 432 / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.1833, allocations: 100.9 kB / 0.6642 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1833, allocations: 4 kB / 0.6642 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002348/0.1835, allocations: 8 kB / 0.6642 GB, free: 8.523 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.0007461/0.1843, allocations: 0.7474 MB / 0.6649 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.1847, allocations: 79.94 kB / 0.665 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1847, allocations: 0 / 0.665 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1849, allocations: 47.91 kB / 0.665 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.1851, allocations: 9.094 kB / 0.6651 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.1856, allocations: 191 kB / 0.6652 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1859, allocations: 0.6846 MB / 0.6659 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.186, allocations: 0 / 0.6659 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.186, allocations: 23.42 kB / 0.6659 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.186, allocations: 0 / 0.6659 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.2083, allocations: 1.852 MB / 0.6677 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.026, allocations: 8.875 kB / 0.6677 GB, free: 4.887 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic_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_Biquadratic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)