Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6951/0.6951, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 185.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008778, allocations: 97.5 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001826, allocations: 272.3 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.202e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3429, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4548, allocations: 120.6 MB / 0.8821 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.455, allocations: 83.95 kB / 0.8822 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03033/0.4854, allocations: 11.26 MB / 0.8932 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4854, allocations: 4 kB / 0.8932 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.4854, allocations: 11.98 kB / 0.8932 GB, free: 8.531 MB / 0.5573 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.000679/0.4861, allocations: 0.529 MB / 0.8937 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4862, allocations: 8.031 kB / 0.8938 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.4862, allocations: 38.5 kB / 0.8938 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.4865, allocations: 55.55 kB / 0.8938 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.4876, allocations: 0.6126 MB / 0.8944 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4876, allocations: 8 kB / 0.8945 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.4877, allocations: 12 kB / 0.8945 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4879, allocations: 142.9 kB / 0.8946 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4879, allocations: 7.984 kB / 0.8946 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4879, allocations: 0 / 0.8946 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.488, allocations: 0 / 0.8946 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4881, allocations: 87.95 kB / 0.8947 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.4889, allocations: 0.5042 MB / 0.8952 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.4891, allocations: 98.55 kB / 0.8953 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.4891, allocations: 40.84 kB / 0.8953 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4892, allocations: 4 kB / 0.8953 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.4892, allocations: 30.56 kB / 0.8954 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.4892, allocations: 7.938 kB / 0.8954 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0002919/0.4895, allocations: 143.9 kB / 0.8955 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.4895, allocations: 51.41 kB / 0.8955 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.4898, allocations: 298.6 kB / 0.8958 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4898, allocations: 25.7 kB / 0.8959 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.4899, allocations: 152.2 kB / 0.896 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.49, allocations: 27.56 kB / 0.896 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.49, allocations: 4 kB / 0.896 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4901, allocations: 343.1 kB / 0.8964 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.4902, allocations: 47.98 kB / 0.8964 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4903, allocations: 116.5 kB / 0.8965 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.4904, allocations: 67.95 kB / 0.8966 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4905, allocations: 0 / 0.8966 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003103/0.4908, allocations: 225.1 kB / 0.8968 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.491, allocations: 0.6953 MB / 0.8975 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.491, allocations: 4 kB / 0.8975 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.491, allocations: 8 kB / 0.8975 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4913, allocations: 55.89 kB / 0.8975 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4913, allocations: 7.953 kB / 0.8975 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.4915, allocations: 23.83 kB / 0.8976 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.4915, allocations: 19.98 kB / 0.8976 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.4915, allocations: 5.25 kB / 0.8976 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002667/0.4918, allocations: 175.8 kB / 0.8978 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.4918, allocations: 0 / 0.8978 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.4918, allocations: 4 kB / 0.8978 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.492, allocations: 43.97 kB / 0.8978 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.492, allocations: 7.938 kB / 0.8978 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.4922, allocations: 23.83 kB / 0.8978 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.4922, allocations: 19.98 kB / 0.8979 GB, free: 3.492 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.4923, allocations: 109.1 kB / 0.898 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.4923, allocations: 27.67 kB / 0.898 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.4926, allocations: 164.2 kB / 0.8981 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4926, allocations: 4 kB / 0.8981 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4927, allocations: 4 kB / 0.8981 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4927, allocations: 0 / 0.8981 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.4929, allocations: 269.5 kB / 0.8984 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4929, allocations: 3.953 kB / 0.8984 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.4931, allocations: 31.91 kB / 0.8984 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4931, allocations: 0 / 0.8984 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4931, allocations: 4 kB / 0.8984 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4931, allocations: 0 / 0.8984 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4931, allocations: 0 / 0.8984 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.4933, allocations: 243.1 kB / 0.8987 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.4934, allocations: 108.8 kB / 0.8988 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.4935, allocations: 8 kB / 0.8988 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4936, allocations: 11.98 kB / 0.8988 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.4937, allocations: 7.984 kB / 0.8988 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4937, allocations: 4 kB / 0.8988 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001973/0.4939, allocations: 242.1 kB / 0.899 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4939, allocations: 0 / 0.899 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006127/0.4945, allocations: 175.8 kB / 0.8992 GB, free: 2.008 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009416/0.4955, allocations: 1.07 MB / 0.9003 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.4958, allocations: 226.4 kB / 0.9005 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4959, allocations: 4.188 kB / 0.9005 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.4959, allocations: 47.98 kB / 0.9005 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4963, allocations: 88 kB / 0.9006 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.4971, allocations: 447.4 kB / 0.901 GB, free: 88 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4974, allocations: 0.7726 MB / 0.9018 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003889/0.4978, allocations: 124.4 kB / 0.9019 GB, free: 15.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4979, allocations: 91.38 kB / 0.902 GB, free: 15.07 MB / 0.573 GB Notification: Performance of SimCode: time 2.7e-07/0.4979, allocations: 0 / 0.902 GB, free: 15.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.5203, allocations: 11.81 MB / 0.9135 GB, free: 3.535 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.5205, allocations: 182.1 kB / 0.9137 GB, free: 3.309 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.518, allocations: 3.938 kB / 0.9137 GB, free: 3.305 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)