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.9162/0.9162, allocations: 143.3 MB / 158.3 MB, free: 5.652 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.001782/0.001782, allocations: 175.4 kB / 191.5 MB, free: 5.66 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.795/1.795, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.0009731/0.000973, allocations: 92.25 kB / 0.5187 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001864, allocations: 269.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004856, allocations: 13 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6717/0.8811, allocations: 120.7 MB / 0.8916 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.8814, allocations: 92.16 kB / 0.8917 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03519/0.9166, allocations: 11.3 MB / 0.9027 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9167, allocations: 0 / 0.9027 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.9167, allocations: 9.5 kB / 0.9027 GB, free: 21.04 MB / 0.5417 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.00155/0.9183, allocations: 0.677 MB / 0.9034 GB, free: 20.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.9183, allocations: 13.94 kB / 0.9034 GB, free: 20.54 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.9184, allocations: 36.44 kB / 0.9035 GB, free: 20.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.9187, allocations: 61.45 kB / 0.9035 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.9201, allocations: 0.6158 MB / 0.9041 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.9201, allocations: 8.219 kB / 0.9041 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.9202, allocations: 10.59 kB / 0.9041 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.9205, allocations: 160.7 kB / 0.9043 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9205, allocations: 0 / 0.9043 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.9206, allocations: 1.031 kB / 0.9043 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.9206, allocations: 2.219 kB / 0.9043 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.921, allocations: 142.6 kB / 0.9044 GB, free: 20.19 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.9219, allocations: 0.4923 MB / 0.9049 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.9222, allocations: 129 kB / 0.905 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.9223, allocations: 8.781 kB / 0.905 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.9223, allocations: 34.22 kB / 0.9051 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.9223, allocations: 0 / 0.9051 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.000785/0.9231, allocations: 238.1 kB / 0.9053 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.9231, allocations: 52.72 kB / 0.9053 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.9236, allocations: 297 kB / 0.9056 GB, free: 19.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.9236, allocations: 29.83 kB / 0.9057 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.9237, allocations: 160.3 kB / 0.9058 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.9238, allocations: 25.39 kB / 0.9058 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.9238, allocations: 4.094 kB / 0.9058 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.9239, allocations: 337.1 kB / 0.9062 GB, free: 19.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.9241, allocations: 71.03 kB / 0.9062 GB, free: 19.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.9244, allocations: 141 kB / 0.9064 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.9247, allocations: 88.3 kB / 0.9064 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9247, allocations: 4.953 kB / 0.9065 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005778/0.9253, allocations: 260.2 kB / 0.9067 GB, free: 19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.9255, allocations: 0.7052 MB / 0.9074 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9255, allocations: 5.531 kB / 0.9074 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.9255, allocations: 3.656 kB / 0.9074 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.9258, allocations: 44.94 kB / 0.9074 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9258, allocations: 6.688 kB / 0.9074 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.926, allocations: 30.5 kB / 0.9075 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.9261, allocations: 18.22 kB / 0.9075 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.9261, allocations: 6.375 kB / 0.9075 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005017/0.9266, allocations: 212.8 kB / 0.9077 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9266, allocations: 2.938 kB / 0.9077 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.9266, allocations: 2.875 kB / 0.9077 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.9268, allocations: 54.73 kB / 0.9078 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.9268, allocations: 3.281 kB / 0.9078 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.927, allocations: 26.78 kB / 0.9078 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.927, allocations: 12.95 kB / 0.9078 GB, free: 18.21 MB / 0.5417 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 (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 0.0001778/0.9272, allocations: 232.3 kB / 0.908 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.9273, allocations: 29.45 kB / 0.9081 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.9278, allocations: 215.9 kB / 0.9083 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.9279, allocations: 1.719 kB / 0.9083 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.9279, allocations: 0 / 0.9083 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9279, allocations: 0 / 0.9083 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.9282, allocations: 273.4 kB / 0.9085 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9282, allocations: 5.516 kB / 0.9085 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.9283, allocations: 26.61 kB / 0.9086 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9283, allocations: 1.5 kB / 0.9086 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.9284, allocations: 1.469 kB / 0.9086 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.9284, allocations: 4 kB / 0.9086 GB, free: 17.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9284, allocations: 1.5 kB / 0.9086 GB, free: 17.74 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.9288, allocations: 285.7 kB / 0.9088 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.9289, allocations: 114.1 kB / 0.9089 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.929, allocations: 1.688 kB / 0.9089 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.9291, allocations: 14.55 kB / 0.909 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.9292, allocations: 6.406 kB / 0.909 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.9292, allocations: 5.938 kB / 0.909 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002342/0.9294, allocations: 234.3 kB / 0.9092 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9295, allocations: 7.938 kB / 0.9092 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008984/0.9304, allocations: 176.1 kB / 0.9094 GB, free: 17.36 MB / 0.5417 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 (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.001338/0.9317, allocations: 1.11 MB / 0.9105 GB, free: 16.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007619/0.9325, allocations: 285.8 kB / 0.9107 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9325, allocations: 0 / 0.9107 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.9327, allocations: 71.2 kB / 0.9108 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.9332, allocations: 94.12 kB / 0.9109 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.9354, allocations: 1.913 MB / 0.9127 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.9358, allocations: 0.7781 MB / 0.9135 GB, free: 30.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.9362, allocations: 84.33 kB / 0.9136 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.9364, allocations: 85.83 kB / 0.9137 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.9364, allocations: 0 / 0.9137 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.963, allocations: 10.99 MB / 0.9244 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.9632, allocations: 203.2 kB / 0.9246 GB, free: 29.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.376, allocations: 0 / 0.9246 GB, free: 29.06 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)