Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_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.005119/0.005118, allocations: 102 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.001136/0.001136, allocations: 194 kB / 16.67 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8389/0.8389, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.5 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.15, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003511/0.1536, allocations: 2.036 MB / 0.6661 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.1571, allocations: 2.011 MB / 0.6681 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.1573, allocations: 7.938 kB / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007995/0.1582, allocations: 258.9 kB / 0.6684 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008284/0.159, allocations: 295 kB / 0.6686 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1601, allocations: 489.7 kB / 0.6691 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.1608, allocations: 462.8 kB / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.161, allocations: 36.41 kB / 0.6696 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1613, allocations: 171.5 kB / 0.6697 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.1616, allocations: 163.3 kB / 0.6699 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.1616, allocations: 16 kB / 0.6699 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.1623, allocations: 455.3 kB / 0.6703 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1625, allocations: 95.64 kB / 0.6704 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1626, allocations: 119.3 kB / 0.6705 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008419/0.1634, allocations: 0.5929 MB / 0.6711 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1634, allocations: 0 / 0.6711 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1635, allocations: 0 / 0.6711 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1635, allocations: 0 / 0.6711 GB, free: 15.13 MB / 0.5137 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.000891/0.1644, allocations: 0.5878 MB / 0.6717 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1644, allocations: 13.11 kB / 0.6717 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.1645, allocations: 46.73 kB / 0.6718 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.1648, allocations: 48.53 kB / 0.6718 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.1653, allocations: 332.3 kB / 0.6721 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1653, allocations: 11.94 kB / 0.6721 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1653, allocations: 12 kB / 0.6721 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1657, allocations: 165.4 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1657, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1657, allocations: 4 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1657, allocations: 4 kB / 0.6723 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.1661, allocations: 119.9 kB / 0.6724 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.1668, allocations: 496.3 kB / 0.6729 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.1672, allocations: 130.5 kB / 0.673 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.1674, allocations: 64.81 kB / 0.6731 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1674, allocations: 7.984 kB / 0.6731 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1674, allocations: 30.56 kB / 0.6731 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1674, allocations: 0 / 0.6731 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006896/0.1681, allocations: 241.4 kB / 0.6734 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1682, allocations: 55.39 kB / 0.6734 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1685, allocations: 340.4 kB / 0.6737 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1685, allocations: 25.7 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.1686, allocations: 152 kB / 0.6739 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1686, allocations: 31.55 kB / 0.6739 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.1687, allocations: 49.69 kB / 0.674 GB, free: 12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1689, allocations: 342.8 kB / 0.6743 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.1691, allocations: 113.2 kB / 0.6744 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.1694, allocations: 164.9 kB / 0.6746 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.1699, allocations: 282.2 kB / 0.6748 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1699, allocations: 0 / 0.6748 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006505/0.1706, allocations: 333.2 kB / 0.6752 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1706, allocations: 9.875 kB / 0.6752 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1706, allocations: 3.938 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1707, allocations: 4 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.1709, allocations: 39.97 kB / 0.6752 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1709, allocations: 7.984 kB / 0.6752 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1711, allocations: 23.75 kB / 0.6752 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.1711, allocations: 23.95 kB / 0.6753 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003131/0.1715, allocations: 216 kB / 0.6755 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.1717, allocations: 142.8 kB / 0.6756 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004526/0.1722, allocations: 246.6 kB / 0.6758 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.1722, allocations: 0 / 0.6758 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005709/0.1728, allocations: 289.3 kB / 0.6761 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.1728, allocations: 4 kB / 0.6761 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.1728, allocations: 4 kB / 0.6761 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1728, allocations: 7.938 kB / 0.6761 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.173, allocations: 47.89 kB / 0.6762 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.173, allocations: 0 / 0.6762 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.1732, allocations: 19.84 kB / 0.6762 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1732, allocations: 15.98 kB / 0.6762 GB, free: 9.586 MB / 0.5137 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.0001026/0.1733, allocations: 192.2 kB / 0.6764 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.1734, allocations: 23.62 kB / 0.6764 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.1739, allocations: 216.1 kB / 0.6766 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1739, allocations: 0 / 0.6766 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1739, allocations: 0 / 0.6766 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1739, allocations: 0 / 0.6766 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1742, allocations: 269.5 kB / 0.6769 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1742, allocations: 0 / 0.6769 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.1744, allocations: 31.97 kB / 0.6769 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1744, allocations: 0 / 0.6769 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1744, allocations: 3.938 kB / 0.6769 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1744, allocations: 0 / 0.6769 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1744, allocations: 4.094 kB / 0.6769 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.1749, allocations: 279 kB / 0.6772 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.175, allocations: 116.7 kB / 0.6773 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.175, allocations: 3.938 kB / 0.6773 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1752, allocations: 15.98 kB / 0.6773 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1752, allocations: 11.92 kB / 0.6773 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1753, allocations: 4 kB / 0.6773 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002198/0.1755, allocations: 239 kB / 0.6776 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.684e-06/0.1755, allocations: 0 / 0.6776 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005513/0.176, allocations: 147.9 kB / 0.6777 GB, free: 7.961 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.001028/0.1771, allocations: 0.9124 MB / 0.6786 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007782/0.1779, allocations: 324.2 kB / 0.6789 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1779, allocations: 4.25 kB / 0.6789 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.1781, allocations: 67.89 kB / 0.679 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.1786, allocations: 100.3 kB / 0.6791 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.1823, allocations: 3.019 MB / 0.682 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1827, allocations: 0.7678 MB / 0.6828 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002595/0.1829, allocations: 86.86 kB / 0.6828 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.1831, allocations: 83.41 kB / 0.6829 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1831, allocations: 0 / 0.6829 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2115, allocations: 9.451 MB / 0.6922 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.204, allocations: 14.94 kB / 0.6922 GB, free: 9.145 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)