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.001546/0.001546, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9737/0.9737, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 63.75 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1999, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003363/0.2033, allocations: 2.029 MB / 0.5865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.2065, allocations: 2.007 MB / 0.5884 GB, free: 412 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.2068, allocations: 7.938 kB / 0.5884 GB, free: 404 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.2076, allocations: 258.9 kB / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008312/0.2085, allocations: 294.4 kB / 0.5889 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2095, allocations: 483.2 kB / 0.5894 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.2102, allocations: 458.8 kB / 0.5898 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2103, allocations: 44.3 kB / 0.5899 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.2106, allocations: 163.5 kB / 0.59 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.2108, allocations: 171.4 kB / 0.5902 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.2109, allocations: 12 kB / 0.5902 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.2116, allocations: 447.2 kB / 0.5906 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2117, allocations: 95.7 kB / 0.5907 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2118, allocations: 115.3 kB / 0.5908 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.2126, allocations: 0.5766 MB / 0.5914 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2126, allocations: 0 / 0.5914 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2126, allocations: 0 / 0.5914 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.2126, allocations: 0 / 0.5914 GB, free: 13.32 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.0009063/0.2135, allocations: 0.6032 MB / 0.592 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2136, allocations: 12.03 kB / 0.592 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.2136, allocations: 38.73 kB / 0.592 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.2139, allocations: 48.53 kB / 0.5921 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.2144, allocations: 324.4 kB / 0.5924 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2144, allocations: 20.11 kB / 0.5924 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.2145, allocations: 12 kB / 0.5924 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.2148, allocations: 153.5 kB / 0.5926 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2148, allocations: 0 / 0.5926 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2149, allocations: 7.938 kB / 0.5926 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2149, allocations: 0 / 0.5926 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.2153, allocations: 131.9 kB / 0.5927 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.2161, allocations: 492.3 kB / 0.5932 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.2164, allocations: 130.5 kB / 0.5933 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.2166, allocations: 68.75 kB / 0.5934 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.2167, allocations: 4 kB / 0.5934 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2167, allocations: 30.56 kB / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2167, allocations: 0 / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007328/0.2175, allocations: 241.3 kB / 0.5936 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2175, allocations: 55.41 kB / 0.5937 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.2179, allocations: 332.4 kB / 0.594 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.2179, allocations: 33.7 kB / 0.594 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.218, allocations: 152 kB / 0.5942 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.2181, allocations: 35.5 kB / 0.5942 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.2182, allocations: 49.69 kB / 0.5943 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2183, allocations: 338.8 kB / 0.5946 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2186, allocations: 112.8 kB / 0.5947 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2189, allocations: 174.7 kB / 0.5949 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.2194, allocations: 270.6 kB / 0.5951 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2194, allocations: 0 / 0.5951 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007014/0.2201, allocations: 340.3 kB / 0.5954 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2202, allocations: 4 kB / 0.5954 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2202, allocations: 4 kB / 0.5955 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2202, allocations: 11.88 kB / 0.5955 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.2205, allocations: 44.19 kB / 0.5955 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2206, allocations: 8 kB / 0.5955 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.2209, allocations: 19.83 kB / 0.5955 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2209, allocations: 19.98 kB / 0.5956 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003524/0.2213, allocations: 204.1 kB / 0.5957 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002649/0.2216, allocations: 156.9 kB / 0.5959 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004567/0.222, allocations: 235 kB / 0.5961 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.222, allocations: 0 / 0.5961 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005923/0.2226, allocations: 289 kB / 0.5964 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2227, allocations: 4 kB / 0.5964 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2227, allocations: 7.938 kB / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.2227, allocations: 0 / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2229, allocations: 51.84 kB / 0.5965 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2229, allocations: 8.219 kB / 0.5965 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.2231, allocations: 23.81 kB / 0.5965 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2231, allocations: 15.98 kB / 0.5965 GB, free: 7.777 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.0001105/0.2232, allocations: 188.2 kB / 0.5967 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.2233, allocations: 23.72 kB / 0.5967 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.2238, allocations: 204.2 kB / 0.5969 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2238, allocations: 4 kB / 0.5969 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2238, allocations: 0 / 0.5969 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2238, allocations: 0 / 0.5969 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.2241, allocations: 277.4 kB / 0.5972 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2241, allocations: 0 / 0.5972 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2243, allocations: 23.98 kB / 0.5972 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2243, allocations: 3.984 kB / 0.5972 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2243, allocations: 7.938 kB / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2243, allocations: 0 / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2243, allocations: 3.938 kB / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.2248, allocations: 283 kB / 0.5975 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.2249, allocations: 112.7 kB / 0.5976 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.225, allocations: 15.94 kB / 0.5976 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2251, allocations: 7.984 kB / 0.5976 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2252, allocations: 7.984 kB / 0.5976 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2252, allocations: 4.188 kB / 0.5976 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002192/0.2254, allocations: 243 kB / 0.5978 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2254, allocations: 3.938 kB / 0.5979 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005858/0.226, allocations: 140 kB / 0.598 GB, free: 6.148 MB / 0.4981 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.001075/0.2271, allocations: 0.915 MB / 0.5989 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.2279, allocations: 331.8 kB / 0.5992 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.228, allocations: 0 / 0.5992 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2282, allocations: 71.89 kB / 0.5993 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.2287, allocations: 90.22 kB / 0.5993 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.2326, allocations: 3.026 MB / 0.6023 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2329, allocations: 0.7678 MB / 0.6031 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.2332, allocations: 86.86 kB / 0.6031 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.2334, allocations: 87.39 kB / 0.6032 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.2334, allocations: 0 / 0.6032 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/0.522, allocations: 9.227 MB / 0.6122 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/8.087, allocations: 17.95 kB / 0.6122 GB, free: 51.84 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)