Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001057/0.001057, allocations: 182 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.603/1.603, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.001114/0.001114, allocations: 98 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.001975/0.001975, allocations: 272.7 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.705e-05/4.706e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.538/0.5381, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9604/1.499, allocations: 371.8 MB / 1.127 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/1.499, allocations: 96.7 kB / 1.127 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.042/2.541, allocations: 246.8 MB / 1.369 GB, free: 96.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/2.541, allocations: 8 kB / 1.369 GB, free: 96.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001061/2.541, allocations: 31.98 kB / 1.369 GB, free: 96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002246/2.543, allocations: 1.197 MB / 1.37 GB, free: 94.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/2.543, allocations: 8.031 kB / 1.37 GB, free: 94.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/2.544, allocations: 138.5 kB / 1.37 GB, free: 94.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/2.559, allocations: 7.751 MB / 1.377 GB, free: 86.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/2.56, allocations: 58 kB / 1.378 GB, free: 86.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/2.56, allocations: 79.94 kB / 1.378 GB, free: 86.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/2.561, allocations: 0.9553 MB / 1.379 GB, free: 85.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/2.561, allocations: 4 kB / 1.379 GB, free: 85.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/2.561, allocations: 35.98 kB / 1.379 GB, free: 85.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/2.561, allocations: 23.98 kB / 1.379 GB, free: 85.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/2.562, allocations: 0.6831 MB / 1.379 GB, free: 84.87 MB / 0.698 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.00477/2.567, allocations: 4.546 MB / 1.384 GB, free: 79.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/2.567, allocations: 386.2 kB / 1.384 GB, free: 79.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/2.568, allocations: 260.4 kB / 1.384 GB, free: 79.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/2.568, allocations: 421.8 kB / 1.385 GB, free: 78.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/2.568, allocations: 42.83 kB / 1.385 GB, free: 78.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.788e-06/2.568, allocations: 0 / 1.385 GB, free: 78.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001033/2.569, allocations: 0.538 MB / 1.385 GB, free: 78.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/2.569, allocations: 67.33 kB / 1.385 GB, free: 78.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/2.57, allocations: 0.817 MB / 1.386 GB, free: 77.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/2.57, allocations: 37.7 kB / 1.386 GB, free: 77.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/2.57, allocations: 0.495 MB / 1.387 GB, free: 76.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/2.571, allocations: 145.9 kB / 1.387 GB, free: 76.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/2.571, allocations: 12 kB / 1.387 GB, free: 76.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/2.571, allocations: 341.9 kB / 1.387 GB, free: 76.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/2.571, allocations: 213 kB / 1.387 GB, free: 76.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/2.571, allocations: 432.4 kB / 1.388 GB, free: 75.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/2.572, allocations: 313.3 kB / 1.388 GB, free: 75.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.572, allocations: 4.031 kB / 1.388 GB, free: 75.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001015/2.573, allocations: 0.7749 MB / 1.389 GB, free: 74.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005314/2.573, allocations: 2.183 MB / 1.391 GB, free: 72.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/2.573, allocations: 4 kB / 1.391 GB, free: 72.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/2.574, allocations: 68.75 kB / 1.391 GB, free: 72.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/2.574, allocations: 123.7 kB / 1.391 GB, free: 71.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004339/2.574, allocations: 0.6226 MB / 1.392 GB, free: 71.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/2.575, allocations: 115.3 kB / 1.392 GB, free: 71.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/2.575, allocations: 27.98 kB / 1.392 GB, free: 71.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/2.575, allocations: 4 kB / 1.392 GB, free: 71.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008612/2.576, allocations: 0.6645 MB / 1.393 GB, free: 70.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/2.576, allocations: 4.078 kB / 1.393 GB, free: 70.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/2.576, allocations: 72.75 kB / 1.393 GB, free: 70.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/2.577, allocations: 111.8 kB / 1.393 GB, free: 70.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/2.578, allocations: 1.65 MB / 1.394 GB, free: 68.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/2.579, allocations: 99.42 kB / 1.394 GB, free: 68.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/2.579, allocations: 28 kB / 1.394 GB, free: 68.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000201/2.579, allocations: 152.7 kB / 1.395 GB, free: 68.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/2.579, allocations: 86.97 kB / 1.395 GB, free: 68.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/2.58, allocations: 0.6413 MB / 1.395 GB, free: 67.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/2.58, allocations: 4 kB / 1.395 GB, free: 67.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/2.58, allocations: 4 kB / 1.395 GB, free: 67.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007037/2.581, allocations: 0.8048 MB / 1.396 GB, free: 66.57 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.002332/2.583, allocations: 1.673 MB / 1.398 GB, free: 64.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/2.583, allocations: 8 kB / 1.398 GB, free: 64.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/2.584, allocations: 75.89 kB / 1.398 GB, free: 64.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/2.584, allocations: 40.83 kB / 1.398 GB, free: 64.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/2.584, allocations: 8 kB / 1.398 GB, free: 64.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/2.584, allocations: 0.5719 MB / 1.398 GB, free: 64.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.584, allocations: 0 / 1.398 GB, free: 64.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/2.585, allocations: 0.9867 MB / 1.399 GB, free: 63.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/2.586, allocations: 263.8 kB / 1.4 GB, free: 62.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/2.586, allocations: 12 kB / 1.4 GB, free: 62.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/2.586, allocations: 63.83 kB / 1.4 GB, free: 62.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/2.586, allocations: 40.05 kB / 1.4 GB, free: 62.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/2.586, allocations: 19.98 kB / 1.4 GB, free: 62.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007277/2.587, allocations: 0.6513 MB / 1.4 GB, free: 61.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.587, allocations: 3.938 kB / 1.4 GB, free: 61.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002052/2.589, allocations: 0.6001 MB / 1.401 GB, free: 61.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008364/2.59, allocations: 393.9 kB / 1.401 GB, free: 60.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001438/2.591, allocations: 1.009 MB / 1.402 GB, free: 59.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/2.591, allocations: 4.125 kB / 1.402 GB, free: 59.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/2.592, allocations: 235.8 kB / 1.403 GB, free: 59.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/2.594, allocations: 0.5483 MB / 1.403 GB, free: 59.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/2.596, allocations: 1.62 MB / 1.405 GB, free: 57.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/2.597, allocations: 1.245 MB / 1.406 GB, free: 56.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001482/2.598, allocations: 0.6583 MB / 1.407 GB, free: 55.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/2.599, allocations: 55.42 kB / 1.407 GB, free: 55.54 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/2.599, allocations: 0 / 1.407 GB, free: 55.54 MB / 0.698 GB Notification: Performance of Templates: time 0.03276/2.631, allocations: 22.35 MB / 1.428 GB, free: 33.38 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)