Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.141/2.141, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 173 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 91.95 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.135e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.414, allocations: 421.9 MB / 1.631 GB, free: 12.48 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.414, allocations: 95.94 kB / 1.631 GB, free: 12.39 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.492/2.906, allocations: 422.9 MB / 2.044 GB, free: 113.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.116e-06/2.906, allocations: 0 / 2.044 GB, free: 113.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001924/2.906, allocations: 51.88 kB / 2.044 GB, free: 113.4 MB / 1.151 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.004081/2.91, allocations: 1.923 MB / 2.046 GB, free: 111.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/2.91, allocations: 19.97 kB / 2.046 GB, free: 111.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/2.911, allocations: 210.8 kB / 2.046 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006942/2.911, allocations: 225.5 kB / 2.046 GB, free: 111 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/2.915, allocations: 2.126 MB / 2.048 GB, free: 108.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/2.915, allocations: 114.7 kB / 2.048 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/2.915, allocations: 163.9 kB / 2.049 GB, free: 108.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/2.918, allocations: 1.861 MB / 2.05 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/2.918, allocations: 0 / 2.05 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/2.918, allocations: 59.94 kB / 2.05 GB, free: 106.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/2.918, allocations: 43.98 kB / 2.051 GB, free: 106.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/2.92, allocations: 1.654 MB / 2.052 GB, free: 104.8 MB / 1.151 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.009093/2.929, allocations: 7.534 MB / 2.059 GB, free: 96.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/2.931, allocations: 1.315 MB / 2.061 GB, free: 95.67 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/2.932, allocations: 0.6424 MB / 2.061 GB, free: 95.03 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005152/2.937, allocations: 3.834 MB / 2.065 GB, free: 90.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/2.937, allocations: 43.34 kB / 2.065 GB, free: 90.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 2.475e-06/2.937, allocations: 0 / 2.065 GB, free: 90.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001669/2.938, allocations: 1.045 MB / 2.066 GB, free: 89.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/2.938, allocations: 60.19 kB / 2.066 GB, free: 89.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/2.941, allocations: 1.515 MB / 2.068 GB, free: 88.19 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/2.941, allocations: 49.7 kB / 2.068 GB, free: 88.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/2.941, allocations: 0.7653 MB / 2.069 GB, free: 87.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/2.942, allocations: 311.6 kB / 2.069 GB, free: 87.05 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/2.942, allocations: 24 kB / 2.069 GB, free: 87.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001489/2.942, allocations: 361.9 kB / 2.069 GB, free: 86.67 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/2.943, allocations: 0.6676 MB / 2.07 GB, free: 86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/2.944, allocations: 1.002 MB / 2.071 GB, free: 84.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/2.945, allocations: 0.8638 MB / 2.072 GB, free: 84 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/2.945, allocations: 4 kB / 2.072 GB, free: 84 MB / 1.151 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003234/2.948, allocations: 1.913 MB / 2.074 GB, free: 82.08 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009866/2.949, allocations: 3.528 MB / 2.077 GB, free: 78.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/2.949, allocations: 12 kB / 2.077 GB, free: 78.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.693e-05/2.949, allocations: 16 kB / 2.077 GB, free: 78.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/2.951, allocations: 347.5 kB / 2.077 GB, free: 77.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/2.951, allocations: 19.94 kB / 2.077 GB, free: 77.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/2.952, allocations: 222 kB / 2.078 GB, free: 77.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/2.953, allocations: 63.98 kB / 2.078 GB, free: 77.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/2.953, allocations: 11.94 kB / 2.078 GB, free: 77.63 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002365/2.955, allocations: 1.756 MB / 2.079 GB, free: 75.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/2.955, allocations: 8 kB / 2.079 GB, free: 75.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/2.955, allocations: 20.91 kB / 2.079 GB, free: 75.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/2.956, allocations: 351.5 kB / 2.08 GB, free: 75.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/2.956, allocations: 19.94 kB / 2.08 GB, free: 75.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/2.958, allocations: 202.3 kB / 2.08 GB, free: 75.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/2.958, allocations: 59.98 kB / 2.08 GB, free: 75.23 MB / 1.151 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.0002962/2.958, allocations: 176.6 kB / 2.08 GB, free: 75.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/2.959, allocations: 150.1 kB / 2.08 GB, free: 74.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/2.961, allocations: 1.199 MB / 2.081 GB, free: 73.69 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/2.961, allocations: 8 kB / 2.082 GB, free: 73.68 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/2.961, allocations: 3.938 kB / 2.082 GB, free: 73.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/2.962, allocations: 1.24 MB / 2.083 GB, free: 72.35 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/2.966, allocations: 2.878 MB / 2.086 GB, free: 69.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/2.966, allocations: 0 / 2.086 GB, free: 69.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/2.967, allocations: 175.8 kB / 2.086 GB, free: 69.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/2.967, allocations: 7.984 kB / 2.086 GB, free: 69.22 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/2.967, allocations: 27.94 kB / 2.086 GB, free: 69.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/2.967, allocations: 4 kB / 2.086 GB, free: 69.19 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.967, allocations: 4 kB / 2.086 GB, free: 69.18 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/2.969, allocations: 1.885 MB / 2.088 GB, free: 67.23 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/2.97, allocations: 430.8 kB / 2.088 GB, free: 66.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/2.97, allocations: 16 kB / 2.088 GB, free: 66.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/2.971, allocations: 67.84 kB / 2.088 GB, free: 66.71 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/2.971, allocations: 52.7 kB / 2.088 GB, free: 66.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/2.971, allocations: 35.98 kB / 2.088 GB, free: 66.62 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001523/2.973, allocations: 1.248 MB / 2.089 GB, free: 65.38 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.7e-07/2.973, allocations: 0 / 2.089 GB, free: 65.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003126/2.976, allocations: 0.9785 MB / 2.09 GB, free: 64.4 MB / 1.151 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.00392/2.98, allocations: 3.012 MB / 2.093 GB, free: 61.35 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003684/2.984, allocations: 2.324 MB / 2.096 GB, free: 59.04 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/2.984, allocations: 0 / 2.096 GB, free: 59.04 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/2.984, allocations: 0.4963 MB / 2.096 GB, free: 58.54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/2.988, allocations: 0.8469 MB / 2.097 GB, free: 57.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/2.995, allocations: 3.68 MB / 2.1 GB, free: 53.96 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/2.996, allocations: 1.708 MB / 2.102 GB, free: 52.22 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00344/3, allocations: 1.301 MB / 2.103 GB, free: 50.92 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008094/3.001, allocations: 0.5969 MB / 2.104 GB, free: 50.32 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/3.001, allocations: 0 / 2.104 GB, free: 50.32 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7238/3.724, allocations: 53.31 MB / 2.156 GB, free: 303.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/3.725, allocations: 226.3 kB / 2.156 GB, free: 303.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/7.339, allocations: 2.156 kB / 2.156 GB, free: 303.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat does not exist to compare? outputFormat=mat