Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 284.8 MB / 297.3 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 188.7 kB / 365.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 99 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.131e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7935, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/2.053, allocations: 409 MB / 1.369 GB, free: 152 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/2.053, allocations: 100 kB / 1.369 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.036/4.089, allocations: 411.9 MB / 1.772 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.154e-06/4.089, allocations: 4 kB / 1.772 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002864/4.09, allocations: 50.83 kB / 1.772 GB, free: 199.8 MB / 0.9323 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.007567/4.097, allocations: 1.905 MB / 1.774 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/4.097, allocations: 12.03 kB / 1.774 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/4.099, allocations: 221.5 kB / 1.774 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007177/4.106, allocations: 2.081 MB / 1.776 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/4.106, allocations: 114.7 kB / 1.776 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/4.107, allocations: 148 kB / 1.776 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/4.112, allocations: 1.858 MB / 1.778 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.589e-05/4.112, allocations: 11.84 kB / 1.778 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/4.112, allocations: 59.98 kB / 1.778 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/4.112, allocations: 43.95 kB / 1.778 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/4.117, allocations: 1.662 MB / 1.78 GB, free: 191.6 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.0186/4.136, allocations: 7.524 MB / 1.787 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/4.139, allocations: 1.323 MB / 1.788 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/4.14, allocations: 0.6212 MB / 1.789 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/4.15, allocations: 3.835 MB / 1.793 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/4.15, allocations: 39.34 kB / 1.793 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 4.379e-06/4.15, allocations: 0 / 1.793 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.002872/4.153, allocations: 1.053 MB / 1.794 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/4.153, allocations: 68.08 kB / 1.794 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/4.156, allocations: 1.495 MB / 1.795 GB, free: 175 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003561/4.157, allocations: 53.7 kB / 1.795 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/4.158, allocations: 0.765 MB / 1.796 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/4.158, allocations: 307.6 kB / 1.796 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/4.158, allocations: 28 kB / 1.796 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001307/4.158, allocations: 361.9 kB / 1.797 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/4.16, allocations: 0.6598 MB / 1.797 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/4.162, allocations: 1.01 MB / 1.798 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/4.164, allocations: 0.8597 MB / 1.799 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/4.164, allocations: 0 / 1.799 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005063/4.169, allocations: 1.908 MB / 1.801 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007962/4.17, allocations: 3.52 MB / 1.804 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/4.17, allocations: 12 kB / 1.804 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.137e-05/4.17, allocations: 16 kB / 1.804 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/4.173, allocations: 355.4 kB / 1.805 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.835e-05/4.173, allocations: 23.92 kB / 1.805 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/4.176, allocations: 229.9 kB / 1.805 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/4.177, allocations: 63.98 kB / 1.805 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/4.177, allocations: 4 kB / 1.805 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005005/4.182, allocations: 1.756 MB / 1.807 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/4.182, allocations: 8.188 kB / 1.807 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/4.182, allocations: 20 kB / 1.807 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/4.185, allocations: 343.5 kB / 1.807 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.766e-05/4.185, allocations: 23.92 kB / 1.807 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/4.187, allocations: 194.5 kB / 1.807 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005088/4.188, allocations: 59.98 kB / 1.807 GB, free: 162 MB / 0.9323 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0004547/4.188, allocations: 180.5 kB / 1.808 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/4.189, allocations: 154.1 kB / 1.808 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/4.192, allocations: 1.202 MB / 1.809 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/4.192, allocations: 8 kB / 1.809 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/4.192, allocations: 0 / 1.809 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/4.194, allocations: 1.236 MB / 1.81 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/4.201, allocations: 2.866 MB / 1.813 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/4.201, allocations: 0 / 1.813 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/4.203, allocations: 179.8 kB / 1.813 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/4.203, allocations: 4 kB / 1.813 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/4.203, allocations: 31.86 kB / 1.813 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/4.203, allocations: 4 kB / 1.813 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/4.203, allocations: 0 / 1.813 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/4.206, allocations: 1.883 MB / 1.815 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/4.208, allocations: 426.8 kB / 1.815 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/4.208, allocations: 31.94 kB / 1.815 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/4.21, allocations: 67.78 kB / 1.816 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/4.21, allocations: 56.66 kB / 1.816 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/4.21, allocations: 35.98 kB / 1.816 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002606/4.213, allocations: 1.232 MB / 1.817 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.11e-07/4.213, allocations: 0 / 1.817 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003936/4.217, allocations: 0.9552 MB / 1.818 GB, free: 151.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * 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.001318/4.218, allocations: 0.4894 MB / 1.818 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005128/4.223, allocations: 2.312 MB / 1.82 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/4.223, allocations: 1.875 kB / 1.82 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/4.224, allocations: 0.504 MB / 1.821 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006884/4.231, allocations: 0.8436 MB / 1.822 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/4.238, allocations: 3.053 MB / 1.825 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/4.24, allocations: 1.69 MB / 1.826 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005991/4.246, allocations: 1.275 MB / 1.828 GB, free: 141 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/4.247, allocations: 115.4 kB / 1.828 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.062e-06/4.247, allocations: 0 / 1.828 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.08532/4.332, allocations: 36.98 MB / 1.864 GB, free: 104 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)