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.434/1.434, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.0009733/0.0009735, allocations: 178 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.000958/0.0009577, allocations: 86.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.532e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7652/0.985, allocations: 143.7 MB / 1.032 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.9853, allocations: 90.33 kB / 1.032 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03442/1.02, allocations: 11.16 MB / 1.043 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.706e-06/1.02, allocations: 3.938 kB / 1.043 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.048e-05/1.02, allocations: 6.875 kB / 1.043 GB, free: 13.25 MB / 0.6667 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.0009748/1.021, allocations: 0.5326 MB / 1.044 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.021, allocations: 8.031 kB / 1.044 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/1.021, allocations: 42.48 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/1.021, allocations: 51.55 kB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.023, allocations: 0.6173 MB / 1.044 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.023, allocations: 7.375 kB / 1.044 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/1.023, allocations: 11.62 kB / 1.044 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/1.023, allocations: 131.6 kB / 1.045 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.023, allocations: 0 / 1.045 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/1.023, allocations: 7.312 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/1.023, allocations: 3.953 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.023, allocations: 87.27 kB / 1.045 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/1.024, allocations: 0.506 MB / 1.045 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/1.024, allocations: 101.8 kB / 1.045 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/1.024, allocations: 47.22 kB / 1.045 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/1.024, allocations: 4 kB / 1.045 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.024, allocations: 30.56 kB / 1.045 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/1.024, allocations: 0 / 1.045 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0003458/1.025, allocations: 135.8 kB / 1.045 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.025, allocations: 59.09 kB / 1.045 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/1.025, allocations: 292.2 kB / 1.046 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/1.025, allocations: 29.7 kB / 1.046 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.025, allocations: 159.9 kB / 1.046 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/1.025, allocations: 30.98 kB / 1.046 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/1.025, allocations: 0 / 1.046 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.026, allocations: 344.1 kB / 1.046 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/1.026, allocations: 48.36 kB / 1.046 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/1.026, allocations: 119.3 kB / 1.046 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/1.026, allocations: 59.66 kB / 1.047 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.026, allocations: 4.031 kB / 1.047 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003518/1.026, allocations: 215.3 kB / 1.047 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/1.027, allocations: 0.6959 MB / 1.047 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.027, allocations: 4 kB / 1.047 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.027, allocations: 7.953 kB / 1.047 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/1.027, allocations: 51.39 kB / 1.047 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.027, allocations: 3.938 kB / 1.047 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/1.027, allocations: 27.73 kB / 1.048 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/1.027, allocations: 19.12 kB / 1.048 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/1.027, allocations: 4 kB / 1.048 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003038/1.027, allocations: 174.2 kB / 1.048 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.027, allocations: 0 / 1.048 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/1.028, allocations: 7.938 kB / 1.048 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/1.028, allocations: 47.61 kB / 1.048 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/1.028, allocations: 8 kB / 1.048 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.028, allocations: 23.83 kB / 1.048 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/1.028, allocations: 15.19 kB / 1.048 GB, free: 8.828 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 9.035e-05/1.028, allocations: 112.2 kB / 1.048 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/1.028, allocations: 23.72 kB / 1.048 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/1.028, allocations: 171.5 kB / 1.048 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.028, allocations: 7.984 kB / 1.048 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.028, allocations: 0 / 1.048 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.028, allocations: 3.984 kB / 1.048 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/1.029, allocations: 271.1 kB / 1.048 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.029, allocations: 0 / 1.048 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/1.029, allocations: 31.97 kB / 1.048 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.029, allocations: 0 / 1.048 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.029, allocations: 7.938 kB / 1.048 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.029, allocations: 0 / 1.048 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.029, allocations: 0 / 1.048 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/1.029, allocations: 233.9 kB / 1.049 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.029, allocations: 116 kB / 1.049 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/1.029, allocations: 8.188 kB / 1.049 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.03, allocations: 19.42 kB / 1.049 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/1.03, allocations: 7.938 kB / 1.049 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/1.03, allocations: 7.984 kB / 1.049 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002615/1.03, allocations: 231.7 kB / 1.049 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/1.03, allocations: 0 / 1.049 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008714/1.031, allocations: 176.9 kB / 1.049 GB, free: 7.504 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.00132/1.032, allocations: 1.062 MB / 1.05 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004402/1.033, allocations: 229.5 kB / 1.05 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.033, allocations: 4.062 kB / 1.05 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/1.033, allocations: 47.61 kB / 1.05 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/1.033, allocations: 99.08 kB / 1.051 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/1.034, allocations: 443.1 kB / 1.051 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/1.035, allocations: 0.7739 MB / 1.052 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004278/1.035, allocations: 122.8 kB / 1.052 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.035, allocations: 87.08 kB / 1.052 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of SimCode: time 4.41e-07/1.035, allocations: 0 / 1.052 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/1.062, allocations: 11.81 MB / 1.063 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.062, allocations: 181.3 kB / 1.064 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.518, allocations: 4 kB / 1.064 GB, free: 8.965 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)