Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 285.4 MB / 298 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 172.8 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008325/0.0008323, allocations: 86.19 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.275e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.822, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.976, allocations: 409.1 MB / 1.37 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.977, allocations: 95.84 kB / 1.371 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.57/3.546, allocations: 411.9 MB / 1.773 GB, free: 227.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/3.547, allocations: 0 / 1.773 GB, free: 227.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003044/3.547, allocations: 51.73 kB / 1.773 GB, free: 227.3 MB / 0.948 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.006298/3.553, allocations: 1.918 MB / 1.775 GB, free: 226 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/3.553, allocations: 8.719 kB / 1.775 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/3.555, allocations: 220 kB / 1.775 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005549/3.56, allocations: 2.078 MB / 1.777 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/3.56, allocations: 113.7 kB / 1.777 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000633/3.561, allocations: 153.9 kB / 1.777 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004343/3.565, allocations: 1.869 MB / 1.779 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/3.566, allocations: 1.375 kB / 1.779 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/3.566, allocations: 60 kB / 1.779 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/3.566, allocations: 36 kB / 1.779 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/3.569, allocations: 1.662 MB / 1.781 GB, free: 221.2 MB / 0.948 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.01159/3.58, allocations: 7.539 MB / 1.788 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/3.582, allocations: 1.315 MB / 1.789 GB, free: 212.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/3.583, allocations: 0.629 MB / 1.79 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006487/3.589, allocations: 3.834 MB / 1.794 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/3.589, allocations: 47.28 kB / 1.794 GB, free: 207.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 2.816e-06/3.589, allocations: 0 / 1.794 GB, free: 207.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.001888/3.591, allocations: 1.041 MB / 1.795 GB, free: 206.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/3.591, allocations: 68.12 kB / 1.795 GB, free: 206.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/3.594, allocations: 1.491 MB / 1.796 GB, free: 204.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/3.594, allocations: 49.7 kB / 1.796 GB, free: 204.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/3.595, allocations: 0.7664 MB / 1.797 GB, free: 203.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/3.595, allocations: 306.9 kB / 1.797 GB, free: 203.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/3.595, allocations: 32 kB / 1.797 GB, free: 203.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/3.595, allocations: 361.9 kB / 1.798 GB, free: 203.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/3.596, allocations: 0.6676 MB / 1.798 GB, free: 202.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/3.597, allocations: 1.003 MB / 1.799 GB, free: 201.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/3.598, allocations: 0.8596 MB / 1.8 GB, free: 200.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/3.598, allocations: 4 kB / 1.8 GB, free: 200.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002951/3.601, allocations: 1.916 MB / 1.802 GB, free: 198.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008723/3.602, allocations: 3.518 MB / 1.806 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/3.602, allocations: 8 kB / 1.806 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/3.602, allocations: 16 kB / 1.806 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/3.604, allocations: 354.3 kB / 1.806 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-05/3.604, allocations: 19.94 kB / 1.806 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/3.605, allocations: 218.1 kB / 1.806 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/3.606, allocations: 59.98 kB / 1.806 GB, free: 194.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/3.606, allocations: 4 kB / 1.806 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002343/3.608, allocations: 1.759 MB / 1.808 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/3.608, allocations: 12 kB / 1.808 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/3.608, allocations: 24.73 kB / 1.808 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/3.609, allocations: 351.5 kB / 1.808 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/3.609, allocations: 19.94 kB / 1.808 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/3.611, allocations: 198.4 kB / 1.808 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/3.611, allocations: 67.92 kB / 1.809 GB, free: 191.7 MB / 0.948 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.0003312/3.611, allocations: 176.6 kB / 1.809 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/3.612, allocations: 150.1 kB / 1.809 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/3.614, allocations: 1.191 MB / 1.81 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/3.614, allocations: 11.95 kB / 1.81 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/3.614, allocations: 0 / 1.81 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/3.615, allocations: 1.24 MB / 1.811 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005095/3.62, allocations: 2.86 MB / 1.814 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/3.62, allocations: 3.953 kB / 1.814 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/3.621, allocations: 179.8 kB / 1.814 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/3.621, allocations: 7.938 kB / 1.814 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/3.621, allocations: 27.98 kB / 1.814 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/3.621, allocations: 4 kB / 1.814 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/3.621, allocations: 6.609 kB / 1.814 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/3.625, allocations: 1.894 MB / 1.816 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/3.626, allocations: 418.9 kB / 1.817 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006341/3.627, allocations: 16 kB / 1.817 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/3.628, allocations: 75.77 kB / 1.817 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/3.628, allocations: 52.67 kB / 1.817 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.523e-05/3.628, allocations: 39.97 kB / 1.817 GB, free: 183.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002415/3.631, allocations: 1.232 MB / 1.818 GB, free: 181.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/3.631, allocations: 0 / 1.818 GB, free: 181.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004142/3.635, allocations: 0.9552 MB / 1.819 GB, free: 180.9 MB / 0.948 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.001276/3.636, allocations: 0.4973 MB / 1.819 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003684/3.64, allocations: 2.324 MB / 1.822 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/3.64, allocations: 0 / 1.822 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000654/3.641, allocations: 0.4963 MB / 1.822 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/3.645, allocations: 0.8463 MB / 1.823 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/3.651, allocations: 3.053 MB / 1.826 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/3.653, allocations: 1.698 MB / 1.828 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004566/3.657, allocations: 1.267 MB / 1.829 GB, free: 170.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/3.658, allocations: 111.4 kB / 1.829 GB, free: 170.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.783e-06/3.658, allocations: 0 / 1.829 GB, free: 170.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05785/3.716, allocations: 36.99 MB / 1.865 GB, free: 133.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)