Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7091/0.7091, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 184.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 441.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 93 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 279.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.861e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3516, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.559/3.911, allocations: 1.892 GB / 2.657 GB, free: 154.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/3.911, allocations: 96.62 kB / 2.657 GB, free: 154.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.25/8.161, allocations: 1.355 GB / 4.012 GB, free: 76.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.393e-06/8.161, allocations: 0 / 4.012 GB, free: 76.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000126/8.161, allocations: 53.16 kB / 4.012 GB, free: 76.01 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004136/8.165, allocations: 2.179 MB / 4.014 GB, free: 75.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/8.165, allocations: 8.562 kB / 4.014 GB, free: 75.11 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/8.166, allocations: 216.3 kB / 4.014 GB, free: 75.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/8.168, allocations: 0.5013 MB / 4.014 GB, free: 74.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/8.171, allocations: 1.404 MB / 4.016 GB, free: 74.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/8.171, allocations: 171.7 kB / 4.016 GB, free: 74.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/8.171, allocations: 154.7 kB / 4.016 GB, free: 74.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/8.174, allocations: 1.637 MB / 4.018 GB, free: 74.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/8.174, allocations: 15 kB / 4.018 GB, free: 74.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/8.174, allocations: 59.47 kB / 4.018 GB, free: 74.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/8.174, allocations: 54.45 kB / 4.018 GB, free: 74.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/8.176, allocations: 1.249 MB / 4.019 GB, free: 74.21 MB / 0.7292 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.007746/8.184, allocations: 8.22 MB / 4.027 GB, free: 69.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/8.185, allocations: 0.8333 MB / 4.028 GB, free: 69.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/8.185, allocations: 0.4885 MB / 4.028 GB, free: 69.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/8.186, allocations: 323 kB / 4.029 GB, free: 69.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/8.186, allocations: 44.16 kB / 4.029 GB, free: 68.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 2.215e-06/8.186, allocations: 0 / 4.029 GB, free: 68.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.005075/8.191, allocations: 2.617 MB / 4.031 GB, free: 68.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/8.191, allocations: 59.78 kB / 4.031 GB, free: 68.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/8.192, allocations: 1.071 MB / 4.032 GB, free: 68.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/8.192, allocations: 53.55 kB / 4.032 GB, free: 68.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/8.193, allocations: 0.8017 MB / 4.033 GB, free: 67.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/8.193, allocations: 363.5 kB / 4.034 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/8.193, allocations: 22.62 kB / 4.034 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/8.193, allocations: 351.9 kB / 4.034 GB, free: 67.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/8.193, allocations: 395.6 kB / 4.034 GB, free: 67.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/8.194, allocations: 0.7892 MB / 4.035 GB, free: 66.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/8.195, allocations: 0.5222 MB / 4.036 GB, free: 66.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/8.195, allocations: 7.172 kB / 4.036 GB, free: 66.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001663/8.196, allocations: 1.319 MB / 4.037 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006024/8.197, allocations: 3.663 MB / 4.04 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/8.197, allocations: 9.031 kB / 4.04 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/8.197, allocations: 16.75 kB / 4.04 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/8.198, allocations: 283.8 kB / 4.041 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/8.198, allocations: 25.02 kB / 4.041 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/8.2, allocations: 176.5 kB / 4.041 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/8.2, allocations: 45.34 kB / 4.041 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/8.2, allocations: 3.938 kB / 4.041 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/8.201, allocations: 1.153 MB / 4.042 GB, free: 62.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/8.201, allocations: 7.844 kB / 4.042 GB, free: 62.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/8.201, allocations: 19.89 kB / 4.042 GB, free: 62.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/8.202, allocations: 276.6 kB / 4.042 GB, free: 62.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/8.202, allocations: 20.38 kB / 4.042 GB, free: 62.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/8.204, allocations: 172.7 kB / 4.043 GB, free: 62.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/8.204, allocations: 53.25 kB / 4.043 GB, free: 62.79 MB / 0.7292 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.0002387/8.204, allocations: 181.3 kB / 4.043 GB, free: 62.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/8.204, allocations: 169.1 kB / 4.043 GB, free: 62.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/8.206, allocations: 1.093 MB / 4.044 GB, free: 62.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/8.206, allocations: 13.91 kB / 4.044 GB, free: 62.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/8.206, allocations: 0 / 4.044 GB, free: 62.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/8.207, allocations: 1.005 MB / 4.045 GB, free: 62.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/8.211, allocations: 2.691 MB / 4.048 GB, free: 61.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/8.211, allocations: 3.938 kB / 4.048 GB, free: 61.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/8.212, allocations: 256 kB / 4.048 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/8.212, allocations: 3.938 kB / 4.048 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/8.212, allocations: 28.22 kB / 4.048 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/8.212, allocations: 9.906 kB / 4.048 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/8.212, allocations: 3.688 kB / 4.048 GB, free: 61.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/8.214, allocations: 1.811 MB / 4.05 GB, free: 61.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/8.215, allocations: 331.2 kB / 4.05 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/8.215, allocations: 28.75 kB / 4.05 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/8.216, allocations: 144.6 kB / 4.05 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/8.217, allocations: 66.62 kB / 4.05 GB, free: 61.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/8.217, allocations: 44.48 kB / 4.05 GB, free: 61.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001049/8.218, allocations: 0.8079 MB / 4.051 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/8.218, allocations: 2.734 kB / 4.051 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002892/8.221, allocations: 1.065 MB / 4.052 GB, free: 61 MB / 0.7292 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.006112/8.227, allocations: 5.747 MB / 4.058 GB, free: 58.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002428/8.229, allocations: 1.666 MB / 4.059 GB, free: 58.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/8.229, allocations: 2.125 kB / 4.059 GB, free: 58.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/8.23, allocations: 489.1 kB / 4.06 GB, free: 58.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/8.234, allocations: 0.9509 MB / 4.061 GB, free: 58.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/8.239, allocations: 3.201 MB / 4.064 GB, free: 57.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/8.24, allocations: 1.478 MB / 4.065 GB, free: 56.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002374/8.243, allocations: 0.6862 MB / 4.066 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/8.243, allocations: 0.6666 MB / 4.067 GB, free: 56.51 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/8.243, allocations: 0 / 4.067 GB, free: 56.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/8.366, allocations: 95.34 MB / 4.16 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/8.367, allocations: 206 kB / 4.16 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.973/13.34, allocations: 4.062 kB / 4.16 GB, free: 14.1 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)