Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001269/0.001269, allocations: 105.9 kB / 16.94 MB, free: 5.77 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.00129/0.00129, allocations: 191.3 kB / 17.87 MB, free: 5.156 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.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7335/0.7335, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 59.91 kB / 0.4917 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4109, allocations: 77.92 MB / 0.5678 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02655/0.4375, allocations: 28.54 MB / 0.5957 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.4484, allocations: 7.908 MB / 0.6034 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.4503, allocations: 34.31 kB / 0.6035 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.4517, allocations: 413.5 kB / 0.6039 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.4546, allocations: 1.005 MB / 0.6048 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.4575, allocations: 1.069 MB / 0.6059 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.4624, allocations: 4.922 MB / 0.6107 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.4652, allocations: 2.279 MB / 0.6129 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.4692, allocations: 1.792 MB / 0.6147 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.4715, allocations: 1.447 MB / 0.6161 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.472, allocations: 228 kB / 0.6163 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4748, allocations: 1.307 MB / 0.6176 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.4755, allocations: 0.5647 MB / 0.6181 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.4771, allocations: 1.151 MB / 0.6192 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.4816, allocations: 3.65 MB / 0.6228 GB, free: 2.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4817, allocations: 4 kB / 0.6228 GB, free: 2.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4817, allocations: 3.938 kB / 0.6228 GB, free: 2.406 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.4818, allocations: 0 / 0.6228 GB, free: 2.406 MB / 462.1 MB 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.004863/0.4866, allocations: 2.565 MB / 0.6253 GB, free: 15.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4867, allocations: 8.625 kB / 0.6253 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.4875, allocations: 238.5 kB / 0.6256 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.4902, allocations: 1.717 MB / 0.6272 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-05/0.4903, allocations: 118.7 kB / 0.6273 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.4905, allocations: 148 kB / 0.6275 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.4935, allocations: 1.994 MB / 0.6294 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.4936, allocations: 7.891 kB / 0.6294 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.4937, allocations: 60 kB / 0.6295 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.4938, allocations: 44 kB / 0.6295 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.4963, allocations: 1.802 MB / 0.6313 GB, free: 9.535 MB / 478.1 MB 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.01083/0.5072, allocations: 7.652 MB / 0.6388 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.509, allocations: 1.444 MB / 0.6402 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008323/0.5098, allocations: 0.6639 MB / 0.6408 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006371/0.5162, allocations: 3.855 MB / 0.6446 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5163, allocations: 47.55 kB / 0.6446 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.885e-06/0.5163, allocations: 0 / 0.6446 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.00241/0.5187, allocations: 1.517 MB / 0.6461 GB, free: 9.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.5188, allocations: 60.41 kB / 0.6462 GB, free: 9.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.5209, allocations: 1.641 MB / 0.6478 GB, free: 7.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.906e-05/0.521, allocations: 53.7 kB / 0.6478 GB, free: 7.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006167/0.5216, allocations: 0.7498 MB / 0.6486 GB, free: 7.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.5219, allocations: 319.4 kB / 0.6489 GB, free: 6.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.5223, allocations: 299.3 kB / 0.6492 GB, free: 6.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5224, allocations: 361.9 kB / 0.6495 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5235, allocations: 0.6956 MB / 0.6502 GB, free: 5.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.5247, allocations: 1.016 MB / 0.6512 GB, free: 4.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.5266, allocations: 1.628 MB / 0.6528 GB, free: 2.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.5267, allocations: 7.938 kB / 0.6528 GB, free: 2.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003109/0.5298, allocations: 1.944 MB / 0.6547 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5298, allocations: 12 kB / 0.6547 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5298, allocations: 8 kB / 0.6547 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.5299, allocations: 16 kB / 0.6547 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5311, allocations: 335.5 kB / 0.655 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.5311, allocations: 23.92 kB / 0.655 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.5324, allocations: 190.1 kB / 0.6552 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.5326, allocations: 68.03 kB / 0.6553 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001843/0.5344, allocations: 1.288 MB / 0.6565 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001214/0.5357, allocations: 1.016 MB / 0.6575 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00197/0.5376, allocations: 1.62 MB / 0.6591 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.384e-06/0.5376, allocations: 8 kB / 0.6591 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003153/0.5408, allocations: 1.947 MB / 0.661 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5408, allocations: 12 kB / 0.661 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5409, allocations: 8.875 kB / 0.6611 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5409, allocations: 16 kB / 0.6611 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.542, allocations: 343.4 kB / 0.6614 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.5421, allocations: 19.94 kB / 0.6614 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5434, allocations: 146.9 kB / 0.6616 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.5435, allocations: 59.98 kB / 0.6616 GB, free: 9.242 MB / 0.4981 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.0003468/0.5438, allocations: 267.8 kB / 0.6619 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.5442, allocations: 146.2 kB / 0.662 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.5462, allocations: 1.277 MB / 0.6633 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.5462, allocations: 11.98 kB / 0.6633 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5462, allocations: 0 / 0.6633 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/0.5477, allocations: 1.288 MB / 0.6645 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.5521, allocations: 2.959 MB / 0.6674 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5522, allocations: 0 / 0.6674 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.553, allocations: 183.8 kB / 0.6676 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.553, allocations: 4 kB / 0.6676 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.5531, allocations: 31.92 kB / 0.6676 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.5531, allocations: 4.125 kB / 0.6676 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5531, allocations: 11.88 kB / 0.6676 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.5557, allocations: 1.905 MB / 0.6695 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/0.5565, allocations: 410.7 kB / 0.6699 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.5568, allocations: 24 kB / 0.6699 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.5575, allocations: 43.94 kB / 0.67 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5577, allocations: 57 kB / 0.67 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.5577, allocations: 43.97 kB / 0.6701 GB, free: 372 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001671/0.5594, allocations: 1.234 MB / 0.6713 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5594, allocations: 0 / 0.6713 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002352/0.5618, allocations: 0.9163 MB / 0.6722 GB, free: 14.21 MB / 0.5137 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.0008336/0.5626, allocations: 373.3 kB / 0.6725 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004426/0.5671, allocations: 2.829 MB / 0.6753 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5671, allocations: 0 / 0.6753 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.5678, allocations: 0.5176 MB / 0.6758 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/0.5728, allocations: 0.9201 MB / 0.6767 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/0.5789, allocations: 3.676 MB / 0.6803 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.58, allocations: 1.637 MB / 0.6819 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.5806, allocations: 143.4 kB / 0.682 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.5806, allocations: 3.938 kB / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of Templates: time 0.04891/0.6295, allocations: 32.61 MB / 0.7139 GB, free: 3.66 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)