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.00838/0.00838, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001797/0.001797, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7392/0.7392, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.25 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 80.2 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00487/0.1712, allocations: 2.027 MB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.1758, allocations: 2.026 MB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.1763, allocations: 4 kB / 0.6631 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009606/0.1773, allocations: 262.9 kB / 0.6634 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1784, allocations: 291 kB / 0.6637 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.1799, allocations: 495.8 kB / 0.6641 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009259/0.1809, allocations: 458.8 kB / 0.6646 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1811, allocations: 36.39 kB / 0.6646 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.1815, allocations: 167.5 kB / 0.6648 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.1818, allocations: 163.4 kB / 0.6649 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.1819, allocations: 16 kB / 0.6649 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009681/0.1829, allocations: 455.2 kB / 0.6654 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1831, allocations: 95.77 kB / 0.6655 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1833, allocations: 119.3 kB / 0.6656 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1843, allocations: 0.5929 MB / 0.6662 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1843, allocations: 0 / 0.6662 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1844, allocations: 0 / 0.6662 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.1844, allocations: 0 / 0.6662 GB, free: 6.789 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.00108/0.1855, allocations: 0.584 MB / 0.6667 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1855, allocations: 19.97 kB / 0.6668 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.1856, allocations: 34.75 kB / 0.6668 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.1859, allocations: 52.52 kB / 0.6668 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.1865, allocations: 340.2 kB / 0.6672 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1866, allocations: 11.94 kB / 0.6672 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1866, allocations: 12 kB / 0.6672 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.187, allocations: 156.1 kB / 0.6673 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.187, allocations: 0 / 0.6673 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.187, allocations: 4 kB / 0.6673 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.187, allocations: 3.984 kB / 0.6673 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.1874, allocations: 131.8 kB / 0.6675 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.1882, allocations: 496.3 kB / 0.6679 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1885, allocations: 134.4 kB / 0.6681 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1887, allocations: 64.83 kB / 0.6681 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1887, allocations: 0 / 0.6681 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1888, allocations: 38.55 kB / 0.6682 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1888, allocations: 0 / 0.6682 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007026/0.1895, allocations: 241.4 kB / 0.6684 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1896, allocations: 51.41 kB / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1899, allocations: 340.5 kB / 0.6688 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.19, allocations: 29.7 kB / 0.6688 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1901, allocations: 148 kB / 0.6689 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.1901, allocations: 31.55 kB / 0.669 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.1902, allocations: 45.7 kB / 0.669 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1904, allocations: 342.8 kB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.1906, allocations: 120.7 kB / 0.6695 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1909, allocations: 168.8 kB / 0.6696 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1914, allocations: 278.6 kB / 0.6699 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1914, allocations: 0 / 0.6699 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006592/0.1921, allocations: 332.5 kB / 0.6702 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1921, allocations: 8 kB / 0.6702 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1921, allocations: 3.938 kB / 0.6702 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1921, allocations: 4 kB / 0.6702 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1924, allocations: 47.91 kB / 0.6703 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1924, allocations: 4.375 kB / 0.6703 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1926, allocations: 19.92 kB / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.1926, allocations: 23.98 kB / 0.6703 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003029/0.1929, allocations: 212 kB / 0.6705 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002331/0.1932, allocations: 142.7 kB / 0.6706 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004208/0.1936, allocations: 238.7 kB / 0.6709 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.1936, allocations: 0 / 0.6709 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005807/0.1942, allocations: 301.1 kB / 0.6712 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1942, allocations: 4 kB / 0.6712 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1942, allocations: 4 kB / 0.6712 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.1943, allocations: 7.938 kB / 0.6712 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.1945, allocations: 47.91 kB / 0.6712 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1945, allocations: 0 / 0.6712 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.1946, allocations: 15.92 kB / 0.6712 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.1947, allocations: 23.98 kB / 0.6713 GB, free: 1.234 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.0001237/0.1948, allocations: 188.2 kB / 0.6714 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.1949, allocations: 23.62 kB / 0.6715 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.1954, allocations: 204.2 kB / 0.6717 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1954, allocations: 0 / 0.6717 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1954, allocations: 0 / 0.6717 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.1954, allocations: 3.984 kB / 0.6717 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1958, allocations: 277.5 kB / 0.6719 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1958, allocations: 0 / 0.6719 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1959, allocations: 23.98 kB / 0.6719 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.196, allocations: 0 / 0.6719 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.196, allocations: 7.922 kB / 0.672 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.196, allocations: 0 / 0.672 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.196, allocations: 11.98 kB / 0.672 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.1965, allocations: 275.1 kB / 0.6722 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1966, allocations: 116.8 kB / 0.6723 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1966, allocations: 7.875 kB / 0.6723 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1968, allocations: 15.98 kB / 0.6724 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1968, allocations: 8.047 kB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1969, allocations: 4 kB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002473/0.1971, allocations: 239 kB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1971, allocations: 0 / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006139/0.1977, allocations: 144 kB / 0.6727 GB, free: 15.62 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.001148/0.1989, allocations: 0.9149 MB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.1998, allocations: 324.4 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1998, allocations: 4.062 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.2, allocations: 71.89 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.0005709/0.2006, allocations: 96 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.004347/0.2049, allocations: 3.015 MB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.2053, allocations: 0.7678 MB / 0.6778 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.2056, allocations: 82.84 kB / 0.6779 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.2058, allocations: 87.41 kB / 0.678 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.2058, allocations: 0 / 0.678 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.2368, allocations: 9.304 MB / 0.687 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.051, allocations: 4.719 kB / 0.6871 GB, free: 1.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)