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: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001037/0.001036, allocations: 176.9 kB / 366.7 MB, free: 1.672 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.78/1.78, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0008622/0.0008621, allocations: 89.47 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.037e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7822, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.953, allocations: 409.5 MB / 1.373 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.954, allocations: 90.77 kB / 1.373 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/3.47, allocations: 409.7 MB / 1.773 GB, free: 224 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/3.47, allocations: 0 / 1.773 GB, free: 224 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001664/3.47, allocations: 51.88 kB / 1.773 GB, free: 224 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.004/3.474, allocations: 1.916 MB / 1.775 GB, free: 222.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/3.474, allocations: 10.06 kB / 1.775 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/3.475, allocations: 224.6 kB / 1.776 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/3.478, allocations: 2.081 MB / 1.778 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/3.479, allocations: 44.5 kB / 1.778 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/3.479, allocations: 88 kB / 1.778 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002208/3.481, allocations: 1.575 MB / 1.779 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/3.483, allocations: 1.65 MB / 1.781 GB, free: 217.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/3.483, allocations: 11.94 kB / 1.781 GB, free: 217.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/3.483, allocations: 0 / 1.781 GB, free: 217.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/3.483, allocations: 39.98 kB / 1.781 GB, free: 217.8 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.009664/3.493, allocations: 7.215 MB / 1.788 GB, free: 210.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/3.495, allocations: 1.272 MB / 1.789 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/3.495, allocations: 0.6067 MB / 1.79 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005485/3.501, allocations: 3.744 MB / 1.793 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/3.501, allocations: 47.34 kB / 1.793 GB, free: 204.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 2.545e-06/3.501, allocations: 0 / 1.793 GB, free: 204.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.002218/3.503, allocations: 1.107 MB / 1.795 GB, free: 203.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/3.503, allocations: 64.19 kB / 1.795 GB, free: 203.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/3.505, allocations: 1.226 MB / 1.796 GB, free: 202 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/3.505, allocations: 29.64 kB / 1.796 GB, free: 201.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/3.505, allocations: 0.7677 MB / 1.797 GB, free: 201.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/3.505, allocations: 295.6 kB / 1.797 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/3.505, allocations: 0 / 1.797 GB, free: 200.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/3.506, allocations: 361.9 kB / 1.797 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000746/3.506, allocations: 0.6402 MB / 1.798 GB, free: 199.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/3.507, allocations: 0.9674 MB / 1.799 GB, free: 198.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/3.51, allocations: 1.181 MB / 1.8 GB, free: 197.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/3.51, allocations: 4 kB / 1.8 GB, free: 197.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003841/3.513, allocations: 2.123 MB / 1.802 GB, free: 195.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007036/3.514, allocations: 3.482 MB / 1.805 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/3.514, allocations: 12 kB / 1.805 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.515e-05/3.514, allocations: 16 kB / 1.805 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/3.515, allocations: 351.5 kB / 1.806 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/3.515, allocations: 23.94 kB / 1.806 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/3.517, allocations: 166.3 kB / 1.806 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/3.517, allocations: 59.98 kB / 1.806 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/3.517, allocations: 9.562 kB / 1.806 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003391/3.52, allocations: 1.959 MB / 1.808 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/3.52, allocations: 12 kB / 1.808 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/3.52, allocations: 16 kB / 1.808 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/3.522, allocations: 347.5 kB / 1.808 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/3.522, allocations: 20.48 kB / 1.808 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/3.523, allocations: 150.9 kB / 1.808 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/3.523, allocations: 63.98 kB / 1.809 GB, free: 188.5 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.000295/3.523, allocations: 132.6 kB / 1.809 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001965/3.525, allocations: 1.108 MB / 1.81 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/3.526, allocations: 130.4 kB / 1.81 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/3.528, allocations: 1.232 MB / 1.811 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/3.528, allocations: 11.95 kB / 1.811 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/3.528, allocations: 0 / 1.811 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/3.529, allocations: 1.314 MB / 1.812 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/3.534, allocations: 2.719 MB / 1.815 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/3.534, allocations: 8.016 kB / 1.815 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/3.534, allocations: 183.8 kB / 1.815 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/3.534, allocations: 11.89 kB / 1.815 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/3.534, allocations: 11.81 kB / 1.815 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/3.534, allocations: 7.984 kB / 1.815 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/3.534, allocations: 3.938 kB / 1.815 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/3.537, allocations: 1.903 MB / 1.817 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/3.538, allocations: 395.1 kB / 1.817 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/3.538, allocations: 7.984 kB / 1.817 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/3.539, allocations: 43.8 kB / 1.818 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/3.539, allocations: 60.64 kB / 1.818 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/3.539, allocations: 27.98 kB / 1.818 GB, free: 179 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001197/3.54, allocations: 0.9451 MB / 1.819 GB, free: 178.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/3.54, allocations: 4 kB / 1.819 GB, free: 178.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002652/3.543, allocations: 0.9466 MB / 1.819 GB, free: 177.1 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.003585/3.546, allocations: 3.034 MB / 1.822 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002915/3.549, allocations: 2.203 MB / 1.825 GB, free: 171.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/3.549, allocations: 3.938 kB / 1.825 GB, free: 171.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/3.55, allocations: 494.6 kB / 1.825 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/3.553, allocations: 0.6259 MB / 1.826 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/3.559, allocations: 3.511 MB / 1.829 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/3.56, allocations: 1.693 MB / 1.831 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002987/3.563, allocations: 1.156 MB / 1.832 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/3.563, allocations: 0.5774 MB / 1.832 GB, free: 163.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/3.563, allocations: 0 / 1.832 GB, free: 163.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07416/3.637, allocations: 42.09 MB / 1.874 GB, free: 121.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/3.638, allocations: 191.6 kB / 1.874 GB, free: 121.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.869/7.507, allocations: 0 / 1.874 GB, free: 121.7 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)