Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.005515/0.005515, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001253/0.001253, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7523/0.7523, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.55 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1545, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003069/0.1576, allocations: 2.044 MB / 0.6612 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.1606, allocations: 2.018 MB / 0.6631 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1608, allocations: 11.94 kB / 0.6632 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.1615, allocations: 255 kB / 0.6634 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006955/0.1623, allocations: 291.2 kB / 0.6637 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.1632, allocations: 487.2 kB / 0.6641 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.1638, allocations: 466.8 kB / 0.6646 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1639, allocations: 40.31 kB / 0.6646 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.1641, allocations: 179.4 kB / 0.6648 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.1644, allocations: 163.4 kB / 0.665 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1644, allocations: 16 kB / 0.665 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.165, allocations: 447.2 kB / 0.6654 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1651, allocations: 99.75 kB / 0.6655 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1652, allocations: 115.3 kB / 0.6656 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.166, allocations: 0.5839 MB / 0.6662 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.166, allocations: 0 / 0.6662 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.166, allocations: 0 / 0.6662 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.166, allocations: 7.938 kB / 0.6662 GB, free: 6.836 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009346/0.1669, allocations: 0.6067 MB / 0.6668 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.167, allocations: 8.031 kB / 0.6668 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.167, allocations: 46.67 kB / 0.6668 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.1673, allocations: 48.72 kB / 0.6669 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.1678, allocations: 340.5 kB / 0.6672 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1678, allocations: 11.94 kB / 0.6672 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.1679, allocations: 12 kB / 0.6672 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1682, allocations: 145.6 kB / 0.6674 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1682, allocations: 4 kB / 0.6674 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1683, allocations: 4 kB / 0.6674 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1683, allocations: 4 kB / 0.6674 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.1686, allocations: 123.9 kB / 0.6675 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.1694, allocations: 496.2 kB / 0.668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.1697, allocations: 138.5 kB / 0.6681 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1699, allocations: 64.81 kB / 0.6681 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.17, allocations: 8.172 kB / 0.6682 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.17, allocations: 34.5 kB / 0.6682 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.17, allocations: 4 kB / 0.6682 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006704/0.1707, allocations: 237.2 kB / 0.6684 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1707, allocations: 55.41 kB / 0.6685 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.171, allocations: 328.5 kB / 0.6688 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1711, allocations: 33.7 kB / 0.6688 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1712, allocations: 152.1 kB / 0.669 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1712, allocations: 31.73 kB / 0.669 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.1713, allocations: 49.69 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1714, allocations: 338.8 kB / 0.6694 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.1717, allocations: 112.8 kB / 0.6695 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.172, allocations: 173.4 kB / 0.6696 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.1725, allocations: 276.9 kB / 0.6699 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1725, allocations: 4 kB / 0.6699 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006199/0.1731, allocations: 329.6 kB / 0.6702 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1731, allocations: 8 kB / 0.6702 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1731, allocations: 4.156 kB / 0.6702 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1732, allocations: 8 kB / 0.6702 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.1734, allocations: 51.83 kB / 0.6703 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1734, allocations: 4 kB / 0.6703 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.1736, allocations: 31.77 kB / 0.6703 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1736, allocations: 12 kB / 0.6703 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002947/0.1739, allocations: 212 kB / 0.6705 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002391/0.1742, allocations: 146.8 kB / 0.6707 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004301/0.1746, allocations: 240.4 kB / 0.6709 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.1746, allocations: 0 / 0.6709 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005518/0.1752, allocations: 297.1 kB / 0.6712 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.1752, allocations: 4 kB / 0.6712 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1752, allocations: 4 kB / 0.6712 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.1752, allocations: 4.156 kB / 0.6712 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.1754, allocations: 43.97 kB / 0.6712 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1754, allocations: 7.938 kB / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1756, allocations: 19.94 kB / 0.6713 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.1756, allocations: 12 kB / 0.6713 GB, free: 1.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001086/0.1757, allocations: 184.2 kB / 0.6715 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1758, allocations: 27.81 kB / 0.6715 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.1763, allocations: 208.2 kB / 0.6717 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1763, allocations: 4 kB / 0.6717 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1764, allocations: 0 / 0.6717 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1764, allocations: 0 / 0.6717 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1766, allocations: 269.5 kB / 0.6719 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1767, allocations: 4 kB / 0.6719 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1768, allocations: 27.91 kB / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1768, allocations: 4 kB / 0.672 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1768, allocations: 7.922 kB / 0.672 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1768, allocations: 4 kB / 0.672 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1768, allocations: 0 / 0.672 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.1773, allocations: 283.2 kB / 0.6723 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1774, allocations: 116.9 kB / 0.6724 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.1775, allocations: 7.938 kB / 0.6724 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1776, allocations: 8 kB / 0.6724 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.1777, allocations: 7.984 kB / 0.6724 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1777, allocations: 4 kB / 0.6724 GB, free: 28 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002295/0.1779, allocations: 247 kB / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1779, allocations: 0 / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005669/0.1785, allocations: 143.7 kB / 0.6728 GB, free: 15.65 MB / 0.5137 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 (10): * Single equations (assignments): 10 * 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.001062/0.1796, allocations: 0.9188 MB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007868/0.1804, allocations: 319.6 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1804, allocations: 0 / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.1806, allocations: 68.77 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1811, allocations: 108 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.1848, allocations: 3.02 MB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1851, allocations: 0.7717 MB / 0.6778 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.1854, allocations: 82.86 kB / 0.6779 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.1855, allocations: 87.39 kB / 0.678 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.1855, allocations: 0 / 0.678 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.2127, allocations: 9.308 MB / 0.6871 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.159, allocations: 7.406 kB / 0.6871 GB, free: 1.027 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_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_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)