Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_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.007448/0.007449, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001623/0.001623, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7684/0.7684, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.72 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002836/0.1591, allocations: 1.604 MB / 0.6607 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006927/0.1598, allocations: 311.9 kB / 0.661 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.1599, allocations: 4 kB / 0.661 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.085e-05/0.1599, allocations: 7.875 kB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.1601, allocations: 19.8 kB / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1604, allocations: 75.84 kB / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1606, allocations: 103.6 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1607, allocations: 31.97 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.1608, allocations: 39.86 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.1609, allocations: 39.84 kB / 0.6614 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1609, allocations: 8 kB / 0.6614 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.161, allocations: 27.97 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.161, allocations: 23.91 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1611, allocations: 43.73 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1613, allocations: 103.8 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1613, allocations: 0 / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1613, allocations: 3.938 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1613, allocations: 0 / 0.6616 GB, free: 8.309 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.0005921/0.1619, allocations: 419 kB / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.162, allocations: 8.031 kB / 0.662 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.162, allocations: 42.73 kB / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.163, allocations: 120.7 kB / 0.6621 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1632, allocations: 180.2 kB / 0.6623 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1632, allocations: 8.375 kB / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1632, allocations: 8.125 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.1638, allocations: 159 kB / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1638, allocations: 0 / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1639, allocations: 0 / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1639, allocations: 7.984 kB / 0.6625 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.1646, allocations: 155.8 kB / 0.6626 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.1656, allocations: 448.3 kB / 0.663 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.1663, allocations: 138.4 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.1667, allocations: 68.92 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1667, allocations: 7.984 kB / 0.6632 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1668, allocations: 34.5 kB / 0.6633 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1668, allocations: 4 kB / 0.6633 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001241/0.168, allocations: 249.3 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1681, allocations: 51.41 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1682, allocations: 158.2 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1683, allocations: 29.7 kB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.1683, allocations: 100.1 kB / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1683, allocations: 15.84 kB / 0.6639 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.1684, allocations: 33.66 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.1685, allocations: 318.8 kB / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.1689, allocations: 76.78 kB / 0.6643 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1693, allocations: 67.92 kB / 0.6643 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.17, allocations: 144.6 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.17, allocations: 4 kB / 0.6645 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007973/0.1708, allocations: 181.5 kB / 0.6646 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1708, allocations: 11.94 kB / 0.6647 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1708, allocations: 0 / 0.6647 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1709, allocations: 0 / 0.6647 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.1711, allocations: 35.94 kB / 0.6647 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1711, allocations: 0 / 0.6647 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1714, allocations: 27.97 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1714, allocations: 0 / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001403/0.1716, allocations: 112.1 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001091/0.1717, allocations: 60.2 kB / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001844/0.1719, allocations: 88.14 kB / 0.665 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.1719, allocations: 0 / 0.665 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002492/0.1721, allocations: 109.5 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1721, allocations: 4 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1722, allocations: 7.922 kB / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/0.1722, allocations: 4 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.1722, allocations: 19.92 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1723, allocations: 400 / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.1723, allocations: 16.09 kB / 0.6651 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1724, allocations: 4 kB / 0.6651 GB, free: 4.371 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.236e-05/0.1725, allocations: 180.3 kB / 0.6653 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.1725, allocations: 11.89 kB / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.1726, allocations: 16.3 kB / 0.6653 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1726, allocations: 0 / 0.6653 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1726, allocations: 256 / 0.6653 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1726, allocations: 4 kB / 0.6653 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1737, allocations: 487.9 kB / 0.6658 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1737, allocations: 0 / 0.6658 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.174, allocations: 43.95 kB / 0.6658 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.174, allocations: 0 / 0.6658 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.174, allocations: 7.984 kB / 0.6658 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.174, allocations: 0 / 0.6658 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.174, allocations: 3.984 kB / 0.6658 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.1749, allocations: 289 kB / 0.6661 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.175, allocations: 93.05 kB / 0.6662 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.175, allocations: 0 / 0.6662 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.1752, allocations: 27.97 kB / 0.6662 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.1753, allocations: 11.92 kB / 0.6663 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1753, allocations: 4 kB / 0.6663 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.1754, allocations: 118.9 kB / 0.6664 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.1754, allocations: 0 / 0.6664 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003177/0.1757, allocations: 32 kB / 0.6664 GB, free: 2.957 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.00112/0.1769, allocations: 0.8271 MB / 0.6672 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008848/0.1778, allocations: 179.8 kB / 0.6674 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1778, allocations: 0 / 0.6674 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.1781, allocations: 76.23 kB / 0.6675 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1785, allocations: 18.02 kB / 0.6675 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.1822, allocations: 1.897 MB / 0.6693 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1824, allocations: 0.6963 MB / 0.67 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.278e-05/0.1825, allocations: 12 kB / 0.67 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.1826, allocations: 39.39 kB / 0.6701 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1826, allocations: 0 / 0.6701 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.2007, allocations: 2.738 MB / 0.6727 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.786, allocations: 14.17 kB / 0.6727 GB, free: 12.43 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)