Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001944/0.001944, allocations: 183.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 91.94 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003938, allocations: 10.06 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.466, allocations: 143.7 MB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/0.4664, allocations: 91.95 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03695/0.5034, allocations: 11.19 MB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5035, allocations: 0 / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.634e-05/0.5035, allocations: 7.984 kB / 1.052 GB, free: 4.562 MB / 0.698 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.002033/0.5056, allocations: 0.6734 MB / 1.052 GB, free: 3.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.5057, allocations: 12.03 kB / 1.052 GB, free: 3.828 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.262e-05/0.5058, allocations: 42.55 kB / 1.052 GB, free: 3.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.5062, allocations: 55.58 kB / 1.052 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.5081, allocations: 0.6195 MB / 1.053 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.5081, allocations: 8 kB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5082, allocations: 16 kB / 1.053 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.5086, allocations: 149.6 kB / 1.053 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5086, allocations: 0 / 1.053 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.5086, allocations: 4 kB / 1.053 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.5086, allocations: 3.953 kB / 1.053 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.509, allocations: 131.9 kB / 1.053 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.5102, allocations: 0.5042 MB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.5106, allocations: 126.5 kB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.5106, allocations: 4 kB / 1.054 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5106, allocations: 34.5 kB / 1.054 GB, free: 2.016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.5107, allocations: 0 / 1.054 GB, free: 2.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007915/0.5115, allocations: 237.7 kB / 1.054 GB, free: 1.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.5115, allocations: 51.41 kB / 1.054 GB, free: 1.715 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.5119, allocations: 299.5 kB / 1.054 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.5119, allocations: 29.7 kB / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5121, allocations: 156 kB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.5121, allocations: 23.64 kB / 1.055 GB, free: 1.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.5121, allocations: 4 kB / 1.055 GB, free: 1.199 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5123, allocations: 338.8 kB / 1.055 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.5125, allocations: 75.84 kB / 1.055 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.5128, allocations: 142.2 kB / 1.055 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.5131, allocations: 87.92 kB / 1.055 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5131, allocations: 0 / 1.055 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000612/0.5137, allocations: 261 kB / 1.056 GB, free: 276 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.5984/1.112, allocations: 0.6956 MB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.112, allocations: 4.031 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.112, allocations: 3.875 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/1.113, allocations: 52.67 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.113, allocations: 8.984 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/1.113, allocations: 24.81 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/1.113, allocations: 18 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.113, allocations: 3.719 kB / 1.056 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006435/1.114, allocations: 215.8 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.114, allocations: 4.016 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/1.114, allocations: 3.094 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/1.114, allocations: 48.22 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.114, allocations: 7.156 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/1.114, allocations: 26.25 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/1.114, allocations: 15.55 kB / 1.057 GB, free: 145.8 MB / 0.698 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.0002647/1.114, allocations: 234.7 kB / 1.057 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/1.115, allocations: 25.06 kB / 1.057 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/1.115, allocations: 215.9 kB / 1.057 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.115, allocations: 3.312 kB / 1.057 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.115, allocations: 4.25 kB / 1.057 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.115, allocations: 3.625 kB / 1.057 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/1.116, allocations: 262.9 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.116, allocations: 1.375 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/1.116, allocations: 30.8 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.116, allocations: 0.7969 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/1.116, allocations: 4.188 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.116, allocations: 0.8438 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.116, allocations: 0.6562 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/1.116, allocations: 283.3 kB / 1.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.117, allocations: 113.2 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/1.117, allocations: 8.656 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/1.117, allocations: 10.7 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/1.117, allocations: 13.97 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.117, allocations: 5.031 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000241/1.117, allocations: 238.4 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 3.625 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008463/1.118, allocations: 180.4 kB / 1.058 GB, free: 145 MB / 0.698 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.001406/1.119, allocations: 1.092 MB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007457/1.12, allocations: 296 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.12, allocations: 0 / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.12, allocations: 65.42 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/1.121, allocations: 89.08 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/1.122, allocations: 1.928 MB / 1.062 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.123, allocations: 0.7744 MB / 1.062 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003178/1.123, allocations: 85.17 kB / 1.062 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.123, allocations: 90.61 kB / 1.062 GB, free: 142.1 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1.123, allocations: 0 / 1.062 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/1.183, allocations: 10.96 MB / 1.073 GB, free: 141.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.183, allocations: 205 kB / 1.073 GB, free: 141 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.59, allocations: 1.062 kB / 1.073 GB, free: 141 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)