Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.6 MB / 307.5 MB, free: 5.078 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.001588/0.001588, allocations: 181 kB / 377.1 MB, free: 1.426 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.862/1.862, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.001353/0.001353, allocations: 89.66 kB / 0.7509 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004783, allocations: 8 kB / 0.8749 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2902, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.686/5.976, allocations: 2.087 GB / 3.076 GB, free: 131.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004086/5.976, allocations: 97.03 kB / 3.076 GB, free: 131.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.033/12.01, allocations: 1.339 GB / 4.415 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.916e-06/12.01, allocations: 0 / 4.415 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004947/12.01, allocations: 61.14 kB / 4.415 GB, free: 109.4 MB / 0.9792 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.01227/12.02, allocations: 2.472 MB / 4.417 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/12.02, allocations: 12.31 kB / 4.417 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001314/12.02, allocations: 216.5 kB / 4.417 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/12.03, allocations: 0.4981 MB / 4.418 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006812/12.04, allocations: 1.411 MB / 4.419 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/12.04, allocations: 181.6 kB / 4.42 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009383/12.04, allocations: 155.1 kB / 4.42 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007056/12.04, allocations: 1.685 MB / 4.421 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/12.04, allocations: 14.61 kB / 4.421 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005137/12.05, allocations: 60.75 kB / 4.421 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/12.05, allocations: 58.58 kB / 4.421 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004552/12.05, allocations: 1.342 MB / 4.423 GB, free: 107.6 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01907/12.07, allocations: 8.221 MB / 4.431 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/12.07, allocations: 0.8974 MB / 4.432 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/12.07, allocations: 315.2 kB / 4.432 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/12.07, allocations: 50.11 kB / 4.432 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=96): time 7.454e-06/12.07, allocations: 3.188 kB / 4.432 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=102): time 0.01134/12.08, allocations: 3.122 MB / 4.435 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/12.08, allocations: 59.69 kB / 4.435 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/12.09, allocations: 1.075 MB / 4.436 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/12.09, allocations: 52.47 kB / 4.436 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008265/12.09, allocations: 0.8078 MB / 4.437 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/12.09, allocations: 370.4 kB / 4.437 GB, free: 101 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/12.09, allocations: 21 kB / 4.437 GB, free: 101 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001434/12.09, allocations: 359.8 kB / 4.438 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/12.09, allocations: 429.4 kB / 4.438 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/12.09, allocations: 0.8308 MB / 4.439 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/12.09, allocations: 0.556 MB / 4.439 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/12.09, allocations: 5.719 kB / 4.439 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003441/12.1, allocations: 1.391 MB / 4.441 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/12.1, allocations: 3.662 MB / 4.444 GB, free: 96.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/12.1, allocations: 7.375 kB / 4.444 GB, free: 96.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/12.1, allocations: 18.25 kB / 4.444 GB, free: 96.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/12.1, allocations: 281.2 kB / 4.445 GB, free: 96.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.192e-05/12.1, allocations: 24.38 kB / 4.445 GB, free: 96.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/12.1, allocations: 173.2 kB / 4.445 GB, free: 96.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/12.1, allocations: 53.55 kB / 4.445 GB, free: 96.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/12.1, allocations: 3.25 kB / 4.445 GB, free: 96.38 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002393/12.1, allocations: 1.224 MB / 4.446 GB, free: 96.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/12.1, allocations: 11.88 kB / 4.446 GB, free: 96.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/12.1, allocations: 16.72 kB / 4.446 GB, free: 96.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/12.11, allocations: 285 kB / 4.446 GB, free: 96.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-05/12.11, allocations: 14.97 kB / 4.446 GB, free: 96.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/12.11, allocations: 170.7 kB / 4.447 GB, free: 96.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/12.11, allocations: 53.97 kB / 4.447 GB, free: 96.33 MB / 0.9792 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 () * Number of clocked 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.001632/12.11, allocations: 0.5005 MB / 4.447 GB, free: 96.14 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/12.11, allocations: 169.6 kB / 4.447 GB, free: 96.05 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/12.11, allocations: 1.171 MB / 4.448 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/12.11, allocations: 11.28 kB / 4.448 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/12.11, allocations: 0 / 4.448 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/12.11, allocations: 1.084 MB / 4.45 GB, free: 95.69 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/12.12, allocations: 2.769 MB / 4.452 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/12.12, allocations: 0 / 4.452 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/12.12, allocations: 259.8 kB / 4.453 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/12.12, allocations: 5.406 kB / 4.453 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/12.12, allocations: 31.7 kB / 4.453 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/12.12, allocations: 3.844 kB / 4.453 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/12.12, allocations: 4.25 kB / 4.453 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/12.13, allocations: 1.915 MB / 4.454 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/12.13, allocations: 334.6 kB / 4.455 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/12.13, allocations: 24.94 kB / 4.455 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/12.13, allocations: 147.5 kB / 4.455 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/12.13, allocations: 69.48 kB / 4.455 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/12.13, allocations: 47.47 kB / 4.455 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001942/12.13, allocations: 0.8203 MB / 4.456 GB, free: 94.54 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.3e-07/12.13, allocations: 0 / 4.456 GB, free: 94.54 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005626/12.14, allocations: 1.064 MB / 4.457 GB, free: 94.53 MB / 0.9792 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 () * Number of clocked 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.009775/12.15, allocations: 5.844 MB / 4.463 GB, free: 91.93 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004297/12.15, allocations: 1.734 MB / 4.464 GB, free: 91.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/12.15, allocations: 3.938 kB / 4.464 GB, free: 91.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/12.15, allocations: 0.5179 MB / 4.465 GB, free: 91.89 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005995/12.16, allocations: 0.9444 MB / 4.466 GB, free: 91.88 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/12.19, allocations: 16.24 MB / 4.482 GB, free: 82.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/12.19, allocations: 1.48 MB / 4.483 GB, free: 81.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003246/12.19, allocations: 0.5482 MB / 4.484 GB, free: 81.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/12.19, allocations: 0.6888 MB / 4.484 GB, free: 81.29 MB / 0.9792 GB Notification: Performance of SimCode: time 1.864e-06/12.19, allocations: 4.25 kB / 4.484 GB, free: 81.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1723/12.36, allocations: 85.95 MB / 4.568 GB, free: 75.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/12.37, allocations: 218.9 kB / 4.568 GB, free: 75.44 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.29/17.66, allocations: 0 / 4.568 GB, free: 75.44 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)