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.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008252/0.0008252, allocations: 90.27 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.863e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7353/0.9479, allocations: 144 MB / 1.026 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.9483, allocations: 86.69 kB / 1.026 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03309/0.9814, allocations: 10.96 MB / 1.037 GB, free: 428 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9814, allocations: 0 / 1.037 GB, free: 428 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.9815, allocations: 8 kB / 1.037 GB, free: 420 kB / 0.6511 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.001028/0.9825, allocations: 0.5225 MB / 1.037 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.9826, allocations: 8.031 kB / 1.037 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.983, allocations: 55.55 kB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.9844, allocations: 0.612 MB / 1.038 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.9845, allocations: 0 / 1.038 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.9845, allocations: 15.94 kB / 1.038 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002219/0.9847, allocations: 121.6 kB / 1.038 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.985, allocations: 121.7 kB / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.985, allocations: 0 / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.985, allocations: 7.938 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9851, allocations: 0 / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.9859, allocations: 461 kB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.9862, allocations: 139.5 kB / 1.039 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.9863, allocations: 65.23 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.9863, allocations: 7.547 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.9864, allocations: 38.56 kB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.9864, allocations: 0 / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0005086/0.9869, allocations: 179 kB / 1.039 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.9869, allocations: 51.41 kB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.9873, allocations: 266.8 kB / 1.039 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.9873, allocations: 25.7 kB / 1.039 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.9874, allocations: 157.6 kB / 1.039 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.9875, allocations: 30.98 kB / 1.039 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.9875, allocations: 0 / 1.039 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9876, allocations: 336.9 kB / 1.04 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.9878, allocations: 69.28 kB / 1.04 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.9879, allocations: 126.6 kB / 1.04 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.9882, allocations: 93.86 kB / 1.04 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9882, allocations: 4 kB / 1.04 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004991/0.9887, allocations: 247.2 kB / 1.04 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.9891, allocations: 0.7051 MB / 1.041 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9891, allocations: 0 / 1.041 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.9892, allocations: 4 kB / 1.041 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.9894, allocations: 51.91 kB / 1.041 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.9895, allocations: 11.94 kB / 1.041 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.9896, allocations: 15.84 kB / 1.041 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.9897, allocations: 23.3 kB / 1.041 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9897, allocations: 4 kB / 1.041 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003724/0.9901, allocations: 160.9 kB / 1.041 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.9901, allocations: 0 / 1.041 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.9901, allocations: 4 kB / 1.041 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.9903, allocations: 55.83 kB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.9903, allocations: 0 / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.9905, allocations: 23.83 kB / 1.041 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.9906, allocations: 12 kB / 1.041 GB, free: 11.96 MB / 0.6667 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 0.0001303/0.9907, allocations: 111.7 kB / 1.041 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002606/0.991, allocations: 134.5 kB / 1.042 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.991, allocations: 19.72 kB / 1.042 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.9914, allocations: 162.5 kB / 1.042 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.9914, allocations: 8 kB / 1.042 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9914, allocations: 0 / 1.042 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9914, allocations: 3.984 kB / 1.042 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.9917, allocations: 236.2 kB / 1.042 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9917, allocations: 0 / 1.042 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.9919, allocations: 31.91 kB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9919, allocations: 4 kB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.9919, allocations: 0 / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.992, allocations: 0 / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.992, allocations: 4 kB / 1.042 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.9923, allocations: 237.4 kB / 1.042 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.9924, allocations: 112 kB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.9924, allocations: 4 kB / 1.042 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.9926, allocations: 7.984 kB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.9926, allocations: 11.55 kB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.9927, allocations: 8 kB / 1.042 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002091/0.9929, allocations: 210.7 kB / 1.043 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9929, allocations: 0 / 1.043 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008385/0.9937, allocations: 174.2 kB / 1.043 GB, free: 10.6 MB / 0.6667 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.001513/0.9953, allocations: 1.041 MB / 1.044 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.9957, allocations: 242.5 kB / 1.044 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9957, allocations: 0 / 1.044 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.9958, allocations: 47.2 kB / 1.044 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.9963, allocations: 95 kB / 1.044 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.9973, allocations: 423.5 kB / 1.045 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9977, allocations: 0.7753 MB / 1.045 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.9982, allocations: 125.8 kB / 1.045 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.9983, allocations: 83.52 kB / 1.046 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of SimCode: time 3.71e-07/0.9983, allocations: 0 / 1.046 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/1.029, allocations: 9.311 MB / 1.055 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/1.029, allocations: 162.2 kB / 1.055 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/3.066, allocations: 2.531 kB / 1.055 GB, free: 14.52 MB / 0.6823 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)