Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.446/1.446, allocations: 251.9 MB / 266.9 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.00132/0.00132, allocations: 183 kB / 326.5 MB, free: 2.27 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.218/2.218, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009146/0.0009147, allocations: 108.5 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.000494, allocations: 12.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.819/7.097, allocations: 2.191 GB / 3.091 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004738/7.098, allocations: 89.7 kB / 3.091 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4927/7.591, allocations: 255 MB / 3.34 GB, free: 77.58 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/7.591, allocations: 4 kB / 3.34 GB, free: 77.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.026e-05/7.591, allocations: 8 kB / 3.34 GB, free: 77.57 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001723/7.592, allocations: 0.8725 MB / 3.341 GB, free: 76.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/7.593, allocations: 8.031 kB / 3.341 GB, free: 76.63 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/7.593, allocations: 94.45 kB / 3.341 GB, free: 76.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/7.594, allocations: 175.2 kB / 3.341 GB, free: 76.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008662/7.595, allocations: 0.5171 MB / 3.342 GB, free: 75.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/7.595, allocations: 33 kB / 3.342 GB, free: 75.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/7.595, allocations: 44 kB / 3.342 GB, free: 75.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/7.596, allocations: 0.5137 MB / 3.342 GB, free: 75.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/7.596, allocations: 4 kB / 3.342 GB, free: 75.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/7.596, allocations: 16 kB / 3.342 GB, free: 75.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/7.596, allocations: 17 kB / 3.342 GB, free: 75.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/7.596, allocations: 395.7 kB / 3.343 GB, free: 74.78 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/7.599, allocations: 1.87 MB / 3.344 GB, free: 72.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/7.599, allocations: 210.5 kB / 3.345 GB, free: 72.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/7.599, allocations: 101.1 kB / 3.345 GB, free: 72.44 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/7.599, allocations: 38.5 kB / 3.345 GB, free: 72.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/7.599, allocations: 4 kB / 3.345 GB, free: 72.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.0007941/7.6, allocations: 387.1 kB / 3.345 GB, free: 72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/7.6, allocations: 51.41 kB / 3.345 GB, free: 71.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/7.601, allocations: 453.2 kB / 3.346 GB, free: 71.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/7.601, allocations: 33.7 kB / 3.346 GB, free: 71.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/7.601, allocations: 283.6 kB / 3.346 GB, free: 71.17 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/7.601, allocations: 74.91 kB / 3.346 GB, free: 71.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/7.601, allocations: 8 kB / 3.346 GB, free: 71.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001086/7.601, allocations: 362.7 kB / 3.346 GB, free: 70.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/7.601, allocations: 108.6 kB / 3.346 GB, free: 70.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/7.601, allocations: 213 kB / 3.347 GB, free: 70.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/7.602, allocations: 143.9 kB / 3.347 GB, free: 70.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/7.602, allocations: 4 kB / 3.347 GB, free: 70.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004938/7.602, allocations: 393.2 kB / 3.347 GB, free: 69.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/7.602, allocations: 10.66 kB / 3.347 GB, free: 69.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.602, allocations: 8 kB / 3.347 GB, free: 69.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/7.602, allocations: 4 kB / 3.347 GB, free: 69.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/7.603, allocations: 63.91 kB / 3.347 GB, free: 69.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/7.603, allocations: 4 kB / 3.347 GB, free: 69.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/7.603, allocations: 55.52 kB / 3.347 GB, free: 69.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/7.603, allocations: 12 kB / 3.347 GB, free: 69.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 0.0002427/7.603, allocations: 221.6 kB / 3.347 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/7.603, allocations: 55.42 kB / 3.348 GB, free: 69.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.824e-05/7.604, allocations: 52.16 kB / 3.348 GB, free: 69.35 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/7.604, allocations: 0 / 3.348 GB, free: 69.35 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/7.604, allocations: 0 / 3.348 GB, free: 69.35 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002961/7.604, allocations: 335.3 kB / 3.348 GB, free: 68.99 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/7.605, allocations: 0.9674 MB / 3.349 GB, free: 67.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/7.605, allocations: 0 / 3.349 GB, free: 67.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/7.605, allocations: 59.91 kB / 3.349 GB, free: 67.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/7.605, allocations: 4 kB / 3.349 GB, free: 67.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/7.605, allocations: 11.94 kB / 3.349 GB, free: 67.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/7.605, allocations: 8.188 kB / 3.349 GB, free: 67.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/7.605, allocations: 7.953 kB / 3.349 GB, free: 67.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/7.606, allocations: 0.6155 MB / 3.35 GB, free: 67.17 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/7.606, allocations: 168.5 kB / 3.35 GB, free: 66.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/7.606, allocations: 8 kB / 3.35 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/7.607, allocations: 35.97 kB / 3.35 GB, free: 66.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/7.607, allocations: 19.94 kB / 3.35 GB, free: 66.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/7.607, allocations: 11.98 kB / 3.35 GB, free: 66.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003348/7.607, allocations: 362.8 kB / 3.35 GB, free: 66.56 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.11e-07/7.607, allocations: 0 / 3.35 GB, free: 66.56 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009183/7.608, allocations: 247.7 kB / 3.35 GB, free: 66.32 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * 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.002133/7.61, allocations: 2.418 MB / 3.353 GB, free: 63.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004522/7.611, allocations: 264.2 kB / 3.353 GB, free: 63.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/7.611, allocations: 0 / 3.353 GB, free: 63.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/7.611, allocations: 111.8 kB / 3.353 GB, free: 63.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/7.612, allocations: 329.9 kB / 3.353 GB, free: 63.17 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/7.616, allocations: 4.476 MB / 3.358 GB, free: 58.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/7.617, allocations: 0.8979 MB / 3.359 GB, free: 57.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005391/7.617, allocations: 128.6 kB / 3.359 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/7.617, allocations: 163.4 kB / 3.359 GB, free: 57.36 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/7.617, allocations: 0 / 3.359 GB, free: 57.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/7.666, allocations: 29.38 MB / 3.388 GB, free: 28.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/7.666, allocations: 247.5 kB / 3.388 GB, free: 27.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/10.64, allocations: 4 kB / 3.388 GB, free: 27.95 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)