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.8256/0.8256, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 184.8 kB / 182.2 MB, free: 9.438 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.482/1.482, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008899/0.0008899, allocations: 89.53 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 282.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.051e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.403, allocations: 82.78 MB / 0.7575 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.563, allocations: 119.9 MB / 0.8746 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.5633, allocations: 84.83 kB / 0.8747 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03453/0.5978, allocations: 11.07 MB / 0.8855 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5979, allocations: 0 / 0.8855 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.5979, allocations: 8 kB / 0.8855 GB, free: 12.71 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.0008222/0.5987, allocations: 0.5367 MB / 0.886 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5988, allocations: 8.031 kB / 0.886 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.5991, allocations: 43.69 kB / 0.8861 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.6004, allocations: 0.6244 MB / 0.8867 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6004, allocations: 0 / 0.8867 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.6004, allocations: 8 kB / 0.8867 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002108/0.6007, allocations: 111.9 kB / 0.8868 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.6009, allocations: 129.5 kB / 0.8869 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.6009, allocations: 3.938 kB / 0.8869 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.6009, allocations: 0 / 0.8869 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6009, allocations: 4 kB / 0.8869 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.6017, allocations: 460.9 kB / 0.8873 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.602, allocations: 146.5 kB / 0.8875 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.6021, allocations: 64.78 kB / 0.8875 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.6021, allocations: 0 / 0.8875 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.6022, allocations: 38.55 kB / 0.8876 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6022, allocations: 0 / 0.8876 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0004746/0.6026, allocations: 177.5 kB / 0.8878 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.6027, allocations: 51.41 kB / 0.8878 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.603, allocations: 265.1 kB / 0.8881 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.603, allocations: 25.7 kB / 0.8881 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.6031, allocations: 160.4 kB / 0.8882 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.6032, allocations: 27.56 kB / 0.8883 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.6032, allocations: 0 / 0.8883 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6034, allocations: 334.8 kB / 0.8886 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6035, allocations: 71.91 kB / 0.8886 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.6036, allocations: 138.7 kB / 0.8888 GB, free: 9.102 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.6039, allocations: 79.94 kB / 0.8889 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6039, allocations: 8.031 kB / 0.8889 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004876/0.6044, allocations: 257 kB / 0.8891 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/0.6047, allocations: 0.6994 MB / 0.8898 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6047, allocations: 0 / 0.8898 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6047, allocations: 4 kB / 0.8898 GB, free: 8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.605, allocations: 51.95 kB / 0.8898 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.605, allocations: 7.938 kB / 0.8899 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.6052, allocations: 19.83 kB / 0.8899 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6053, allocations: 22.17 kB / 0.8899 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6053, allocations: 7.953 kB / 0.8899 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003537/0.6056, allocations: 159.7 kB / 0.8901 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.6057, allocations: 0 / 0.8901 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.6057, allocations: 4 kB / 0.8901 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.6059, allocations: 44.12 kB / 0.8901 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.6059, allocations: 8 kB / 0.8901 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.6061, allocations: 23.83 kB / 0.8901 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.6061, allocations: 15.98 kB / 0.8901 GB, free: 7.645 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 9.904e-05/0.6062, allocations: 108.9 kB / 0.8902 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002526/0.6065, allocations: 137.5 kB / 0.8904 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.6065, allocations: 23.62 kB / 0.8904 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.6069, allocations: 164.2 kB / 0.8906 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6069, allocations: 4 kB / 0.8906 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6069, allocations: 0 / 0.8906 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6069, allocations: 0 / 0.8906 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.6072, allocations: 234.1 kB / 0.8908 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6072, allocations: 0 / 0.8908 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.6074, allocations: 35.92 kB / 0.8908 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.6074, allocations: 4 kB / 0.8908 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.6074, allocations: 0 / 0.8908 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6074, allocations: 0 / 0.8908 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6074, allocations: 0 / 0.8908 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.6077, allocations: 231.1 kB / 0.891 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.6078, allocations: 112.7 kB / 0.8912 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.6078, allocations: 11.95 kB / 0.8912 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.608, allocations: 7.984 kB / 0.8912 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.608, allocations: 8 kB / 0.8912 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.6081, allocations: 7.984 kB / 0.8912 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001983/0.6083, allocations: 212.5 kB / 0.8914 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6083, allocations: 0 / 0.8914 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007092/0.609, allocations: 171.7 kB / 0.8916 GB, free: 6.109 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.00116/0.6102, allocations: 1.053 MB / 0.8926 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.6106, allocations: 245.7 kB / 0.8928 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6106, allocations: 0 / 0.8928 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.6107, allocations: 43.98 kB / 0.8929 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.6111, allocations: 90.64 kB / 0.8929 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.612, allocations: 426.4 kB / 0.8934 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.6124, allocations: 0.7723 MB / 0.8941 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000448/0.6128, allocations: 123.3 kB / 0.8942 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.613, allocations: 79.41 kB / 0.8943 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.613, allocations: 0 / 0.8943 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3639/0.9769, allocations: 9.317 MB / 0.9034 GB, free: 127 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.9772, allocations: 168.7 kB / 0.9036 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.11, allocations: 3.312 kB / 0.9036 GB, free: 126.8 MB / 0.5573 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)