Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.19/2.19, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001616, allocations: 181.1 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 0.5764 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 83.86 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004947, allocations: 11.22 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2261, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.425, allocations: 401.4 MB / 1.291 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/1.426, allocations: 99.02 kB / 1.291 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.043/3.468, allocations: 402.2 MB / 1.684 GB, free: 69.09 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.747e-06/3.469, allocations: 0 / 1.684 GB, free: 69.09 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002996/3.469, allocations: 51.94 kB / 1.684 GB, free: 69.04 MB / 0.8855 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.008923/3.478, allocations: 2.23 MB / 1.686 GB, free: 66.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/3.478, allocations: 12.03 kB / 1.686 GB, free: 66.74 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008821/3.479, allocations: 214.7 kB / 1.686 GB, free: 66.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/3.48, allocations: 217.5 kB / 1.686 GB, free: 66.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007036/3.487, allocations: 2.072 MB / 1.688 GB, free: 64.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/3.487, allocations: 122.7 kB / 1.688 GB, free: 64.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006402/3.488, allocations: 159.9 kB / 1.689 GB, free: 63.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/3.493, allocations: 1.869 MB / 1.69 GB, free: 61.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-05/3.493, allocations: 0 / 1.69 GB, free: 61.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/3.494, allocations: 64 kB / 1.69 GB, free: 61.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/3.494, allocations: 40 kB / 1.691 GB, free: 61.86 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/3.499, allocations: 1.689 MB / 1.692 GB, free: 60.17 MB / 0.8855 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.01841/3.517, allocations: 7.511 MB / 1.7 GB, free: 52.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/3.52, allocations: 1.334 MB / 1.701 GB, free: 51.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009836/3.53, allocations: 3.737 MB / 1.704 GB, free: 46.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/3.53, allocations: 47.52 kB / 1.705 GB, free: 46.92 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 3.366e-06/3.53, allocations: 4 kB / 1.705 GB, free: 46.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.003836/3.534, allocations: 1.447 MB / 1.706 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/3.534, allocations: 72.34 kB / 1.706 GB, free: 45.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/3.537, allocations: 1.5 MB / 1.707 GB, free: 43.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/3.538, allocations: 45.7 kB / 1.707 GB, free: 43.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000778/3.538, allocations: 0.7611 MB / 1.708 GB, free: 43.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/3.539, allocations: 311.6 kB / 1.709 GB, free: 42.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/3.539, allocations: 28 kB / 1.709 GB, free: 42.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001239/3.539, allocations: 365.9 kB / 1.709 GB, free: 42.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/3.541, allocations: 0.6752 MB / 1.71 GB, free: 41.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/3.543, allocations: 1.01 MB / 1.711 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/3.545, allocations: 0.8579 MB / 1.711 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/3.545, allocations: 0 / 1.711 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005014/3.55, allocations: 1.921 MB / 1.713 GB, free: 37.74 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007675/3.551, allocations: 3.527 MB / 1.717 GB, free: 33.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/3.551, allocations: 11.95 kB / 1.717 GB, free: 33.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.077e-05/3.551, allocations: 20 kB / 1.717 GB, free: 33.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/3.554, allocations: 347.5 kB / 1.717 GB, free: 33.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.882e-05/3.554, allocations: 19.94 kB / 1.717 GB, free: 33.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/3.556, allocations: 229.9 kB / 1.717 GB, free: 33.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/3.557, allocations: 59.98 kB / 1.717 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/3.557, allocations: 4 kB / 1.717 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004513/3.561, allocations: 1.779 MB / 1.719 GB, free: 31.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/3.561, allocations: 12 kB / 1.719 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/3.561, allocations: 16 kB / 1.719 GB, free: 31.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/3.564, allocations: 344.1 kB / 1.719 GB, free: 31.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/3.564, allocations: 27.92 kB / 1.719 GB, free: 31.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/3.567, allocations: 186.5 kB / 1.72 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/3.567, allocations: 64.06 kB / 1.72 GB, free: 30.88 MB / 0.8855 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 (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.001663/3.569, allocations: 0.7479 MB / 1.72 GB, free: 30.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005822/3.569, allocations: 150.1 kB / 1.721 GB, free: 29.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/3.572, allocations: 1.219 MB / 1.722 GB, free: 28.75 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/3.572, allocations: 8 kB / 1.722 GB, free: 28.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/3.572, allocations: 0 / 1.722 GB, free: 28.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00208/3.574, allocations: 1.253 MB / 1.723 GB, free: 27.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/3.582, allocations: 2.872 MB / 1.726 GB, free: 24.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/3.582, allocations: 0 / 1.726 GB, free: 24.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/3.583, allocations: 179.9 kB / 1.726 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/3.583, allocations: 7.938 kB / 1.726 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/3.583, allocations: 23.98 kB / 1.726 GB, free: 24.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-06/3.583, allocations: 4 kB / 1.726 GB, free: 24.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/3.583, allocations: 7.938 kB / 1.726 GB, free: 24.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/3.587, allocations: 1.901 MB / 1.728 GB, free: 22.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/3.589, allocations: 426.7 kB / 1.728 GB, free: 21.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/3.589, allocations: 23.98 kB / 1.728 GB, free: 21.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/3.59, allocations: 71.78 kB / 1.728 GB, free: 21.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/3.591, allocations: 48.92 kB / 1.728 GB, free: 21.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/3.591, allocations: 35.98 kB / 1.728 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002741/3.593, allocations: 1.249 MB / 1.73 GB, free: 20.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/3.594, allocations: 4 kB / 1.73 GB, free: 20.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004072/3.598, allocations: 0.9591 MB / 1.731 GB, free: 19.45 MB / 0.8855 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 () * Number of clocked 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.005542/3.603, allocations: 3.045 MB / 1.734 GB, free: 16.37 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00543/3.609, allocations: 2.297 MB / 1.736 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/3.609, allocations: 0.875 kB / 1.736 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/3.61, allocations: 0.4976 MB / 1.736 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006752/3.617, allocations: 0.8495 MB / 1.737 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/3.629, allocations: 11.51 MB / 1.748 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6102/4.24, allocations: 1.688 MB / 1.75 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004824/4.245, allocations: 0.8978 MB / 1.751 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/4.246, allocations: 0.6251 MB / 1.752 GB, free: 231 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/4.246, allocations: 0 / 1.752 GB, free: 231 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/4.388, allocations: 50.41 MB / 1.801 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/4.388, allocations: 254 kB / 1.801 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.327/8.716, allocations: 0 / 1.801 GB, free: 229.3 MB / 0.8855 GB