Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.732/1.732, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001179, allocations: 164.6 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009574, allocations: 97.48 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 12.94 kB / 0.9088 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7917, allocations: 120.3 MB / 1.026 GB, free: 56.77 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.983, allocations: 404.2 MB / 1.421 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/1.984, allocations: 97.81 kB / 1.421 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5337/2.517, allocations: 245.8 MB / 1.661 GB, free: 244 kB / 0.948 GB Notification: Performance of FrontEnd: time 3.627e-06/2.518, allocations: 0 / 1.661 GB, free: 244 kB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002729/2.518, allocations: 35.94 kB / 1.661 GB, free: 208 kB / 0.948 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.005526/2.523, allocations: 1.399 MB / 1.663 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.925e-05/2.523, allocations: 8.031 kB / 1.663 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/2.525, allocations: 139.4 kB / 1.663 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/2.543, allocations: 7.077 MB / 1.67 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-05/2.543, allocations: 54.38 kB / 1.67 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/2.543, allocations: 80.36 kB / 1.67 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/2.546, allocations: 0.9713 MB / 1.671 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/2.546, allocations: 7.875 kB / 1.671 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/2.546, allocations: 39.94 kB / 1.671 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/2.546, allocations: 23.98 kB / 1.671 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/2.547, allocations: 0.6986 MB / 1.671 GB, free: 5.492 MB / 0.9636 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.007165/2.555, allocations: 4.519 MB / 1.676 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/2.555, allocations: 395.5 kB / 1.676 GB, free: 244 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/2.556, allocations: 261.4 kB / 1.676 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/2.556, allocations: 433.8 kB / 1.677 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/2.556, allocations: 38.89 kB / 1.677 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=40): time 3.848e-06/2.556, allocations: 0 / 1.677 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40): time 0.002275/2.559, allocations: 0.8579 MB / 1.678 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/2.559, allocations: 55.41 kB / 1.678 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/2.56, allocations: 0.8918 MB / 1.679 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/2.56, allocations: 41.64 kB / 1.679 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/2.561, allocations: 0.5027 MB / 1.679 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/2.561, allocations: 146 kB / 1.679 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/2.561, allocations: 8 kB / 1.679 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001604/2.561, allocations: 330 kB / 1.68 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/2.562, allocations: 221 kB / 1.68 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/2.562, allocations: 440.4 kB / 1.68 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/2.563, allocations: 0.6559 MB / 1.681 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/2.563, allocations: 4 kB / 1.681 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001691/2.565, allocations: 0.7981 MB / 1.682 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/2.565, allocations: 250 kB / 1.682 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/2.565, allocations: 4 kB / 1.682 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/2.565, allocations: 88.77 kB / 1.682 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/2.566, allocations: 115.8 kB / 1.682 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000659/2.567, allocations: 0.6303 MB / 1.683 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/2.568, allocations: 107.4 kB / 1.683 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/2.568, allocations: 31.98 kB / 1.683 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/2.568, allocations: 4 kB / 1.683 GB, free: 8.918 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/2.569, allocations: 0.6875 MB / 1.684 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/2.569, allocations: 7.938 kB / 1.684 GB, free: 8.219 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/2.569, allocations: 60.81 kB / 1.684 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/2.57, allocations: 111.8 kB / 1.684 GB, free: 8.047 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/2.572, allocations: 1.658 MB / 1.685 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/2.573, allocations: 95.52 kB / 1.685 GB, free: 6.164 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/2.573, allocations: 31.94 kB / 1.685 GB, free: 6.133 MB / 0.9792 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 () * Number of clocked 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.0009451/2.574, allocations: 489.5 kB / 1.686 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/2.574, allocations: 90.91 kB / 1.686 GB, free: 5.555 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/2.576, allocations: 0.6299 MB / 1.687 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/2.576, allocations: 11.94 kB / 1.687 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/2.576, allocations: 0 / 1.687 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/2.577, allocations: 0.8209 MB / 1.687 GB, free: 3.992 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.003338/2.58, allocations: 1.673 MB / 1.689 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/2.58, allocations: 4 kB / 1.689 GB, free: 2.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/2.581, allocations: 75.89 kB / 1.689 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/2.581, allocations: 40.83 kB / 1.689 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/2.581, allocations: 11.98 kB / 1.689 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000432/2.581, allocations: 0.5719 MB / 1.69 GB, free: 1.504 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-06/2.581, allocations: 3.938 kB / 1.69 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/2.583, allocations: 0.942 MB / 1.691 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/2.583, allocations: 255.9 kB / 1.691 GB, free: 260 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/2.584, allocations: 8 kB / 1.691 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/2.584, allocations: 71.78 kB / 1.691 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/2.585, allocations: 27.95 kB / 1.691 GB, free: 152 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/2.585, allocations: 27.98 kB / 1.691 GB, free: 124 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.7189/3.304, allocations: 0.6178 MB / 1.692 GB, free: 232.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.52e-07/3.304, allocations: 0 / 1.692 GB, free: 232.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003334/3.307, allocations: 0.5845 MB / 1.692 GB, free: 232.6 MB / 0.9792 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 () * Number of clocked 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.001194/3.308, allocations: 398.5 kB / 1.693 GB, free: 232.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002404/3.311, allocations: 0.9946 MB / 1.694 GB, free: 232.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/3.311, allocations: 0.6562 kB / 1.694 GB, free: 232.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/3.311, allocations: 242.9 kB / 1.694 GB, free: 232.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/3.315, allocations: 0.5527 MB / 1.694 GB, free: 232.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/3.32, allocations: 2.417 MB / 1.697 GB, free: 231.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/3.321, allocations: 1.232 MB / 1.698 GB, free: 230.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001886/3.323, allocations: 430.5 kB / 1.698 GB, free: 230.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/3.323, allocations: 83.62 kB / 1.698 GB, free: 230.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.744e-06/3.323, allocations: 0 / 1.698 GB, free: 230.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.04428/3.368, allocations: 20.41 MB / 1.718 GB, free: 230.3 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)