Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001085/0.001085, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001111/0.001111, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005656/0.0005656, allocations: 12 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6432, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02535/0.6686, allocations: 24.01 MB / 0.7514 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.6797, allocations: 6.799 MB / 0.7581 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.6811, allocations: 31.75 kB / 0.7581 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.6824, allocations: 386.1 kB / 0.7585 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.6855, allocations: 1.009 MB / 0.7594 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.6895, allocations: 1.028 MB / 0.7604 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.6945, allocations: 2.691 MB / 0.7631 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.6974, allocations: 1.615 MB / 0.7647 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.7003, allocations: 1.156 MB / 0.7658 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.7022, allocations: 0.9333 MB / 0.7667 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.7024, allocations: 76 kB / 0.7668 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.7053, allocations: 0.8427 MB / 0.7676 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.7058, allocations: 350.6 kB / 0.7679 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.7065, allocations: 424.7 kB / 0.7683 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.7102, allocations: 2.724 MB / 0.771 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.7102, allocations: 0 / 0.771 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7102, allocations: 0 / 0.771 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.959e-05/0.7103, allocations: 0 / 0.771 GB, free: 15.24 MB / 0.5919 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.006508/0.7168, allocations: 2.129 MB / 0.7731 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.7169, allocations: 11.97 kB / 0.7731 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.7181, allocations: 233.5 kB / 0.7733 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/0.7224, allocations: 1.597 MB / 0.7749 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.7226, allocations: 114.7 kB / 0.775 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.723, allocations: 148 kB / 0.7751 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/0.7278, allocations: 1.967 MB / 0.777 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.7278, allocations: 0 / 0.777 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.728, allocations: 60 kB / 0.7771 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/0.7281, allocations: 36 kB / 0.7771 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.7325, allocations: 1.79 MB / 0.7789 GB, free: 6.984 MB / 0.5919 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.01552/0.7481, allocations: 7.68 MB / 0.7864 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.7503, allocations: 1.457 MB / 0.7878 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007404/0.7577, allocations: 3.865 MB / 0.7916 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.7577, allocations: 43.56 kB / 0.7916 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.575e-06/0.7578, allocations: 0 / 0.7916 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.002432/0.7602, allocations: 1.51 MB / 0.7931 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7603, allocations: 60.41 kB / 0.7931 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.7625, allocations: 1.664 MB / 0.7948 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.7626, allocations: 49.7 kB / 0.7948 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/0.7633, allocations: 0.7418 MB / 0.7955 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.7636, allocations: 319.5 kB / 0.7958 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.7636, allocations: 28 kB / 0.7959 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7638, allocations: 361.9 kB / 0.7962 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.7648, allocations: 0.6792 MB / 0.7969 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.766, allocations: 1.012 MB / 0.7979 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.7672, allocations: 0.865 MB / 0.7987 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/0.7672, allocations: 4 kB / 0.7987 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002941/0.7702, allocations: 1.936 MB / 0.8006 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002141/0.7723, allocations: 3.522 MB / 0.804 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.7724, allocations: 12 kB / 0.8041 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.854e-05/0.7724, allocations: 16 kB / 0.8041 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.7738, allocations: 355.4 kB / 0.8044 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.933e-05/0.7738, allocations: 19.94 kB / 0.8044 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.7754, allocations: 229.9 kB / 0.8046 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7756, allocations: 59.98 kB / 0.8047 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.7756, allocations: 4 kB / 0.8047 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002669/0.7782, allocations: 1.78 MB / 0.8064 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.7783, allocations: 8 kB / 0.8065 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7783, allocations: 24.08 kB / 0.8065 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.7796, allocations: 347.5 kB / 0.8068 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.7796, allocations: 19.94 kB / 0.8068 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.781, allocations: 202.3 kB / 0.807 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7811, allocations: 56 kB / 0.8071 GB, free: 9 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.7823, allocations: 0.7425 MB / 0.8078 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.7826, allocations: 146.2 kB / 0.8079 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.7846, allocations: 1.28 MB / 0.8092 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.7846, allocations: 11.95 kB / 0.8092 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7847, allocations: 0 / 0.8092 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.7861, allocations: 1.284 MB / 0.8105 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.7905, allocations: 2.954 MB / 0.8133 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7906, allocations: 4 kB / 0.8133 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.7913, allocations: 179.8 kB / 0.8135 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.7914, allocations: 7.938 kB / 0.8135 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.7914, allocations: 23.98 kB / 0.8135 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.7914, allocations: 4 kB / 0.8135 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7914, allocations: 0 / 0.8135 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.794, allocations: 1.975 MB / 0.8155 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000871/0.7949, allocations: 438.8 kB / 0.8159 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.7951, allocations: 24 kB / 0.8159 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.7959, allocations: 75.81 kB / 0.816 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.796, allocations: 52.89 kB / 0.816 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.7961, allocations: 35.97 kB / 0.8161 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001737/0.7978, allocations: 1.245 MB / 0.8173 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7979, allocations: 0 / 0.8173 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002489/0.8003, allocations: 0.9123 MB / 0.8182 GB, free: 13.34 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007861/0.8011, allocations: 370.1 kB / 0.8185 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.8047, allocations: 2.308 MB / 0.8208 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.8047, allocations: 2 kB / 0.8208 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.8054, allocations: 0.517 MB / 0.8213 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/0.8091, allocations: 0.8507 MB / 0.8221 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.8159, allocations: 4.317 MB / 0.8263 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.8171, allocations: 1.7 MB / 0.828 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002916/0.8201, allocations: 0.9223 MB / 0.8289 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.8204, allocations: 135.4 kB / 0.829 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of SimCode: time 6.22e-07/0.8204, allocations: 0 / 0.829 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of Templates: time 0.05872/0.8792, allocations: 33.34 MB / 0.8616 GB, free: 1.297 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: