Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.572/1.572, allocations: 285.4 MB / 298 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.00103, allocations: 184.8 kB / 366.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 96.88 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.311e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7044, allocations: 115.3 MB / 0.971 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.9103, allocations: 150 MB / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.9107, allocations: 83.95 kB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03349/0.9442, allocations: 11.17 MB / 1.128 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9442, allocations: 0 / 1.128 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.262e-05/0.9443, allocations: 8 kB / 1.128 GB, free: 6.578 MB / 0.7292 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.001073/0.9454, allocations: 0.5289 MB / 1.129 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.9454, allocations: 8.031 kB / 1.129 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.9455, allocations: 42.55 kB / 1.129 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.9459, allocations: 47.64 kB / 1.129 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.9473, allocations: 0.6243 MB / 1.13 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9473, allocations: 8 kB / 1.13 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.9473, allocations: 11.94 kB / 1.13 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.9476, allocations: 130.7 kB / 1.13 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.9476, allocations: 3.984 kB / 1.13 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.9477, allocations: 7.938 kB / 1.13 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.9477, allocations: 6.562 kB / 1.13 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.9479, allocations: 83.92 kB / 1.13 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.9488, allocations: 0.5003 MB / 1.13 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.949, allocations: 98.55 kB / 1.13 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.9491, allocations: 48.84 kB / 1.131 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.9492, allocations: 0 / 1.131 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.9492, allocations: 34.56 kB / 1.131 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.9492, allocations: 4 kB / 1.131 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003397/0.9495, allocations: 133.3 kB / 1.131 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9496, allocations: 53.19 kB / 1.131 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.9499, allocations: 298.6 kB / 1.131 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.95, allocations: 29.7 kB / 1.131 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.9501, allocations: 156.2 kB / 1.131 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.9501, allocations: 31.62 kB / 1.131 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.9501, allocations: 0 / 1.131 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9503, allocations: 338.8 kB / 1.132 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.9504, allocations: 47.98 kB / 1.132 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.9506, allocations: 128.4 kB / 1.132 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.9507, allocations: 57.11 kB / 1.132 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9507, allocations: 4.031 kB / 1.132 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003511/0.9511, allocations: 221 kB / 1.132 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.9514, allocations: 0.7021 MB / 1.133 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9514, allocations: 0 / 1.133 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9514, allocations: 4 kB / 1.133 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.9517, allocations: 51.91 kB / 1.133 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.9517, allocations: 7.938 kB / 1.133 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.9519, allocations: 27.83 kB / 1.133 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.9519, allocations: 17.95 kB / 1.133 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.952, allocations: 8 kB / 1.133 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003013/0.9523, allocations: 167.7 kB / 1.133 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.9523, allocations: 4 kB / 1.133 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.9523, allocations: 0 / 1.133 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.9525, allocations: 47.95 kB / 1.133 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.9525, allocations: 4.219 kB / 1.133 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.9527, allocations: 27.83 kB / 1.133 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.9527, allocations: 12 kB / 1.133 GB, free: 1.562 MB / 0.7292 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.0001203/0.9528, allocations: 116.9 kB / 1.133 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.9529, allocations: 31.61 kB / 1.133 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.9532, allocations: 166.5 kB / 1.133 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9532, allocations: 0 / 1.133 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.9533, allocations: 7.422 kB / 1.133 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.9533, allocations: 0 / 1.133 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.9536, allocations: 269.4 kB / 1.134 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9536, allocations: 0 / 1.134 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.9538, allocations: 31.97 kB / 1.134 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.9538, allocations: 4 kB / 1.134 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.9538, allocations: 7.938 kB / 1.134 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9538, allocations: 0 / 1.134 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9538, allocations: 0 / 1.134 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.9541, allocations: 231.1 kB / 1.134 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.9542, allocations: 120.7 kB / 1.134 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.9542, allocations: 0 / 1.134 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.9544, allocations: 15.98 kB / 1.134 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.9544, allocations: 11.98 kB / 1.134 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.9545, allocations: 7.938 kB / 1.134 GB, free: 488 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002184/0.9547, allocations: 230.2 kB / 1.134 GB, free: 256 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9547, allocations: 0 / 1.134 GB, free: 256 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007643/0.9555, allocations: 183.8 kB / 1.134 GB, free: 72 kB / 0.7292 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.001097/0.9566, allocations: 1.067 MB / 1.135 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.957, allocations: 223 kB / 1.136 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.957, allocations: 4.312 kB / 1.136 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.9571, allocations: 51.92 kB / 1.136 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.9575, allocations: 88.41 kB / 1.136 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.9583, allocations: 439.4 kB / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.9587, allocations: 0.7804 MB / 1.137 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00041/0.9591, allocations: 119.9 kB / 1.137 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.9592, allocations: 91.38 kB / 1.137 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/0.9592, allocations: 0 / 1.137 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.9839, allocations: 11.79 MB / 1.149 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.9841, allocations: 178.5 kB / 1.149 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/3.25, allocations: 4 kB / 1.149 GB, free: 1.523 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)