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.007075/0.007075, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001216/0.001216, allocations: 195.2 kB / 16.68 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7413/0.7413, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.05 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 80.19 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003273/0.1553, allocations: 2.03 MB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.1585, allocations: 2.029 MB / 0.6631 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1588, allocations: 4 kB / 0.6631 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.1596, allocations: 258.9 kB / 0.6634 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.1604, allocations: 293.2 kB / 0.6637 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1614, allocations: 491.2 kB / 0.6641 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.1621, allocations: 462.7 kB / 0.6646 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1622, allocations: 40.34 kB / 0.6646 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1625, allocations: 171.5 kB / 0.6648 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1628, allocations: 159.4 kB / 0.6649 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1629, allocations: 16 kB / 0.665 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.1636, allocations: 455.2 kB / 0.6654 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1637, allocations: 95.75 kB / 0.6655 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1638, allocations: 115.3 kB / 0.6656 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.1647, allocations: 0.5918 MB / 0.6662 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1647, allocations: 4 kB / 0.6662 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1647, allocations: 0 / 0.6662 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1647, allocations: 0 / 0.6662 GB, free: 6.82 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.0009263/0.1656, allocations: 0.5989 MB / 0.6668 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1657, allocations: 12.03 kB / 0.6668 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.1657, allocations: 50.66 kB / 0.6668 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.166, allocations: 52.72 kB / 0.6669 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.1665, allocations: 336.5 kB / 0.6672 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1666, allocations: 11.94 kB / 0.6672 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.1666, allocations: 12 kB / 0.6672 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.167, allocations: 153.6 kB / 0.6674 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.167, allocations: 0 / 0.6674 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.167, allocations: 4 kB / 0.6674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.167, allocations: 4 kB / 0.6674 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.1674, allocations: 129.6 kB / 0.6675 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.1681, allocations: 0.4925 MB / 0.668 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1685, allocations: 134.4 kB / 0.6681 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.1687, allocations: 60.83 kB / 0.6682 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1687, allocations: 7.984 kB / 0.6682 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1687, allocations: 30.56 kB / 0.6682 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1687, allocations: 0 / 0.6682 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006976/0.1694, allocations: 237.5 kB / 0.6684 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1695, allocations: 55.41 kB / 0.6685 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1698, allocations: 336.5 kB / 0.6688 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1699, allocations: 25.7 kB / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.17, allocations: 152.1 kB / 0.669 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.17, allocations: 31.73 kB / 0.669 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.1701, allocations: 49.69 kB / 0.669 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1702, allocations: 342.8 kB / 0.6694 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1705, allocations: 116.8 kB / 0.6695 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.1708, allocations: 169 kB / 0.6696 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.1713, allocations: 280.7 kB / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1713, allocations: 0 / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006552/0.172, allocations: 333.4 kB / 0.6702 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.172, allocations: 8 kB / 0.6702 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.172, allocations: 3.938 kB / 0.6702 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1721, allocations: 4 kB / 0.6702 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1723, allocations: 47.91 kB / 0.6703 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1723, allocations: 7.984 kB / 0.6703 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1725, allocations: 23.78 kB / 0.6703 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1725, allocations: 19.98 kB / 0.6703 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002985/0.1728, allocations: 212 kB / 0.6705 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002419/0.1731, allocations: 138.8 kB / 0.6707 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004529/0.1735, allocations: 245.8 kB / 0.6709 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1736, allocations: 0 / 0.6709 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005715/0.1741, allocations: 289.7 kB / 0.6712 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.1742, allocations: 8 kB / 0.6712 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.1742, allocations: 4 kB / 0.6712 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.1742, allocations: 7.938 kB / 0.6712 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1744, allocations: 47.84 kB / 0.6712 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1744, allocations: 3.984 kB / 0.6712 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1745, allocations: 15.95 kB / 0.6713 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1746, allocations: 15.98 kB / 0.6713 GB, free: 1.254 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.0001262/0.1747, allocations: 192.2 kB / 0.6715 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.1748, allocations: 35.75 kB / 0.6715 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.1753, allocations: 196.2 kB / 0.6717 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1753, allocations: 3.984 kB / 0.6717 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1753, allocations: 4 kB / 0.6717 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1753, allocations: 0 / 0.6717 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.1756, allocations: 277.5 kB / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1756, allocations: 0 / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1758, allocations: 23.98 kB / 0.672 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1758, allocations: 3.984 kB / 0.672 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1758, allocations: 3.938 kB / 0.672 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1758, allocations: 0 / 0.672 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1758, allocations: 4 kB / 0.672 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.1763, allocations: 279.2 kB / 0.6723 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.1764, allocations: 112.9 kB / 0.6724 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1764, allocations: 7.922 kB / 0.6724 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1766, allocations: 11.98 kB / 0.6724 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1766, allocations: 11.98 kB / 0.6724 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1766, allocations: 4 kB / 0.6724 GB, free: 8 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002308/0.1769, allocations: 239 kB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.1769, allocations: 192 / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005535/0.1774, allocations: 147.7 kB / 0.6728 GB, free: 15.63 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.001051/0.1785, allocations: 0.9226 MB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008094/0.1793, allocations: 328.4 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1793, allocations: 0 / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.1795, allocations: 72.02 kB / 0.674 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.1801, allocations: 97.52 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.184, allocations: 3.017 MB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1844, allocations: 0.7716 MB / 0.6778 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.1846, allocations: 78.86 kB / 0.6779 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1848, allocations: 91.41 kB / 0.678 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1848, allocations: 0 / 0.678 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2146, allocations: 9.312 MB / 0.6871 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.201, allocations: 3.234 kB / 0.6871 GB, free: 1.008 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)