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.53/2.53, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001176/0.001176, allocations: 176 kB / 0.4901 GB, free: 2.277 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001052/0.001052, allocations: 109.9 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 10.47 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.486, allocations: 421.9 MB / 1.641 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/1.487, allocations: 103.1 kB / 1.641 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.621/3.108, allocations: 424 MB / 2.056 GB, free: 274.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/3.108, allocations: 0 / 2.056 GB, free: 274.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003123/3.108, allocations: 47.98 kB / 2.056 GB, free: 274.7 MB / 1.167 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.007221/3.115, allocations: 2.247 MB / 2.058 GB, free: 272.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/3.115, allocations: 11.97 kB / 2.058 GB, free: 272.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008498/3.116, allocations: 222.7 kB / 2.058 GB, free: 272.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/3.118, allocations: 221.5 kB / 2.058 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/3.123, allocations: 2.135 MB / 2.06 GB, free: 269.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/3.123, allocations: 114.7 kB / 2.06 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006117/3.124, allocations: 148.7 kB / 2.061 GB, free: 269.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/3.128, allocations: 1.886 MB / 2.062 GB, free: 267.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.138e-05/3.128, allocations: 3.938 kB / 2.062 GB, free: 267.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/3.129, allocations: 60 kB / 2.062 GB, free: 267.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/3.129, allocations: 40 kB / 2.062 GB, free: 267.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/3.131, allocations: 1.693 MB / 2.064 GB, free: 265.8 MB / 1.167 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.01222/3.144, allocations: 7.542 MB / 2.071 GB, free: 258 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/3.145, allocations: 1.334 MB / 2.073 GB, free: 256.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/3.152, allocations: 3.749 MB / 2.076 GB, free: 252.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/3.152, allocations: 47.5 kB / 2.076 GB, free: 252.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 2.886e-06/3.152, allocations: 0 / 2.076 GB, free: 252.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.002334/3.154, allocations: 1.459 MB / 2.078 GB, free: 251 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/3.154, allocations: 64.41 kB / 2.078 GB, free: 251 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/3.157, allocations: 1.524 MB / 2.079 GB, free: 249.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/3.157, allocations: 49.7 kB / 2.08 GB, free: 249.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/3.158, allocations: 0.773 MB / 2.08 GB, free: 248.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/3.158, allocations: 307.6 kB / 2.081 GB, free: 248.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/3.158, allocations: 32 kB / 2.081 GB, free: 248.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001083/3.158, allocations: 357.9 kB / 2.081 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008942/3.159, allocations: 0.6752 MB / 2.082 GB, free: 247.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/3.16, allocations: 1.022 MB / 2.083 GB, free: 246.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/3.161, allocations: 0.8572 MB / 2.083 GB, free: 245.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/3.161, allocations: 4 kB / 2.083 GB, free: 245.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002819/3.164, allocations: 1.92 MB / 2.085 GB, free: 243.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007043/3.165, allocations: 3.525 MB / 2.089 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/3.165, allocations: 8 kB / 2.089 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/3.165, allocations: 24 kB / 2.089 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/3.166, allocations: 343.5 kB / 2.089 GB, free: 239.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-05/3.166, allocations: 27.88 kB / 2.089 GB, free: 239.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/3.168, allocations: 229.9 kB / 2.089 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/3.168, allocations: 63.98 kB / 2.089 GB, free: 238.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/3.168, allocations: 4 kB / 2.089 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002358/3.171, allocations: 1.772 MB / 2.091 GB, free: 237.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/3.171, allocations: 12 kB / 2.091 GB, free: 237.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/3.171, allocations: 16 kB / 2.091 GB, free: 237 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/3.172, allocations: 347.5 kB / 2.092 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.79e-05/3.172, allocations: 19.94 kB / 2.092 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/3.174, allocations: 190.6 kB / 2.092 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/3.174, allocations: 63.98 kB / 2.092 GB, free: 236.4 MB / 1.167 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.001299/3.175, allocations: 0.7541 MB / 2.093 GB, free: 235.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/3.176, allocations: 150.2 kB / 2.093 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/3.178, allocations: 1.22 MB / 2.094 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/3.178, allocations: 8 kB / 2.094 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/3.178, allocations: 4 kB / 2.094 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/3.179, allocations: 1.257 MB / 2.095 GB, free: 232.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004825/3.184, allocations: 2.888 MB / 2.098 GB, free: 230 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/3.184, allocations: 3.984 kB / 2.098 GB, free: 230 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/3.184, allocations: 175.8 kB / 2.098 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/3.185, allocations: 4 kB / 2.098 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/3.185, allocations: 20.09 kB / 2.098 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/3.185, allocations: 11.98 kB / 2.098 GB, free: 229.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/3.185, allocations: 0 / 2.098 GB, free: 229.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/3.187, allocations: 1.917 MB / 2.1 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/3.188, allocations: 422.8 kB / 2.1 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/3.189, allocations: 27.94 kB / 2.1 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/3.19, allocations: 71.78 kB / 2.1 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/3.19, allocations: 52.86 kB / 2.101 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/3.19, allocations: 39.92 kB / 2.101 GB, free: 227.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001997/3.192, allocations: 1.261 MB / 2.102 GB, free: 225.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/3.192, allocations: 0 / 2.102 GB, free: 225.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003378/3.195, allocations: 0.963 MB / 2.103 GB, free: 224.9 MB / 1.167 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.003497/3.199, allocations: 3.044 MB / 2.106 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003282/3.202, allocations: 2.296 MB / 2.108 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/3.202, allocations: 4 kB / 2.108 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/3.203, allocations: 0.5069 MB / 2.108 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/3.207, allocations: 0.8431 MB / 2.109 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/3.216, allocations: 11.54 MB / 2.121 GB, free: 206.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009795/3.218, allocations: 1.701 MB / 2.122 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002834/3.22, allocations: 0.922 MB / 2.123 GB, free: 203.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000865/3.221, allocations: 0.6203 MB / 2.124 GB, free: 203.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/3.221, allocations: 0 / 2.124 GB, free: 203.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/3.296, allocations: 50.84 MB / 2.173 GB, free: 152.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/3.296, allocations: 251.2 kB / 2.174 GB, free: 152.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/6.71, allocations: 0 / 2.174 GB, free: 152.5 MB / 1.167 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