Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001027/0.001027, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.008479/0.008479, allocations: 180.5 kB / 16.26 MB, free: 6.605 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 9.188 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3862, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02907/0.4153, allocations: 27.75 MB / 1.101 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.4275, allocations: 7.887 MB / 1.109 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.4291, allocations: 35.75 kB / 1.109 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.4302, allocations: 322.1 kB / 1.109 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.4332, allocations: 0.937 MB / 1.11 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.436, allocations: 0.9407 MB / 1.111 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.4427, allocations: 6.084 MB / 1.117 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.4453, allocations: 1.783 MB / 1.119 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.4481, allocations: 1.326 MB / 1.12 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.4499, allocations: 1.295 MB / 1.121 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.45, allocations: 84 kB / 1.121 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.4526, allocations: 1.135 MB / 1.123 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.4531, allocations: 370.3 kB / 1.123 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.4545, allocations: 0.9811 MB / 1.124 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.4589, allocations: 3.462 MB / 1.127 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.459, allocations: 0 / 1.127 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.985e-06/0.459, allocations: 0 / 1.127 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.476e-05/0.459, allocations: 4 kB / 1.127 GB, free: 0.9414 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.004448/0.4635, allocations: 2.14 MB / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4635, allocations: 8.031 kB / 1.129 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007713/0.4643, allocations: 242.5 kB / 1.13 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.4673, allocations: 1.772 MB / 1.131 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.4674, allocations: 118.7 kB / 1.131 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.4677, allocations: 151.9 kB / 1.132 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.4708, allocations: 1.998 MB / 1.134 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.4709, allocations: 7.938 kB / 1.134 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.471, allocations: 60 kB / 1.134 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.4711, allocations: 36 kB / 1.134 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.4739, allocations: 1.806 MB / 1.135 GB, free: 8.434 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.01118/0.4851, allocations: 7.617 MB / 1.143 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.4869, allocations: 1.452 MB / 1.144 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.4878, allocations: 0.6603 MB / 1.145 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006283/0.4941, allocations: 3.843 MB / 1.149 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4942, allocations: 47.56 kB / 1.149 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/0.4942, allocations: 0 / 1.149 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.002441/0.4966, allocations: 1.51 MB / 1.15 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.4967, allocations: 64.39 kB / 1.15 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.4988, allocations: 1.606 MB / 1.152 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/0.499, allocations: 45.7 kB / 1.152 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.4996, allocations: 0.7459 MB / 1.153 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.4999, allocations: 323.4 kB / 1.153 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.5001, allocations: 129.6 kB / 1.153 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5002, allocations: 369.9 kB / 1.153 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.5012, allocations: 0.6869 MB / 1.154 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.5025, allocations: 1.02 MB / 1.155 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.5046, allocations: 1.62 MB / 1.157 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.5046, allocations: 3.938 kB / 1.157 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003083/0.5077, allocations: 1.952 MB / 1.158 GB, free: 15.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.508, allocations: 352.8 kB / 1.159 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.508, allocations: 8 kB / 1.159 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.508, allocations: 16 kB / 1.159 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5092, allocations: 335.5 kB / 1.159 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.5093, allocations: 27.92 kB / 1.159 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.5107, allocations: 218 kB / 1.159 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5108, allocations: 63.98 kB / 1.159 GB, free: 14.65 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5108, allocations: 13.5 kB / 1.159 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002646/0.5135, allocations: 1.783 MB / 1.161 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5135, allocations: 8.938 kB / 1.161 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5135, allocations: 23.92 kB / 1.161 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5147, allocations: 331.5 kB / 1.162 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.5147, allocations: 27.92 kB / 1.162 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.516, allocations: 182.5 kB / 1.162 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.5161, allocations: 63.92 kB / 1.162 GB, free: 12.23 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.001287/0.5174, allocations: 0.7542 MB / 1.163 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/0.5178, allocations: 158 kB / 1.163 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.5199, allocations: 1.281 MB / 1.164 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.52, allocations: 8 kB / 1.164 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.52, allocations: 4 kB / 1.164 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001499/0.5215, allocations: 1.288 MB / 1.165 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.5257, allocations: 2.943 MB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.5257, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.5265, allocations: 183.8 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.5265, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.5266, allocations: 23.98 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.5266, allocations: 4.062 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5266, allocations: 8 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.5292, allocations: 1.917 MB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007643/0.53, allocations: 426.8 kB / 1.171 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.5302, allocations: 20 kB / 1.171 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.531, allocations: 75.83 kB / 1.171 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5311, allocations: 56.86 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.5312, allocations: 31.98 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001727/0.5329, allocations: 1.21 MB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5329, allocations: 3.938 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002589/0.5355, allocations: 0.9162 MB / 1.173 GB, free: 0.6875 MB / 0.92 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.000906/0.5364, allocations: 358.1 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004046/0.5405, allocations: 2.317 MB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5405, allocations: 0 / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.5413, allocations: 0.5211 MB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/0.5457, allocations: 0.8716 MB / 1.177 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.5525, allocations: 4.406 MB / 1.181 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.5538, allocations: 1.682 MB / 1.183 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002819/0.5567, allocations: 0.9318 MB / 1.184 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.5571, allocations: 127.4 kB / 1.184 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of SimCode: time 1.392e-06/0.5571, allocations: 0 / 1.184 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of Templates: time 0.05902/0.6161, allocations: 33.94 MB / 1.217 GB, free: 3.844 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)