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.006698/0.006698, allocations: 99.69 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.001816/0.001816, allocations: 192.3 kB / 16.67 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.869/0.869, allocations: 135.6 MB / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.14 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1522, allocations: 81.03 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00287/0.1551, allocations: 1.606 MB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.1558, allocations: 302 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.1559, allocations: 4 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.156, allocations: 7.922 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.1561, allocations: 19.8 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1564, allocations: 71.8 kB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1566, allocations: 107.6 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1568, allocations: 35.95 kB / 0.6669 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.1569, allocations: 43.84 kB / 0.667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.157, allocations: 39.84 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.157, allocations: 8 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1571, allocations: 27.97 kB / 0.6671 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1571, allocations: 19.92 kB / 0.6671 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.1572, allocations: 43.73 kB / 0.6671 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1574, allocations: 103.8 kB / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1574, allocations: 0 / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1574, allocations: 0 / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1574, allocations: 0 / 0.6672 GB, free: 3.195 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006387/0.1581, allocations: 415 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1581, allocations: 9.109 kB / 0.6676 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.1582, allocations: 38.75 kB / 0.6677 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.1592, allocations: 128.7 kB / 0.6678 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1594, allocations: 180.2 kB / 0.668 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1594, allocations: 8.375 kB / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1594, allocations: 8.125 kB / 0.668 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.16, allocations: 149.5 kB / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.16, allocations: 4 kB / 0.6681 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.16, allocations: 4 kB / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.16, allocations: 0 / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.1608, allocations: 155.8 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1618, allocations: 452.2 kB / 0.6687 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.1625, allocations: 142.4 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.1629, allocations: 76.91 kB / 0.6689 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.163, allocations: 4 kB / 0.6689 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.163, allocations: 38.5 kB / 0.669 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 3.196e-06/0.163, allocations: 0 / 0.669 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001249/0.1643, allocations: 249.5 kB / 0.6692 GB, free: 1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1643, allocations: 55.34 kB / 0.6692 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1645, allocations: 153.9 kB / 0.6694 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1645, allocations: 33.7 kB / 0.6694 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1646, allocations: 100.1 kB / 0.6695 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.1646, allocations: 15.83 kB / 0.6695 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.1647, allocations: 37.69 kB / 0.6696 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1648, allocations: 314.8 kB / 0.6699 GB, free: 268 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.1652, allocations: 76.84 kB / 0.6699 GB, free: 188 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.1656, allocations: 67.92 kB / 0.67 GB, free: 120 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.1664, allocations: 136.7 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1664, allocations: 4 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008222/0.1672, allocations: 193.4 kB / 0.6703 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1672, allocations: 11.94 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1672, allocations: 0 / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1673, allocations: 0 / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.1675, allocations: 35.95 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1676, allocations: 0 / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1678, allocations: 27.97 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1678, allocations: 3.984 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001608/0.168, allocations: 108.1 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001197/0.1681, allocations: 60.27 kB / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001951/0.1683, allocations: 76.2 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.1683, allocations: 4 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002812/0.1686, allocations: 117.4 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.1686, allocations: 4 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1686, allocations: 4.328 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.1686, allocations: 7.938 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.1687, allocations: 15.98 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1687, allocations: 4.094 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.1688, allocations: 19.92 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1688, allocations: 0 / 0.6708 GB, free: 15.25 MB / 0.5137 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 0.0001216/0.169, allocations: 184.3 kB / 0.671 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.169, allocations: 11.89 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.1691, allocations: 12.31 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1691, allocations: 0 / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1691, allocations: 7.938 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1691, allocations: 0 / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1703, allocations: 483.9 kB / 0.6715 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1703, allocations: 0 / 0.6715 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1705, allocations: 36.02 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1705, allocations: 0 / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1706, allocations: 11.98 kB / 0.6715 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1706, allocations: 3.984 kB / 0.6715 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1706, allocations: 3.938 kB / 0.6715 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008601/0.1714, allocations: 293 kB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.1716, allocations: 93.05 kB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1716, allocations: 3.984 kB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1718, allocations: 23.97 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1719, allocations: 8 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1719, allocations: 7.984 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.889e-05/0.172, allocations: 111.3 kB / 0.672 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.172, allocations: 0 / 0.672 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000326/0.1723, allocations: 35.98 kB / 0.6721 GB, free: 13.83 MB / 0.5137 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.001215/0.1736, allocations: 0.8271 MB / 0.6729 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009101/0.1745, allocations: 187.7 kB / 0.6731 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1745, allocations: 320 / 0.6731 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.1749, allocations: 71.92 kB / 0.6731 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1753, allocations: 9.562 kB / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.1793, allocations: 1.902 MB / 0.675 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1797, allocations: 0.6924 MB / 0.6757 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.586e-05/0.1798, allocations: 15.98 kB / 0.6757 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.18, allocations: 31.41 kB / 0.6757 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.18, allocations: 11.94 kB / 0.6757 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.2052, allocations: 2.738 MB / 0.6784 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.063, allocations: 3.719 kB / 0.6784 GB, free: 7.293 MB / 0.5137 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)