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.0008821/0.000882, 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.006567/0.006567, allocations: 170.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.611/1.611, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0007909/0.0007908, allocations: 19.98 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6138, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03329/0.6472, allocations: 27.75 MB / 0.7558 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.6613, allocations: 7.794 MB / 0.7634 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.6632, allocations: 31.75 kB / 0.7635 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.6649, allocations: 318.2 kB / 0.7638 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.6688, allocations: 0.9323 MB / 0.7647 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.6724, allocations: 0.9189 MB / 0.7656 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008921/0.6813, allocations: 6.036 MB / 0.7715 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003988/0.6854, allocations: 1.784 MB / 0.7732 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.6892, allocations: 1.315 MB / 0.7745 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.6926, allocations: 1.303 MB / 0.7758 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007271/0.6934, allocations: 76 kB / 0.7758 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.6971, allocations: 1.131 MB / 0.7769 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000949/0.698, allocations: 374.3 kB / 0.7773 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.701, allocations: 0.9656 MB / 0.7782 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006867/0.7079, allocations: 3.431 MB / 0.7816 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7079, allocations: 4 kB / 0.7816 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7079, allocations: 0 / 0.7816 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001422/0.7081, allocations: 4 kB / 0.7816 GB, free: 5.055 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.006672/0.7148, allocations: 2.113 MB / 0.7837 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7148, allocations: 11.97 kB / 0.7837 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.7162, allocations: 234.5 kB / 0.7839 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.7206, allocations: 1.726 MB / 0.7856 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.7208, allocations: 122.7 kB / 0.7857 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005783/0.7214, allocations: 148 kB / 0.7858 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00482/0.7262, allocations: 1.978 MB / 0.7878 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.342e-05/0.7263, allocations: 7.906 kB / 0.7878 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.7265, allocations: 56 kB / 0.7878 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.7265, allocations: 43.92 kB / 0.7879 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003612/0.7302, allocations: 1.798 MB / 0.7896 GB, free: 12.64 MB / 0.6075 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.01415/0.7443, allocations: 7.59 MB / 0.797 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.7464, allocations: 1.453 MB / 0.7985 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009725/0.7474, allocations: 0.6642 MB / 0.7991 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007086/0.7545, allocations: 3.835 MB / 0.8029 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.7546, allocations: 39.56 kB / 0.8029 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=88): time 2.716e-06/0.7546, allocations: 0 / 0.8029 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88): time 0.002832/0.7574, allocations: 1.514 MB / 0.8044 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.7575, allocations: 64.39 kB / 0.8044 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.7605, allocations: 1.582 MB / 0.806 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.7607, allocations: 53.7 kB / 0.806 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000832/0.7615, allocations: 0.7496 MB / 0.8068 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.7619, allocations: 311.6 kB / 0.8071 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.7621, allocations: 129.6 kB / 0.8072 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.7623, allocations: 357.9 kB / 0.8075 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7635, allocations: 0.687 MB / 0.8082 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.765, allocations: 1.02 MB / 0.8092 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.7674, allocations: 1.628 MB / 0.8108 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.7674, allocations: 7.938 kB / 0.8108 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00367/0.7711, allocations: 1.944 MB / 0.8127 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003057/0.7714, allocations: 361 kB / 0.813 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.7715, allocations: 12 kB / 0.813 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.019e-05/0.7715, allocations: 16 kB / 0.8131 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.7728, allocations: 335.5 kB / 0.8134 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.911e-05/0.7728, allocations: 27.86 kB / 0.8134 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7745, allocations: 218 kB / 0.8136 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.7747, allocations: 63.94 kB / 0.8137 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7748, allocations: 11.92 kB / 0.8137 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003181/0.7779, allocations: 1.792 MB / 0.8154 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.778, allocations: 8 kB / 0.8154 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.778, allocations: 16 kB / 0.8155 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7792, allocations: 331.5 kB / 0.8158 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-05/0.7793, allocations: 23.92 kB / 0.8158 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.7809, allocations: 190.6 kB / 0.816 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.781, allocations: 59.98 kB / 0.816 GB, free: 0.4961 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001385/0.7824, allocations: 0.7424 MB / 0.8168 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/0.783, allocations: 150.2 kB / 0.8169 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.7854, allocations: 1.291 MB / 0.8182 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.7854, allocations: 8 kB / 0.8182 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7854, allocations: 0 / 0.8182 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001597/0.787, allocations: 1.284 MB / 0.8194 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/0.7925, allocations: 2.923 MB / 0.8223 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.7925, allocations: 0 / 0.8223 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.7933, allocations: 183.7 kB / 0.8225 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.7933, allocations: 4 kB / 0.8225 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.7934, allocations: 27.98 kB / 0.8225 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.7934, allocations: 4 kB / 0.8225 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7934, allocations: 4.125 kB / 0.8225 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.7964, allocations: 1.917 MB / 0.8244 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.7974, allocations: 418.8 kB / 0.8248 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/0.7979, allocations: 20 kB / 0.8248 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.799, allocations: 84.58 kB / 0.8249 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7991, allocations: 60.84 kB / 0.8249 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.7992, allocations: 39.97 kB / 0.825 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002544/0.8018, allocations: 1.186 MB / 0.8261 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8018, allocations: 0 / 0.8261 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003618/0.8054, allocations: 0.9045 MB / 0.827 GB, free: 5.023 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 (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.001049/0.8065, allocations: 357.1 kB / 0.8273 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004455/0.811, allocations: 2.325 MB / 0.8296 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.811, allocations: 4 kB / 0.8296 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.8119, allocations: 0.517 MB / 0.8301 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/0.8174, allocations: 0.8633 MB / 0.831 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.825, allocations: 4.382 MB / 0.8352 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.827, allocations: 1.661 MB / 0.8369 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003371/0.8303, allocations: 0.9191 MB / 0.8378 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007344/0.8311, allocations: 131.4 kB / 0.8379 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of SimCode: time 1.333e-06/0.8311, allocations: 0 / 0.8379 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of Templates: time 0.06173/0.8929, allocations: 33.71 MB / 0.8708 GB, free: 8.547 MB / 0.6856 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: