Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_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.001658/0.001658, allocations: 108 kB / 15.6 MB, free: 132 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.002138/0.002138, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1533, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002508/0.1558, allocations: 1.477 MB / 0.5859 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.1561, allocations: 100.5 kB / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1561, allocations: 3.938 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.1562, allocations: 7.922 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.1563, allocations: 7.922 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.1564, allocations: 23.97 kB / 0.5861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.1565, allocations: 39.86 kB / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.1566, allocations: 12 kB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.1567, allocations: 19.92 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.1567, allocations: 23.91 kB / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1567, allocations: 4 kB / 0.5861 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.1568, allocations: 15.98 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.1569, allocations: 19.92 kB / 0.5862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1569, allocations: 19.86 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.157, allocations: 55.81 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.157, allocations: 4 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.157, allocations: 0 / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.157, allocations: 0 / 0.5863 GB, free: 2.594 MB / 494.1 MB 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.0004905/0.1575, allocations: 383.4 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1576, allocations: 8.031 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.1576, allocations: 34.69 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1576, allocations: 4.938 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1578, allocations: 179.4 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.1578, allocations: 4.375 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1578, allocations: 8.375 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1581, allocations: 70.22 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1581, allocations: 3.938 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1581, allocations: 0 / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1581, allocations: 4 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.1584, allocations: 75.91 kB / 0.587 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1587, allocations: 296.7 kB / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.159, allocations: 62.53 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.1591, allocations: 48.91 kB / 0.5874 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.1594, allocations: 109.1 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1594, allocations: 30.56 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1594, allocations: 0 / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005601/0.16, allocations: 153.4 kB / 0.5877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.16, allocations: 55.41 kB / 0.5877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.1601, allocations: 125.8 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1601, allocations: 25.7 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.1602, allocations: 92.14 kB / 0.588 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1602, allocations: 9.562 kB / 0.588 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1602, allocations: 17.7 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1603, allocations: 314.8 kB / 0.5883 GB, free: 288 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1605, allocations: 39.89 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1606, allocations: 35.97 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.1609, allocations: 84.72 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1609, allocations: 8 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003454/0.1613, allocations: 117.8 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1613, allocations: 4 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1613, allocations: 4 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1613, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1615, allocations: 19.92 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1615, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.1616, allocations: 15.98 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1616, allocations: 0 / 0.5886 GB, free: 15.95 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 7.26e-05/0.1617, allocations: 113.8 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1617, allocations: 15.89 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.1621, allocations: 125.4 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1621, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1621, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1621, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.1623, allocations: 181.6 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1623, allocations: 0 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.774e-05/0.1624, allocations: 15.98 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1624, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1624, allocations: 4 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1624, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1624, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.1628, allocations: 215.3 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1628, allocations: 85.02 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1629, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.163, allocations: 15.97 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.163, allocations: 0 / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.163, allocations: 0 / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.1631, allocations: 103.3 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1631, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002306/0.1633, allocations: 12 kB / 0.5894 GB, free: 14.97 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.0006354/0.164, allocations: 0.7435 MB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.1643, allocations: 83.86 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1644, allocations: 0 / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1645, allocations: 43.95 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1648, allocations: 11.88 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.1652, allocations: 195 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1655, allocations: 0.6885 MB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.1655, allocations: 4 kB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1655, allocations: 15.44 kB / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1655, allocations: 0 / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1837, allocations: 1.846 MB / 0.593 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.652, allocations: 13.02 kB / 0.593 GB, free: 11.32 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)