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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007774/0.0007774, allocations: 91.38 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009282/0.0009283, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.518/2.518, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 15.94 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8067, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0279/0.8346, allocations: 26.3 MB / 1.007 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.8465, allocations: 7.383 MB / 1.014 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.848, allocations: 31.81 kB / 1.014 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.8492, allocations: 286.1 kB / 1.014 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.8519, allocations: 0.8121 MB / 1.015 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.8545, allocations: 0.7747 MB / 1.016 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006047/0.8606, allocations: 5.254 MB / 1.021 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.8632, allocations: 1.623 MB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.8664, allocations: 1.315 MB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.8689, allocations: 1.225 MB / 1.025 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.8692, allocations: 80 kB / 1.025 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.8719, allocations: 0.9749 MB / 1.026 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.8724, allocations: 362.5 kB / 1.026 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.8732, allocations: 424.7 kB / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.8769, allocations: 2.825 MB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8769, allocations: 0 / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8769, allocations: 4 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.877, allocations: 0 / 1.03 GB, free: 4.469 MB / 0.7794 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.004588/0.8816, allocations: 2.152 MB / 1.032 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.8816, allocations: 8.031 kB / 1.032 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003784/0.882, allocations: 214.7 kB / 1.032 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/0.8828, allocations: 233.5 kB / 1.032 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.8857, allocations: 1.732 MB / 1.034 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.8859, allocations: 110.8 kB / 1.034 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.8861, allocations: 148 kB / 1.034 GB, free: 15.76 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.8894, allocations: 1.99 MB / 1.036 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.8894, allocations: 4 kB / 1.036 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.8896, allocations: 59.94 kB / 1.036 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/0.8896, allocations: 43.98 kB / 1.036 GB, free: 13.61 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.8924, allocations: 1.786 MB / 1.038 GB, free: 11.81 MB / 0.795 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.01127/0.9037, allocations: 7.618 MB / 1.045 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.9054, allocations: 1.436 MB / 1.047 GB, free: 2.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000836/0.9063, allocations: 0.6564 MB / 1.047 GB, free: 1.773 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006095/0.9124, allocations: 3.839 MB / 1.051 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.9125, allocations: 47.52 kB / 1.051 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.9125, allocations: 0 / 1.051 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88): time 0.002443/0.9149, allocations: 1.51 MB / 1.053 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.915, allocations: 64.41 kB / 1.053 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.9171, allocations: 1.59 MB / 1.054 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.9172, allocations: 49.7 kB / 1.054 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.9178, allocations: 0.7613 MB / 1.055 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.9181, allocations: 315.5 kB / 1.055 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.9182, allocations: 28 kB / 1.055 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9184, allocations: 357.9 kB / 1.056 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.9194, allocations: 0.6792 MB / 1.056 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.9206, allocations: 1.012 MB / 1.057 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.9218, allocations: 0.8689 MB / 1.058 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9218, allocations: 0 / 1.058 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003087/0.9249, allocations: 1.939 MB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.9252, allocations: 361.5 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.9252, allocations: 11.94 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.9252, allocations: 16 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.9265, allocations: 343.4 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/0.9265, allocations: 19.92 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.9279, allocations: 218.1 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.928, allocations: 59.98 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.928, allocations: 5.406 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00254/0.9306, allocations: 1.784 MB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.9306, allocations: 11.98 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9306, allocations: 16 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9318, allocations: 327.5 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/0.9318, allocations: 23.92 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.9331, allocations: 194.8 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.9332, allocations: 59.98 kB / 1.063 GB, free: 0.6602 MB / 0.8106 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 (175): * Single equations (assignments): 175 * 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.001246/0.9345, allocations: 0.7502 MB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.9349, allocations: 150.1 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.937, allocations: 1.284 MB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.937, allocations: 8 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.937, allocations: 3.984 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.9384, allocations: 1.292 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.9428, allocations: 2.924 MB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.9429, allocations: 0 / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/0.9437, allocations: 187.8 kB / 1.07 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.9437, allocations: 7.953 kB / 1.07 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.9437, allocations: 28.11 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.9438, allocations: 7.984 kB / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9438, allocations: 3.938 kB / 1.07 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.9464, allocations: 1.909 MB / 1.072 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008966/0.9473, allocations: 426.8 kB / 1.072 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.9475, allocations: 23.95 kB / 1.072 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.9483, allocations: 79.95 kB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.9484, allocations: 56.92 kB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.9485, allocations: 31.98 kB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001682/0.9502, allocations: 1.195 MB / 1.074 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9502, allocations: 0 / 1.074 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002415/0.9526, allocations: 0.9045 MB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * 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.003361/0.956, allocations: 2.697 MB / 1.077 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.9596, allocations: 2.313 MB / 1.079 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9596, allocations: 8.125 kB / 1.079 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.9604, allocations: 0.5209 MB / 1.08 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/0.9645, allocations: 0.8601 MB / 1.081 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/0.9923, allocations: 12.45 MB / 1.093 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.9942, allocations: 1.678 MB / 1.094 GB, free: 144 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003407/0.9976, allocations: 0.9215 MB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/0.9989, allocations: 0.6164 MB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of SimCode: time 1.222e-06/0.9989, allocations: 0 / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09092/1.09, allocations: 49.43 MB / 1.144 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004165/1.09, allocations: 258.2 kB / 1.144 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.95, allocations: 0 / 1.144 GB, free: 13.41 MB / 0.9044 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) Environment - environmentSimulation: 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