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.007583/0.007583, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.001735/0.001735, allocations: 198.1 kB / 16.68 MB, free: 6.375 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.42 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1729, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002848/0.1758, allocations: 1.477 MB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004309/0.1763, allocations: 108.6 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1764, allocations: 4 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.875e-05/0.1764, allocations: 3.938 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.1765, allocations: 7.875 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1769, allocations: 19.97 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.177, allocations: 51.84 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1772, allocations: 8 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.1772, allocations: 15.92 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.1773, allocations: 23.91 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1773, allocations: 7.938 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.1774, allocations: 19.98 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1775, allocations: 7.984 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.1776, allocations: 27.86 kB / 0.6609 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1777, allocations: 64.02 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1777, allocations: 0 / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1778, allocations: 0 / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.1778, allocations: 0 / 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.000657/0.1784, allocations: 379.1 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.1785, allocations: 8.031 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1785, allocations: 38.69 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1786, allocations: 4.938 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1787, allocations: 180.2 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1788, allocations: 384 / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1788, allocations: 4.375 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1791, allocations: 78.2 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1791, allocations: 3.938 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1791, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1791, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.1794, allocations: 79.92 kB / 0.6617 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.1798, allocations: 284.8 kB / 0.662 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1801, allocations: 74.47 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1802, allocations: 40.92 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.1805, allocations: 109.1 kB / 0.6622 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1805, allocations: 30.56 kB / 0.6623 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1806, allocations: 0 / 0.6623 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005573/0.1811, allocations: 157.5 kB / 0.6624 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1812, allocations: 55.39 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1813, allocations: 123.6 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1813, allocations: 29.7 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.1814, allocations: 88.12 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1814, allocations: 15.95 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1814, allocations: 9.719 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1816, allocations: 322.8 kB / 0.663 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1817, allocations: 31.97 kB / 0.6631 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1819, allocations: 39.95 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.1821, allocations: 84.66 kB / 0.6632 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1822, allocations: 3.938 kB / 0.6632 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003294/0.1825, allocations: 113.6 kB / 0.6633 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1825, allocations: 8 kB / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1825, allocations: 4 kB / 0.6633 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1825, allocations: 336 / 0.6633 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1827, allocations: 15.98 kB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1827, allocations: 0 / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.1828, allocations: 7.984 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1828, allocations: 4 kB / 0.6633 GB, free: 9.496 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 0.000111/0.1829, allocations: 122.4 kB / 0.6634 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1829, allocations: 3.953 kB / 0.6634 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.1833, allocations: 129.4 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1833, allocations: 4 kB / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1833, allocations: 0 / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1833, allocations: 3.984 kB / 0.6636 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1835, allocations: 177.5 kB / 0.6637 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1835, allocations: 0 / 0.6637 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1836, allocations: 23.97 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1837, allocations: 0 / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1837, allocations: 4 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1837, allocations: 7.938 kB / 0.6638 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1837, allocations: 0 / 0.6638 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.1841, allocations: 215.3 kB / 0.664 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.1842, allocations: 81.06 kB / 0.6641 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1842, allocations: 4 kB / 0.6641 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1843, allocations: 11.98 kB / 0.6641 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.1844, allocations: 7.984 kB / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1844, allocations: 0 / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.1844, allocations: 97.02 kB / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1844, allocations: 0 / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002302/0.1847, allocations: 16 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.0006947/0.1854, allocations: 0.7397 MB / 0.6649 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.1857, allocations: 91.84 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1858, allocations: 0 / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1859, allocations: 35.97 kB / 0.665 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1862, allocations: 11.98 kB / 0.665 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1867, allocations: 194 kB / 0.6652 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1869, allocations: 0.6846 MB / 0.6659 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.187, allocations: 0 / 0.6659 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.187, allocations: 23.42 kB / 0.6659 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.187, allocations: 0 / 0.6659 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.2074, allocations: 1.859 MB / 0.6677 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.643, allocations: 4.531 kB / 0.6677 GB, free: 4.859 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)