Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008669/0.000867, 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.0008718/0.0008718, allocations: 177.3 kB / 15.95 MB, free: 216 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.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005197/0.0005197, allocations: 18.66 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02273/0.2621, allocations: 24.01 MB / 0.8106 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009829/0.2719, allocations: 6.792 MB / 0.8172 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.2732, allocations: 31.75 kB / 0.8172 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.2744, allocations: 393.9 kB / 0.8176 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.2775, allocations: 1.001 MB / 0.8186 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.2806, allocations: 1.087 MB / 0.8196 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.2843, allocations: 2.694 MB / 0.8223 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.2866, allocations: 1.617 MB / 0.8239 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.2888, allocations: 1.16 MB / 0.825 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.2899, allocations: 0.9373 MB / 0.8259 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.2901, allocations: 79.94 kB / 0.826 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.2924, allocations: 0.8466 MB / 0.8268 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.2927, allocations: 346.6 kB / 0.8271 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.2933, allocations: 420.8 kB / 0.8275 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.2963, allocations: 2.759 MB / 0.8302 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2963, allocations: 0 / 0.8302 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2963, allocations: 4 kB / 0.8302 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.2963, allocations: 0 / 0.8302 GB, free: 15.68 MB / 0.6544 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.004542/0.3009, allocations: 2.121 MB / 0.8323 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3009, allocations: 12.03 kB / 0.8323 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/0.3017, allocations: 241.5 kB / 0.8325 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.3048, allocations: 1.601 MB / 0.8341 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.07e-05/0.3049, allocations: 110.7 kB / 0.8342 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.3052, allocations: 163.9 kB / 0.8344 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.3082, allocations: 1.974 MB / 0.8363 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3083, allocations: 0 / 0.8363 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.3084, allocations: 60 kB / 0.8364 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.3085, allocations: 40 kB / 0.8364 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.311, allocations: 1.782 MB / 0.8381 GB, free: 7.406 MB / 0.6544 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.01072/0.3217, allocations: 7.699 MB / 0.8457 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.3236, allocations: 1.463 MB / 0.8471 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006074/0.3297, allocations: 3.87 MB / 0.8509 GB, free: 9.723 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3298, allocations: 51.5 kB / 0.8509 GB, free: 9.664 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 3.156e-06/0.3298, allocations: 0 / 0.8509 GB, free: 9.664 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.002187/0.332, allocations: 1.502 MB / 0.8524 GB, free: 8.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.332, allocations: 60.41 kB / 0.8524 GB, free: 8.086 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.334, allocations: 1.663 MB / 0.8541 GB, free: 6.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.3341, allocations: 53.7 kB / 0.8541 GB, free: 6.352 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.3347, allocations: 0.7496 MB / 0.8548 GB, free: 5.594 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.3349, allocations: 311.5 kB / 0.8551 GB, free: 5.285 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.335, allocations: 28 kB / 0.8552 GB, free: 5.258 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3351, allocations: 365.9 kB / 0.8555 GB, free: 4.895 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/0.3361, allocations: 0.6792 MB / 0.8562 GB, free: 4.215 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.3372, allocations: 1.012 MB / 0.8572 GB, free: 3.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3383, allocations: 0.8728 MB / 0.858 GB, free: 2.199 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3384, allocations: 0 / 0.858 GB, free: 2.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002725/0.3411, allocations: 1.94 MB / 0.8599 GB, free: 256 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.3423, allocations: 3.518 MB / 0.8634 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3423, allocations: 15.94 kB / 0.8634 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.3424, allocations: 16 kB / 0.8634 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.3436, allocations: 347.5 kB / 0.8637 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.3437, allocations: 19.94 kB / 0.8637 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.3449, allocations: 229.9 kB / 0.864 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.345, allocations: 59.98 kB / 0.864 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.345, allocations: 6.969 kB / 0.864 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/0.3474, allocations: 1.783 MB / 0.8658 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3474, allocations: 8 kB / 0.8658 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3475, allocations: 16 kB / 0.8658 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3486, allocations: 348.1 kB / 0.8661 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.3487, allocations: 23.89 kB / 0.8661 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.3497, allocations: 190.5 kB / 0.8663 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.3498, allocations: 59.98 kB / 0.8664 GB, free: 9.395 MB / 0.6856 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.001024/0.3509, allocations: 0.7541 MB / 0.8671 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.3512, allocations: 146.1 kB / 0.8673 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.353, allocations: 1.286 MB / 0.8685 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.353, allocations: 15.98 kB / 0.8685 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.353, allocations: 3.953 kB / 0.8685 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.3544, allocations: 1.284 MB / 0.8698 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.3584, allocations: 2.951 MB / 0.8727 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3584, allocations: 8.125 kB / 0.8727 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.3592, allocations: 183.7 kB / 0.8728 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.3592, allocations: 4 kB / 0.8728 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.3593, allocations: 23.98 kB / 0.8729 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3593, allocations: 4 kB / 0.8729 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3593, allocations: 4 kB / 0.8729 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.3618, allocations: 1.963 MB / 0.8748 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.3627, allocations: 446.7 kB / 0.8752 GB, free: 60 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.3629, allocations: 20.19 kB / 0.8752 GB, free: 40 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.3637, allocations: 79.84 kB / 0.8753 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3638, allocations: 64.88 kB / 0.8754 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/0.3639, allocations: 31.98 kB / 0.8754 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001717/0.3656, allocations: 1.256 MB / 0.8766 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3656, allocations: 0 / 0.8766 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002481/0.3681, allocations: 0.9085 MB / 0.8775 GB, free: 13.7 MB / 0.7012 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.0007508/0.3688, allocations: 355.4 kB / 0.8779 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003201/0.3721, allocations: 2.309 MB / 0.8801 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3721, allocations: 0 / 0.8801 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.3727, allocations: 0.5209 MB / 0.8806 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.3761, allocations: 0.8524 MB / 0.8815 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.3813, allocations: 4.325 MB / 0.8857 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.3825, allocations: 1.696 MB / 0.8873 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002348/0.3848, allocations: 0.9233 MB / 0.8882 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.3851, allocations: 131.3 kB / 0.8884 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of SimCode: time 8.02e-07/0.3852, allocations: 0 / 0.8884 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of Templates: time 0.04852/0.4337, allocations: 33.55 MB / 0.9211 GB, free: 1.406 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: