Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.923/1.923, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001064/0.001064, allocations: 180.9 kB / 361.4 MB, free: 6.797 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.704/1.704, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008757/0.0008758, allocations: 92.02 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.127e-05, allocations: 8 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7977, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.528/6.326, allocations: 2.086 GB / 3.05 GB, free: 28.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/6.326, allocations: 93.25 kB / 3.05 GB, free: 28.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.502/11.83, allocations: 1.323 GB / 4.373 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.883e-06/11.83, allocations: 0 / 4.373 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001625/11.83, allocations: 50.16 kB / 4.373 GB, free: 129.8 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006893/11.84, allocations: 2.172 MB / 4.375 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/11.84, allocations: 10.78 kB / 4.375 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/11.84, allocations: 0.5051 MB / 4.376 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/11.84, allocations: 1.395 MB / 4.377 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/11.84, allocations: 124.2 kB / 4.377 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/11.84, allocations: 92.72 kB / 4.377 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002228/11.85, allocations: 1.165 MB / 4.378 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/11.85, allocations: 1.433 MB / 4.38 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/11.85, allocations: 7.562 kB / 4.38 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/11.85, allocations: 3.594 kB / 4.38 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/11.85, allocations: 62.83 kB / 4.38 GB, free: 127.9 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009189/11.86, allocations: 7.952 MB / 4.388 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/11.86, allocations: 0.8196 MB / 4.388 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/11.86, allocations: 466.5 kB / 4.389 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/11.86, allocations: 323.3 kB / 4.389 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/11.86, allocations: 41.66 kB / 4.389 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 3.546e-06/11.86, allocations: 0 / 4.389 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.005919/11.87, allocations: 2.561 MB / 4.392 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/11.87, allocations: 69.56 kB / 4.392 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/11.87, allocations: 0.8806 MB / 4.393 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/11.87, allocations: 25.7 kB / 4.393 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/11.87, allocations: 0.821 MB / 4.393 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/11.87, allocations: 348.1 kB / 4.394 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/11.87, allocations: 3.062 kB / 4.394 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001053/11.87, allocations: 356.2 kB / 4.394 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/11.87, allocations: 373.8 kB / 4.394 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007617/11.87, allocations: 0.7659 MB / 4.395 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/11.87, allocations: 0.5478 MB / 4.396 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/11.87, allocations: 3.469 kB / 4.396 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001922/11.87, allocations: 1.255 MB / 4.397 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009684/11.87, allocations: 3.638 MB / 4.4 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/11.87, allocations: 18.95 kB / 4.4 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/11.87, allocations: 18.25 kB / 4.401 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/11.87, allocations: 281.1 kB / 4.401 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/11.87, allocations: 27.25 kB / 4.401 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/11.88, allocations: 146.4 kB / 4.401 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/11.88, allocations: 54.84 kB / 4.401 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/11.88, allocations: 5.188 kB / 4.401 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/11.88, allocations: 1.059 MB / 4.402 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/11.88, allocations: 12.12 kB / 4.402 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/11.88, allocations: 17.16 kB / 4.402 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/11.88, allocations: 271.7 kB / 4.402 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/11.88, allocations: 21.81 kB / 4.402 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/11.88, allocations: 147.5 kB / 4.402 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/11.88, allocations: 53.19 kB / 4.403 GB, free: 115.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003344/11.88, allocations: 149.6 kB / 4.403 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00151/11.88, allocations: 0.9655 MB / 4.404 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/11.88, allocations: 155.8 kB / 4.404 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/11.88, allocations: 1.057 MB / 4.405 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/11.88, allocations: 10.75 kB / 4.405 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/11.88, allocations: 0 / 4.405 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/11.89, allocations: 1.002 MB / 4.406 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/11.89, allocations: 2.503 MB / 4.408 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/11.89, allocations: 0 / 4.408 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/11.89, allocations: 260.3 kB / 4.408 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/11.89, allocations: 7.125 kB / 4.408 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/11.89, allocations: 23.42 kB / 4.409 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/11.89, allocations: 7.562 kB / 4.409 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/11.89, allocations: 7.875 kB / 4.409 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/11.89, allocations: 1.766 MB / 4.41 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/11.89, allocations: 333.3 kB / 4.411 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/11.89, allocations: 7.719 kB / 4.411 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/11.9, allocations: 122.7 kB / 4.411 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/11.9, allocations: 69.62 kB / 4.411 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/11.9, allocations: 39.34 kB / 4.411 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008805/11.9, allocations: 0.6581 MB / 4.411 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/11.9, allocations: 0 / 4.411 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002955/11.9, allocations: 0.9125 MB / 4.412 GB, free: 111 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.007349/11.91, allocations: 6.022 MB / 4.418 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002448/11.91, allocations: 1.564 MB / 4.42 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/11.91, allocations: 0 / 4.42 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/11.91, allocations: 473.4 kB / 4.42 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/11.91, allocations: 0.8492 MB / 4.421 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/11.92, allocations: 3.097 MB / 4.424 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/11.92, allocations: 1.471 MB / 4.425 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002996/11.92, allocations: 0.6317 MB / 4.426 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/11.93, allocations: 0.6675 MB / 4.427 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.944e-06/11.93, allocations: 0 / 4.427 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/12.04, allocations: 63.14 MB / 4.488 GB, free: 49.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/12.04, allocations: 182.8 kB / 4.489 GB, free: 49.07 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.857/16.9, allocations: 0 / 4.489 GB, free: 49.07 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)