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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7837/0.7837, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 174.9 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 426.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009067/0.0009066, allocations: 94.28 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00166/0.00166, allocations: 265.6 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 20 kB / 0.662 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4522, allocations: 79.31 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.409/5.861, allocations: 2.056 GB / 2.796 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/5.862, allocations: 91.95 kB / 2.796 GB, free: 232 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.275/11.14, allocations: 1.336 GB / 4.132 GB, free: 81.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.324e-06/11.14, allocations: 0 / 4.132 GB, free: 81.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002507/11.14, allocations: 50.64 kB / 4.132 GB, free: 81.12 MB / 0.7136 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.00792/11.15, allocations: 2.448 MB / 4.134 GB, free: 80.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/11.15, allocations: 15.53 kB / 4.134 GB, free: 80.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/11.15, allocations: 0.4987 MB / 4.135 GB, free: 80.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/11.15, allocations: 1.476 MB / 4.136 GB, free: 79.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/11.15, allocations: 176.8 kB / 4.137 GB, free: 79.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/11.15, allocations: 148.5 kB / 4.137 GB, free: 79.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/11.16, allocations: 1.709 MB / 4.138 GB, free: 79.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/11.16, allocations: 13.81 kB / 4.138 GB, free: 79.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/11.16, allocations: 58.31 kB / 4.138 GB, free: 79.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/11.16, allocations: 58.23 kB / 4.139 GB, free: 79.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/11.16, allocations: 1.345 MB / 4.14 GB, free: 79.41 MB / 0.7136 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.0105/11.17, allocations: 8.227 MB / 4.148 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/11.17, allocations: 0.8938 MB / 4.149 GB, free: 74.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/11.17, allocations: 0.526 MB / 4.149 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/11.17, allocations: 322.7 kB / 4.15 GB, free: 74.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/11.17, allocations: 50.25 kB / 4.15 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 4.268e-06/11.17, allocations: 0 / 4.15 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.007366/11.18, allocations: 3.128 MB / 4.153 GB, free: 73.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/11.18, allocations: 64.47 kB / 4.153 GB, free: 73.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/11.18, allocations: 1.234 MB / 4.154 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/11.18, allocations: 50.67 kB / 4.154 GB, free: 73.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/11.18, allocations: 0.8039 MB / 4.155 GB, free: 73.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/11.19, allocations: 370.9 kB / 4.155 GB, free: 72.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/11.19, allocations: 24.12 kB / 4.155 GB, free: 72.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/11.19, allocations: 354.6 kB / 4.155 GB, free: 72.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/11.19, allocations: 431.8 kB / 4.156 GB, free: 72.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/11.19, allocations: 0.8346 MB / 4.157 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/11.19, allocations: 1.249 MB / 4.158 GB, free: 71.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/11.19, allocations: 5.5 kB / 4.158 GB, free: 71.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002564/11.19, allocations: 1.388 MB / 4.159 GB, free: 71.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/11.19, allocations: 364.5 kB / 4.16 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/11.19, allocations: 9.25 kB / 4.16 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/11.19, allocations: 13.44 kB / 4.16 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/11.19, allocations: 285.6 kB / 4.16 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/11.19, allocations: 24.45 kB / 4.16 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/11.2, allocations: 174.2 kB / 4.16 GB, free: 71.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/11.2, allocations: 61.22 kB / 4.16 GB, free: 71.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/11.2, allocations: 4.375 kB / 4.16 GB, free: 71.14 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002097/11.2, allocations: 1.219 MB / 4.161 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/11.2, allocations: 9.656 kB / 4.161 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/11.2, allocations: 16.78 kB / 4.161 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/11.2, allocations: 283.2 kB / 4.162 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.977e-05/11.2, allocations: 21.72 kB / 4.162 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/11.2, allocations: 172.3 kB / 4.162 GB, free: 71.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/11.2, allocations: 55.62 kB / 4.162 GB, free: 71.1 MB / 0.7136 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.001127/11.2, allocations: 0.5032 MB / 4.162 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/11.2, allocations: 167.5 kB / 4.163 GB, free: 70.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/11.2, allocations: 1.163 MB / 4.164 GB, free: 70.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/11.2, allocations: 10.31 kB / 4.164 GB, free: 70.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/11.2, allocations: 0 / 4.164 GB, free: 70.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/11.21, allocations: 1.083 MB / 4.165 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/11.21, allocations: 2.778 MB / 4.167 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/11.21, allocations: 10.72 kB / 4.167 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/11.21, allocations: 261.2 kB / 4.168 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/11.21, allocations: 3.875 kB / 4.168 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.569e-05/11.21, allocations: 30.88 kB / 4.168 GB, free: 70.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/11.21, allocations: 10.75 kB / 4.168 GB, free: 70.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/11.21, allocations: 0 / 4.168 GB, free: 70.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/11.22, allocations: 1.813 MB / 4.17 GB, free: 69.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008288/11.22, allocations: 336.8 kB / 4.17 GB, free: 69.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/11.22, allocations: 30.02 kB / 4.17 GB, free: 69.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/11.22, allocations: 146 kB / 4.17 GB, free: 69.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/11.22, allocations: 63.91 kB / 4.17 GB, free: 69.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/11.22, allocations: 36.23 kB / 4.17 GB, free: 69.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001182/11.22, allocations: 0.8276 MB / 4.171 GB, free: 69.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/11.22, allocations: 0 / 4.171 GB, free: 69.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003376/11.22, allocations: 1.075 MB / 4.172 GB, free: 69.44 MB / 0.7136 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.004374/11.23, allocations: 3.042 MB / 4.175 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003102/11.23, allocations: 1.73 MB / 4.177 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/11.23, allocations: 3.938 kB / 4.177 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/11.23, allocations: 0.5177 MB / 4.177 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/11.24, allocations: 0.9614 MB / 4.178 GB, free: 68.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/11.24, allocations: 4.243 MB / 4.182 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/11.24, allocations: 1.44 MB / 4.184 GB, free: 65.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002323/11.25, allocations: 0.5574 MB / 4.184 GB, free: 65.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/11.25, allocations: 133 kB / 4.184 GB, free: 65.59 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/11.25, allocations: 0 / 4.184 GB, free: 65.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.07998/11.33, allocations: 62.59 MB / 4.245 GB, free: 61.9 MB / 0.7136 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)