Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 69.17 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.381, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02838/0.4094, allocations: 28.61 MB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.4215, allocations: 7.899 MB / 1.104 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.4232, allocations: 35.81 kB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4246, allocations: 413.2 kB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.4278, allocations: 1.014 MB / 1.105 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.4308, allocations: 1.062 MB / 1.106 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.4361, allocations: 4.918 MB / 1.111 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.439, allocations: 2.285 MB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.4435, allocations: 1.782 MB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.4463, allocations: 1.463 MB / 1.116 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.4467, allocations: 231.9 kB / 1.117 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.4501, allocations: 1.314 MB / 1.118 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.4507, allocations: 0.5414 MB / 1.119 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.4524, allocations: 1.159 MB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.4573, allocations: 3.642 MB / 1.123 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4573, allocations: 4 kB / 1.123 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4573, allocations: 0 / 1.123 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.482e-05/0.4574, allocations: 0 / 1.123 GB, free: 1.879 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004957/0.4623, allocations: 2.565 MB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4624, allocations: 11.97 kB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007819/0.4632, allocations: 230.5 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.4658, allocations: 1.726 MB / 1.128 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.4659, allocations: 114.7 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.4662, allocations: 156 kB / 1.128 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.4691, allocations: 1.99 MB / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.4691, allocations: 0 / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.4692, allocations: 60 kB / 1.13 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.4693, allocations: 43.92 kB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.4719, allocations: 1.79 MB / 1.132 GB, free: 9.02 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 preOpt removeSimpleEquations (simulation): time 0.0113/0.4832, allocations: 7.652 MB / 1.139 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.485, allocations: 1.455 MB / 1.141 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.4858, allocations: 0.6564 MB / 1.141 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006486/0.4923, allocations: 3.85 MB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.4924, allocations: 47.5 kB / 1.145 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 3.988e-06/0.4924, allocations: 0 / 1.145 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.002497/0.4949, allocations: 1.507 MB / 1.146 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4949, allocations: 64.41 kB / 1.147 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.4971, allocations: 1.653 MB / 1.148 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.4973, allocations: 49.7 kB / 1.148 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/0.498, allocations: 0.7576 MB / 1.149 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.4984, allocations: 311.5 kB / 1.149 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004848/0.4989, allocations: 291.4 kB / 1.15 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4991, allocations: 361.9 kB / 1.15 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.5002, allocations: 0.6917 MB / 1.151 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.5018, allocations: 1.02 MB / 1.152 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.5043, allocations: 1.62 MB / 1.153 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.5043, allocations: 15.88 kB / 1.153 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00394/0.5083, allocations: 1.951 MB / 1.155 GB, free: 96 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.5083, allocations: 11.94 kB / 1.155 GB, free: 84 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.5084, allocations: 16.83 kB / 1.155 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.885e-05/0.5084, allocations: 16 kB / 1.155 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.5098, allocations: 339.5 kB / 1.155 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-05/0.5099, allocations: 19.94 kB / 1.155 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.5116, allocations: 202.1 kB / 1.156 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.5117, allocations: 63.98 kB / 1.156 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002356/0.5141, allocations: 1.28 MB / 1.157 GB, free: 14.15 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/0.5153, allocations: 1.016 MB / 1.158 GB, free: 13.01 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001962/0.5173, allocations: 1.616 MB / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.5173, allocations: 4 kB / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002916/0.5202, allocations: 1.955 MB / 1.161 GB, free: 9.305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5202, allocations: 8 kB / 1.161 GB, free: 9.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5202, allocations: 16 kB / 1.161 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5203, allocations: 16 kB / 1.161 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.5214, allocations: 331.5 kB / 1.162 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.5214, allocations: 19.94 kB / 1.162 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.5226, allocations: 147.3 kB / 1.162 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5227, allocations: 67.98 kB / 1.162 GB, free: 8.711 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.523, allocations: 264.4 kB / 1.162 GB, free: 8.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.5233, allocations: 150.1 kB / 1.162 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.5254, allocations: 1.285 MB / 1.164 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5254, allocations: 8 kB / 1.164 GB, free: 6.992 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5254, allocations: 0 / 1.164 GB, free: 6.992 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/0.5269, allocations: 1.281 MB / 1.165 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.5312, allocations: 2.959 MB / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5312, allocations: 4 kB / 1.168 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/0.532, allocations: 187.7 kB / 1.168 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.532, allocations: 4 kB / 1.168 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.5321, allocations: 23.98 kB / 1.168 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.5321, allocations: 7.984 kB / 1.168 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5321, allocations: 7.938 kB / 1.168 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.5346, allocations: 1.913 MB / 1.17 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006987/0.5353, allocations: 402.8 kB / 1.17 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.5355, allocations: 20.11 kB / 1.17 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/0.5363, allocations: 47.89 kB / 1.17 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5364, allocations: 64.86 kB / 1.17 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.5364, allocations: 31.97 kB / 1.17 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001617/0.5381, allocations: 1.238 MB / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5381, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002499/0.5406, allocations: 0.9162 MB / 1.173 GB, free: 13.69 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009258/0.5415, allocations: 371.8 kB / 1.173 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004326/0.5459, allocations: 2.828 MB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5459, allocations: 0 / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.5465, allocations: 0.5248 MB / 1.176 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/0.5504, allocations: 0.9292 MB / 1.177 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.5558, allocations: 3.709 MB / 1.181 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.557, allocations: 1.678 MB / 1.182 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002611/0.5596, allocations: 0.9258 MB / 1.183 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.56, allocations: 135.4 kB / 1.183 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of SimCode: time 7.51e-07/0.56, allocations: 0 / 1.183 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of Templates: time 0.06393/0.6239, allocations: 35.74 MB / 1.218 GB, free: 15.2 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)