Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009783/0.009783, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 9.75 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3869, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02533/0.4123, allocations: 22.64 MB / 1.096 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.4229, allocations: 6.8 MB / 1.103 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.4242, allocations: 27.75 kB / 1.103 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.4252, allocations: 274.4 kB / 1.103 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.4282, allocations: 0.8321 MB / 1.104 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.4304, allocations: 0.6906 MB / 1.105 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005361/0.4358, allocations: 4.669 MB / 1.109 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.4374, allocations: 1.074 MB / 1.11 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.4393, allocations: 0.9333 MB / 1.111 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.4406, allocations: 0.8942 MB / 1.112 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.4407, allocations: 40 kB / 1.112 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.4425, allocations: 0.7056 MB / 1.113 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.4427, allocations: 219 kB / 1.113 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007732/0.4435, allocations: 0.5729 MB / 1.114 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.446, allocations: 1.818 MB / 1.115 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.446, allocations: 0 / 1.115 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.455e-06/0.446, allocations: 4 kB / 1.115 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.446, allocations: 0 / 1.115 GB, free: 13.18 MB / 0.8731 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.002198/0.4482, allocations: 1.306 MB / 1.117 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4483, allocations: 8.031 kB / 1.117 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.4487, allocations: 143.4 kB / 1.117 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.4508, allocations: 1.193 MB / 1.118 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.4509, allocations: 54 kB / 1.118 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4511, allocations: 79.98 kB / 1.118 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4528, allocations: 1.041 MB / 1.119 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.4529, allocations: 8 kB / 1.119 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.453, allocations: 32 kB / 1.119 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.453, allocations: 24 kB / 1.119 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.4543, allocations: 0.761 MB / 1.12 GB, free: 8.398 MB / 0.8731 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.005531/0.4598, allocations: 4.615 MB / 1.124 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.4604, allocations: 394.2 kB / 1.125 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.4608, allocations: 266 kB / 1.125 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/0.4612, allocations: 433.8 kB / 1.125 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.4612, allocations: 42.83 kB / 1.125 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.4612, allocations: 0 / 1.125 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.001994/0.4632, allocations: 0.8701 MB / 1.126 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4633, allocations: 59.41 kB / 1.126 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.4646, allocations: 0.9193 MB / 1.127 GB, free: 324 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.4647, allocations: 37.7 kB / 1.127 GB, free: 280 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.4651, allocations: 0.4951 MB / 1.128 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.4653, allocations: 149.8 kB / 1.128 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.4654, allocations: 53.7 kB / 1.128 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4656, allocations: 333.9 kB / 1.128 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.466, allocations: 221 kB / 1.128 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.4665, allocations: 446.6 kB / 1.129 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.4675, allocations: 0.659 MB / 1.13 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4675, allocations: 0 / 1.13 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001532/0.469, allocations: 0.81 MB / 1.13 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.4693, allocations: 259.1 kB / 1.131 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4693, allocations: 8 kB / 1.131 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.4698, allocations: 88.78 kB / 1.131 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.4703, allocations: 115.8 kB / 1.131 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007065/0.471, allocations: 0.6264 MB / 1.131 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/0.4719, allocations: 111.2 kB / 1.132 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.4719, allocations: 32 kB / 1.132 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.4719, allocations: 4 kB / 1.132 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.4731, allocations: 0.6756 MB / 1.132 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4731, allocations: 8 kB / 1.132 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.4733, allocations: 68.81 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.4736, allocations: 108.3 kB / 1.132 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.4756, allocations: 1.728 MB / 1.134 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.4764, allocations: 102.2 kB / 1.134 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.4765, allocations: 27.94 kB / 1.134 GB, free: 8.738 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000895/0.4774, allocations: 488.7 kB / 1.135 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.4775, allocations: 90.88 kB / 1.135 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.4789, allocations: 0.6507 MB / 1.135 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4789, allocations: 4 kB / 1.135 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.4789, allocations: 0 / 1.135 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001046/0.48, allocations: 0.8203 MB / 1.136 GB, free: 6.578 MB / 0.8887 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.002548/0.4825, allocations: 1.691 MB / 1.138 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.4825, allocations: 0 / 1.138 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.4829, allocations: 83.92 kB / 1.138 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.4831, allocations: 40.94 kB / 1.138 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.4831, allocations: 23.92 kB / 1.138 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003812/0.4835, allocations: 0.564 MB / 1.139 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4835, allocations: 4.031 kB / 1.139 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.4848, allocations: 0.9565 MB / 1.139 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.4852, allocations: 263.8 kB / 1.14 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.4853, allocations: 8 kB / 1.14 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.4859, allocations: 82.77 kB / 1.14 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.486, allocations: 31.84 kB / 1.14 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.4861, allocations: 31.97 kB / 1.14 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009299/0.487, allocations: 0.6433 MB / 1.141 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.487, allocations: 0 / 1.141 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001807/0.4888, allocations: 0.5573 MB / 1.141 GB, free: 1.449 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006755/0.4895, allocations: 280.7 kB / 1.141 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.4912, allocations: 0.9958 MB / 1.142 GB, free: 168 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4912, allocations: 1.625 kB / 1.142 GB, free: 168 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.4916, allocations: 247.6 kB / 1.143 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.4944, allocations: 0.5677 MB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.4981, allocations: 2.478 MB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/0.499, allocations: 1.224 MB / 1.147 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001272/0.5003, allocations: 455.3 kB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.5005, allocations: 79.41 kB / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of SimCode: time 1.282e-06/0.5005, allocations: 4 kB / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.03855/0.5391, allocations: 19.46 MB / 1.166 GB, free: 7.848 MB / 0.92 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)