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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.831/0.831, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 185.1 kB / 191.5 MB, free: 5.746 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.481/1.481, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0008556/0.0008556, allocations: 84.33 kB / 0.5188 GB, free: 1.141 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 278.5 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005228, allocations: 17.47 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.188, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.346/4.534, allocations: 1.892 GB / 2.666 GB, free: 36.35 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004552/4.535, allocations: 100.8 kB / 2.666 GB, free: 36.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.213/9.748, allocations: 1.356 GB / 4.022 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/9.748, allocations: 0 / 4.022 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002094/9.748, allocations: 55.92 kB / 4.022 GB, free: 28.47 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.008956/9.757, allocations: 2.476 MB / 4.025 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/9.757, allocations: 8.031 kB / 4.025 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004563/9.761, allocations: 0.501 MB / 4.025 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/9.766, allocations: 1.41 MB / 4.026 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/9.766, allocations: 182.5 kB / 4.027 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/9.766, allocations: 148 kB / 4.027 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/9.769, allocations: 1.688 MB / 4.028 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/9.769, allocations: 15.84 kB / 4.028 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/9.769, allocations: 60 kB / 4.029 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/9.769, allocations: 58.69 kB / 4.029 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/9.772, allocations: 1.334 MB / 4.03 GB, free: 20.39 MB / 0.7292 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.009534/9.781, allocations: 8.216 MB / 4.038 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/9.783, allocations: 0.9012 MB / 4.039 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/9.783, allocations: 320.5 kB / 4.039 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/9.783, allocations: 47.5 kB / 4.039 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/9.783, allocations: 0 / 4.039 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.007517/9.791, allocations: 3.12 MB / 4.042 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/9.791, allocations: 60.41 kB / 4.042 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/9.792, allocations: 1.078 MB / 4.043 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/9.792, allocations: 49.7 kB / 4.043 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/9.793, allocations: 0.8093 MB / 4.044 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/9.793, allocations: 370.7 kB / 4.044 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/9.793, allocations: 28 kB / 4.045 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/9.793, allocations: 349.9 kB / 4.045 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/9.794, allocations: 434.4 kB / 4.045 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008793/9.795, allocations: 0.8368 MB / 4.046 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/9.796, allocations: 0.5494 MB / 4.047 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/9.796, allocations: 4 kB / 4.047 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002337/9.798, allocations: 1.394 MB / 4.048 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00161/9.8, allocations: 3.662 MB / 4.052 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/9.8, allocations: 8 kB / 4.052 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.8e-05/9.8, allocations: 16 kB / 4.052 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/9.801, allocations: 287.5 kB / 4.052 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/9.801, allocations: 19.92 kB / 4.052 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/9.803, allocations: 171.5 kB / 4.052 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/9.804, allocations: 59.98 kB / 4.052 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/9.804, allocations: 4 kB / 4.052 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002467/9.806, allocations: 1.218 MB / 4.053 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/9.806, allocations: 8 kB / 4.053 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/9.806, allocations: 16 kB / 4.053 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/9.807, allocations: 279.6 kB / 4.054 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/9.807, allocations: 19.94 kB / 4.054 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/9.81, allocations: 171.8 kB / 4.054 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/9.81, allocations: 48 kB / 4.054 GB, free: 10.64 MB / 0.7448 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.001747/9.812, allocations: 0.5173 MB / 4.054 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/9.812, allocations: 166 kB / 4.054 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/9.815, allocations: 1.154 MB / 4.056 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/9.815, allocations: 8 kB / 4.056 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/9.815, allocations: 0 / 4.056 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001942/9.817, allocations: 1.085 MB / 4.057 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006557/9.824, allocations: 2.785 MB / 4.059 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/9.824, allocations: 8 kB / 4.059 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/9.825, allocations: 255.9 kB / 4.06 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/9.825, allocations: 4 kB / 4.06 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/9.825, allocations: 27.95 kB / 4.06 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/9.825, allocations: 7.984 kB / 4.06 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/9.825, allocations: 7.938 kB / 4.06 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/9.829, allocations: 1.912 MB / 4.062 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/9.83, allocations: 338.9 kB / 4.062 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/9.83, allocations: 24 kB / 4.062 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/9.832, allocations: 147.6 kB / 4.062 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/9.832, allocations: 68.89 kB / 4.062 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/9.832, allocations: 35.98 kB / 4.062 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001461/9.834, allocations: 0.8306 MB / 4.063 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.32e-07/9.834, allocations: 0 / 4.063 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.484/10.32, allocations: 1.058 MB / 4.064 GB, free: 83.86 MB / 0.7448 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.005336/10.32, allocations: 3.016 MB / 4.067 GB, free: 82.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003474/10.33, allocations: 1.73 MB / 4.069 GB, free: 82.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/10.33, allocations: 0.7656 kB / 4.069 GB, free: 82.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000898/10.33, allocations: 0.5177 MB / 4.069 GB, free: 82.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/10.33, allocations: 0.95 MB / 4.07 GB, free: 82.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/10.34, allocations: 4.168 MB / 4.074 GB, free: 80.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/10.34, allocations: 1.477 MB / 4.076 GB, free: 80.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003339/10.34, allocations: 0.5511 MB / 4.076 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000618/10.34, allocations: 128.5 kB / 4.076 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of SimCode: time 1.583e-06/10.34, allocations: 0.6562 kB / 4.076 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.0969/10.44, allocations: 61.69 MB / 4.136 GB, free: 77.95 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)