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.674/1.674, allocations: 289.7 MB / 302.3 MB, free: 2.195 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.001097/0.001096, allocations: 179 kB / 371.6 MB, free: 3.391 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.769/1.769, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001324/0.001324, allocations: 91.47 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.941e-05/4.945e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.555, allocations: 410.1 MB / 1.38 GB, free: 3.055 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.556, allocations: 95.03 kB / 1.38 GB, free: 3.004 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314/3.87, allocations: 411.9 MB / 1.783 GB, free: 213.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.053e-06/3.87, allocations: 0 / 1.783 GB, free: 213.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002376/3.87, allocations: 43.81 kB / 1.783 GB, free: 213.7 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.00591/3.876, allocations: 1.924 MB / 1.785 GB, free: 213 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/3.876, allocations: 8.906 kB / 1.785 GB, free: 213 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00037/3.876, allocations: 212.3 kB / 1.785 GB, free: 213 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/3.877, allocations: 221.3 kB / 1.785 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/3.882, allocations: 2.079 MB / 1.787 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/3.882, allocations: 110.5 kB / 1.787 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/3.882, allocations: 156.7 kB / 1.787 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/3.886, allocations: 1.861 MB / 1.789 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/3.886, allocations: 7 kB / 1.789 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/3.886, allocations: 59.38 kB / 1.789 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/3.886, allocations: 39.69 kB / 1.789 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/3.889, allocations: 1.659 MB / 1.791 GB, free: 212.4 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.01297/3.902, allocations: 7.535 MB / 1.798 GB, free: 209.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/3.904, allocations: 1.315 MB / 1.8 GB, free: 209.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/3.905, allocations: 0.628 MB / 1.8 GB, free: 209.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008458/3.913, allocations: 3.832 MB / 1.804 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/3.913, allocations: 48.12 kB / 1.804 GB, free: 208.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 6.723e-06/3.913, allocations: 3.5 kB / 1.804 GB, free: 208.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.00248/3.916, allocations: 1.042 MB / 1.805 GB, free: 208 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/3.916, allocations: 61.44 kB / 1.805 GB, free: 207.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/3.92, allocations: 1.487 MB / 1.806 GB, free: 207.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/3.92, allocations: 48.64 kB / 1.806 GB, free: 207.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/3.921, allocations: 0.7697 MB / 1.807 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000442/3.922, allocations: 306.2 kB / 1.808 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/3.922, allocations: 30.09 kB / 1.808 GB, free: 207.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002105/3.922, allocations: 369.4 kB / 1.808 GB, free: 206.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/3.923, allocations: 0.6618 MB / 1.809 GB, free: 206.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/3.924, allocations: 1.007 MB / 1.81 GB, free: 206.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/3.926, allocations: 0.8584 MB / 1.81 GB, free: 206.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/3.926, allocations: 6 kB / 1.81 GB, free: 206.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003211/3.929, allocations: 1.908 MB / 1.812 GB, free: 206.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009942/3.93, allocations: 3.522 MB / 1.816 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/3.93, allocations: 10.12 kB / 1.816 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.162e-05/3.93, allocations: 17.09 kB / 1.816 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/3.931, allocations: 353.4 kB / 1.816 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/3.931, allocations: 18.84 kB / 1.816 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/3.933, allocations: 227 kB / 1.816 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/3.933, allocations: 60.55 kB / 1.816 GB, free: 202.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/3.933, allocations: 6.438 kB / 1.816 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/3.936, allocations: 1.761 MB / 1.818 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/3.936, allocations: 9.469 kB / 1.818 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/3.936, allocations: 19.86 kB / 1.818 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/3.938, allocations: 344.3 kB / 1.818 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/3.938, allocations: 28.95 kB / 1.818 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/3.939, allocations: 188.4 kB / 1.819 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/3.939, allocations: 60.3 kB / 1.819 GB, free: 202.6 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.0004098/3.94, allocations: 181.6 kB / 1.819 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/3.94, allocations: 145 kB / 1.819 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/3.942, allocations: 1.202 MB / 1.82 GB, free: 202.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/3.943, allocations: 17.28 kB / 1.82 GB, free: 202.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/3.943, allocations: 1.219 kB / 1.82 GB, free: 202.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001396/3.944, allocations: 1.24 MB / 1.821 GB, free: 201.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/3.949, allocations: 2.864 MB / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/3.949, allocations: 0 / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/3.95, allocations: 184.6 kB / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/3.95, allocations: 5.875 kB / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/3.95, allocations: 20.19 kB / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/3.95, allocations: 5.281 kB / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/3.95, allocations: 0 / 1.824 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/3.952, allocations: 1.885 MB / 1.826 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/3.953, allocations: 432 kB / 1.827 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/3.954, allocations: 23.56 kB / 1.827 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/3.955, allocations: 72 kB / 1.827 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/3.955, allocations: 53.25 kB / 1.827 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/3.955, allocations: 36.12 kB / 1.827 GB, free: 200.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001926/3.957, allocations: 1.235 MB / 1.828 GB, free: 200.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.957, allocations: 0 / 1.828 GB, free: 200.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003297/3.96, allocations: 0.9608 MB / 1.829 GB, free: 200.7 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.003912/3.964, allocations: 3.011 MB / 1.832 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003865/3.968, allocations: 2.324 MB / 1.834 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/3.968, allocations: 2.781 kB / 1.834 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006871/3.969, allocations: 0.4998 MB / 1.835 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/3.973, allocations: 0.8374 MB / 1.836 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/3.981, allocations: 3.656 MB / 1.839 GB, free: 198.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/3.982, allocations: 1.693 MB / 1.841 GB, free: 198.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00467/3.987, allocations: 1.272 MB / 1.842 GB, free: 198.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/3.988, allocations: 0.5939 MB / 1.843 GB, free: 198.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/3.988, allocations: 0 / 1.843 GB, free: 198.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/4.123, allocations: 53.05 MB / 1.894 GB, free: 196 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/4.123, allocations: 210.6 kB / 1.895 GB, free: 195.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/8.36, allocations: 7.938 kB / 1.895 GB, free: 195.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)