Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 152 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.002322/0.002321, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9473/0.9473, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.97 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1533, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002947/0.1563, allocations: 1.592 MB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006811/0.157, allocations: 313.5 kB / 0.5863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.1571, allocations: 0 / 0.5863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.1572, allocations: 7.922 kB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.1573, allocations: 23.8 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1576, allocations: 69.42 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1577, allocations: 99.7 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1579, allocations: 35.95 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.158, allocations: 35.86 kB / 0.5866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.158, allocations: 47.78 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1581, allocations: 8 kB / 0.5866 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.1582, allocations: 35.97 kB / 0.5867 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.1582, allocations: 15.92 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.1582, allocations: 43.8 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1584, allocations: 103.9 kB / 0.5868 GB, free: 2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1584, allocations: 0 / 0.5868 GB, free: 2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1584, allocations: 0 / 0.5868 GB, free: 2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1584, allocations: 3.938 kB / 0.5868 GB, free: 1.996 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005753/0.159, allocations: 403.1 kB / 0.5872 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1591, allocations: 8.031 kB / 0.5872 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1591, allocations: 38.75 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1602, allocations: 120.7 kB / 0.5874 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1603, allocations: 184.1 kB / 0.5876 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1604, allocations: 12.38 kB / 0.5876 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1604, allocations: 8.375 kB / 0.5876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.161, allocations: 157.4 kB / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.161, allocations: 0 / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.161, allocations: 0 / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.161, allocations: 0 / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.1618, allocations: 159.8 kB / 0.5879 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.1627, allocations: 448.3 kB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.1635, allocations: 134.5 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.1639, allocations: 76.91 kB / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1639, allocations: 0 / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1639, allocations: 34.5 kB / 0.5885 GB, free: 80 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.1639, allocations: 4 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001263/0.1652, allocations: 245.4 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1653, allocations: 51.41 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1654, allocations: 162.1 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1654, allocations: 25.7 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.1655, allocations: 100 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1655, allocations: 15.75 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1656, allocations: 33.69 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1657, allocations: 322.8 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.1661, allocations: 76.78 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.1665, allocations: 71.86 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.1672, allocations: 136.7 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1673, allocations: 0 / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008606/0.1681, allocations: 189.6 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1681, allocations: 13.81 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1682, allocations: 0 / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1682, allocations: 0 / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.1685, allocations: 31.95 kB / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1685, allocations: 4 kB / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1687, allocations: 31.81 kB / 0.59 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1687, allocations: 11.98 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001463/0.1689, allocations: 100.1 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001147/0.169, allocations: 56.27 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000198/0.1692, allocations: 88.19 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.1692, allocations: 3.938 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002621/0.1695, allocations: 109.4 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.1695, allocations: 7.938 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1695, allocations: 4 kB / 0.5904 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/0.1695, allocations: 3.938 kB / 0.5904 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.1696, allocations: 15.98 kB / 0.5904 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.1696, allocations: 4 kB / 0.5904 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.1697, allocations: 16.14 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1697, allocations: 4 kB / 0.5904 GB, free: 14.07 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 (7): * Single equations (assignments): 7 * 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.921e-05/0.1698, allocations: 176.3 kB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.1699, allocations: 16 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.1699, allocations: 12.31 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.17, allocations: 0 / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.17, allocations: 4 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.17, allocations: 15.86 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1712, allocations: 483.9 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1712, allocations: 0 / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.1714, allocations: 40 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1714, allocations: 0 / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1715, allocations: 4 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1715, allocations: 0 / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1715, allocations: 0 / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.1723, allocations: 292.9 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.1724, allocations: 96.98 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1725, allocations: 4 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1727, allocations: 27.97 kB / 0.5915 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1728, allocations: 0 / 0.5915 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1728, allocations: 7.984 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.652e-05/0.1729, allocations: 119.2 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1729, allocations: 0 / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003307/0.1732, allocations: 28 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.001159/0.1744, allocations: 0.827 MB / 0.5925 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009632/0.1754, allocations: 183.8 kB / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1754, allocations: 0 / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1758, allocations: 76.17 kB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1762, allocations: 8 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.1802, allocations: 1.892 MB / 0.5946 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1805, allocations: 0.7015 MB / 0.5953 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.552e-05/0.1806, allocations: 12 kB / 0.5953 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.1807, allocations: 31.41 kB / 0.5953 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1807, allocations: 0 / 0.5953 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.1997, allocations: 2.711 MB / 0.5979 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.475, allocations: 11.86 kB / 0.598 GB, free: 6.18 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface_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_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)