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.7945/0.7945, 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.001319/0.001319, allocations: 182.8 kB / 187.3 MB, free: 11.88 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.597/1.597, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009549/0.0009551, allocations: 101.3 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003392/0.003392, allocations: 277.7 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.929e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5267, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.706/5.233, allocations: 1.892 GB / 2.656 GB, free: 153.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/5.234, allocations: 93.91 kB / 2.657 GB, free: 153.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.164/10.4, allocations: 1.355 GB / 4.011 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.835e-06/10.4, allocations: 0 / 4.011 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002186/10.4, allocations: 52.53 kB / 4.012 GB, free: 76.04 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.008603/10.41, allocations: 2.175 MB / 4.014 GB, free: 75.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/10.41, allocations: 8.125 kB / 4.014 GB, free: 75.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/10.41, allocations: 0.5005 MB / 4.014 GB, free: 75.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/10.42, allocations: 1.401 MB / 4.015 GB, free: 74.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/10.42, allocations: 173.7 kB / 4.016 GB, free: 74.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/10.42, allocations: 158.8 kB / 4.016 GB, free: 74.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/10.42, allocations: 1.636 MB / 4.017 GB, free: 74.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.193e-05/10.42, allocations: 3.938 kB / 4.017 GB, free: 74.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/10.42, allocations: 68.5 kB / 4.017 GB, free: 74.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.428e-05/10.42, allocations: 55.55 kB / 4.018 GB, free: 74.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/10.43, allocations: 1.249 MB / 4.019 GB, free: 74.31 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.0131/10.44, allocations: 8.212 MB / 4.027 GB, free: 69.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/10.44, allocations: 0.8393 MB / 4.028 GB, free: 69.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/10.44, allocations: 0.4915 MB / 4.028 GB, free: 69.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006066/10.44, allocations: 319.6 kB / 4.028 GB, free: 69.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/10.44, allocations: 45.5 kB / 4.028 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 4.298e-06/10.44, allocations: 0 / 4.028 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.006026/10.45, allocations: 2.617 MB / 4.031 GB, free: 68.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/10.45, allocations: 65.84 kB / 4.031 GB, free: 68.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/10.45, allocations: 1.061 MB / 4.032 GB, free: 68.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/10.45, allocations: 50.48 kB / 4.032 GB, free: 68.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/10.45, allocations: 0.8085 MB / 4.033 GB, free: 67.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/10.45, allocations: 369.8 kB / 4.033 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/10.45, allocations: 23.09 kB / 4.033 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/10.45, allocations: 352.5 kB / 4.034 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/10.45, allocations: 390 kB / 4.034 GB, free: 67.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/10.45, allocations: 0.7896 MB / 4.035 GB, free: 66.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/10.45, allocations: 0.5192 MB / 4.035 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/10.45, allocations: 3.594 kB / 4.035 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00205/10.45, allocations: 1.324 MB / 4.037 GB, free: 66.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007659/10.46, allocations: 3.664 MB / 4.04 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/10.46, allocations: 7.062 kB / 4.04 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-05/10.46, allocations: 16.47 kB / 4.04 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/10.46, allocations: 286.6 kB / 4.04 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/10.46, allocations: 17.5 kB / 4.04 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/10.46, allocations: 176.4 kB / 4.041 GB, free: 62.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/10.46, allocations: 49.91 kB / 4.041 GB, free: 62.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/10.46, allocations: 9.859 kB / 4.041 GB, free: 62.94 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/10.46, allocations: 1.137 MB / 4.042 GB, free: 62.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/10.46, allocations: 11.12 kB / 4.042 GB, free: 62.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/10.46, allocations: 21.86 kB / 4.042 GB, free: 62.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/10.46, allocations: 279.8 kB / 4.042 GB, free: 62.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/10.46, allocations: 26.27 kB / 4.042 GB, free: 62.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/10.46, allocations: 165.8 kB / 4.042 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/10.46, allocations: 57.48 kB / 4.042 GB, free: 62.91 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.0003578/10.46, allocations: 183 kB / 4.043 GB, free: 62.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/10.46, allocations: 163 kB / 4.043 GB, free: 62.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/10.47, allocations: 1.083 MB / 4.044 GB, free: 62.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/10.47, allocations: 15.08 kB / 4.044 GB, free: 62.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/10.47, allocations: 3.312 kB / 4.044 GB, free: 62.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/10.47, allocations: 1.008 MB / 4.045 GB, free: 62.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/10.47, allocations: 2.689 MB / 4.047 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/10.47, allocations: 3.875 kB / 4.047 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/10.47, allocations: 257.3 kB / 4.048 GB, free: 61.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/10.47, allocations: 10.16 kB / 4.048 GB, free: 61.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.745e-05/10.47, allocations: 32.53 kB / 4.048 GB, free: 61.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/10.47, allocations: 10.09 kB / 4.048 GB, free: 61.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/10.47, allocations: 0 / 4.048 GB, free: 61.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/10.48, allocations: 1.816 MB / 4.049 GB, free: 61.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009443/10.48, allocations: 335.2 kB / 4.05 GB, free: 61.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/10.48, allocations: 27.38 kB / 4.05 GB, free: 61.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/10.48, allocations: 142.9 kB / 4.05 GB, free: 61.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/10.48, allocations: 65.56 kB / 4.05 GB, free: 61.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.484e-05/10.48, allocations: 43.86 kB / 4.05 GB, free: 61.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001322/10.48, allocations: 0.8079 MB / 4.051 GB, free: 61.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/10.48, allocations: 0 / 4.051 GB, free: 61.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004008/10.48, allocations: 1.065 MB / 4.052 GB, free: 61.14 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.004876/10.49, allocations: 3.025 MB / 4.055 GB, free: 59.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002886/10.49, allocations: 1.659 MB / 4.056 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/10.49, allocations: 0 / 4.056 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007894/10.49, allocations: 493.1 kB / 4.057 GB, free: 59.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/10.5, allocations: 0.9485 MB / 4.058 GB, free: 59.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/10.5, allocations: 2.776 MB / 4.061 GB, free: 58.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/10.51, allocations: 1.483 MB / 4.062 GB, free: 58.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002991/10.51, allocations: 0.6876 MB / 4.063 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/10.51, allocations: 109.8 kB / 4.063 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.834e-06/10.51, allocations: 0 / 4.063 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.1025/10.61, allocations: 71.57 MB / 4.133 GB, free: 9.355 MB / 0.7292 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)