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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.521/1.521, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.0009314/0.0009314, allocations: 176.8 kB / 366.7 MB, free: 1.641 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.54/1.54, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009308/0.0009305, allocations: 91.89 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.778e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6349/0.6349, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.958/1.593, allocations: 409.4 MB / 1.373 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.593, allocations: 94.62 kB / 1.373 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/2.911, allocations: 409.7 MB / 1.773 GB, free: 224.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.126e-06/2.911, allocations: 0 / 1.773 GB, free: 224.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002558/2.911, allocations: 55.67 kB / 1.773 GB, free: 224.1 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.005179/2.916, allocations: 1.916 MB / 1.775 GB, free: 222.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/2.916, allocations: 7.625 kB / 1.775 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/2.918, allocations: 226.1 kB / 1.775 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/2.922, allocations: 2.073 MB / 1.777 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/2.922, allocations: 45.19 kB / 1.778 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/2.923, allocations: 86.47 kB / 1.778 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002953/2.926, allocations: 1.58 MB / 1.779 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/2.929, allocations: 1.65 MB / 1.781 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/2.929, allocations: 7.938 kB / 1.781 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/2.93, allocations: 4 kB / 1.781 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/2.93, allocations: 39.98 kB / 1.781 GB, free: 218.1 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.01139/2.941, allocations: 7.23 MB / 1.788 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/2.942, allocations: 1.265 MB / 1.789 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/2.943, allocations: 0.5986 MB / 1.79 GB, free: 208.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005604/2.949, allocations: 3.752 MB / 1.793 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/2.949, allocations: 47.34 kB / 1.793 GB, free: 204.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 2.695e-06/2.949, allocations: 0 / 1.793 GB, free: 204.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.002128/2.951, allocations: 1.108 MB / 1.794 GB, free: 203.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/2.951, allocations: 60.19 kB / 1.795 GB, free: 203.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/2.952, allocations: 1.226 MB / 1.796 GB, free: 202.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/2.952, allocations: 25.7 kB / 1.796 GB, free: 202.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/2.953, allocations: 0.7677 MB / 1.797 GB, free: 201.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/2.953, allocations: 295.7 kB / 1.797 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/2.953, allocations: 0 / 1.797 GB, free: 201.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/2.953, allocations: 361.9 kB / 1.797 GB, free: 200.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/2.954, allocations: 0.6441 MB / 1.798 GB, free: 200.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007833/2.955, allocations: 0.9635 MB / 1.799 GB, free: 199.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/2.957, allocations: 1.181 MB / 1.8 GB, free: 197.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/2.957, allocations: 0 / 1.8 GB, free: 197.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00361/2.961, allocations: 2.123 MB / 1.802 GB, free: 195.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000589/2.961, allocations: 3.486 MB / 1.805 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/2.961, allocations: 8 kB / 1.805 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/2.961, allocations: 20 kB / 1.805 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/2.962, allocations: 347.5 kB / 1.806 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/2.963, allocations: 27.92 kB / 1.806 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/2.964, allocations: 170.2 kB / 1.806 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/2.964, allocations: 65.16 kB / 1.806 GB, free: 191.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/2.964, allocations: 13.34 kB / 1.806 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003169/2.967, allocations: 1.955 MB / 1.808 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/2.967, allocations: 11.88 kB / 1.808 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/2.967, allocations: 16 kB / 1.808 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/2.968, allocations: 347.5 kB / 1.808 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/2.968, allocations: 19.94 kB / 1.808 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/2.969, allocations: 150.9 kB / 1.808 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/2.969, allocations: 59.98 kB / 1.808 GB, free: 188.8 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.0002319/2.97, allocations: 136.6 kB / 1.809 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/2.97, allocations: 126.4 kB / 1.809 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/2.972, allocations: 1.24 MB / 1.81 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/2.972, allocations: 12 kB / 1.81 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.972, allocations: 3.984 kB / 1.81 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/2.974, allocations: 1.31 MB / 1.811 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/2.977, allocations: 2.724 MB / 1.814 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.977, allocations: 4 kB / 1.814 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/2.978, allocations: 179.9 kB / 1.814 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/2.978, allocations: 4 kB / 1.814 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/2.978, allocations: 15.92 kB / 1.814 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/2.978, allocations: 7.953 kB / 1.814 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.978, allocations: 4 kB / 1.814 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/2.981, allocations: 1.907 MB / 1.816 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/2.981, allocations: 391.1 kB / 1.816 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/2.981, allocations: 11.98 kB / 1.816 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/2.982, allocations: 39.95 kB / 1.816 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/2.982, allocations: 48.7 kB / 1.816 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/2.982, allocations: 39.97 kB / 1.816 GB, free: 180.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001025/2.983, allocations: 0.9334 MB / 1.817 GB, free: 179.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/2.983, allocations: 0 / 1.817 GB, free: 179.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002534/2.986, allocations: 0.9503 MB / 1.818 GB, free: 178.5 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.0008755/2.987, allocations: 0.4928 MB / 1.819 GB, free: 178.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002544/2.989, allocations: 2.204 MB / 1.821 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.989, allocations: 8.125 kB / 1.821 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004671/2.99, allocations: 486.6 kB / 1.821 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/2.992, allocations: 0.6373 MB / 1.822 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/2.996, allocations: 2.94 MB / 1.825 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008451/2.997, allocations: 1.689 MB / 1.827 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002709/3, allocations: 1.159 MB / 1.828 GB, free: 168.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/3, allocations: 95.42 kB / 1.828 GB, free: 168.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/3, allocations: 4 kB / 1.828 GB, free: 168.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03535/3.035, allocations: 27.94 MB / 1.855 GB, free: 141.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (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)