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.001323/0.001323, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001526/0.001526, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.065/2.065, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.353/2.353, allocations: 409.2 MB / 0.6838 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7032, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02584/0.7291, allocations: 24.02 MB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.7405, allocations: 6.871 MB / 1.011 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.742, allocations: 31.75 kB / 1.011 GB, free: 7.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.7434, allocations: 397.9 kB / 1.011 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.7469, allocations: 1.027 MB / 1.012 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.7504, allocations: 1.093 MB / 1.014 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004384/0.7548, allocations: 2.718 MB / 1.016 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.7571, allocations: 1.619 MB / 1.018 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.7597, allocations: 1.168 MB / 1.019 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.7612, allocations: 0.9333 MB / 1.02 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.7614, allocations: 79.94 kB / 1.02 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.7635, allocations: 0.8504 MB / 1.021 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.7639, allocations: 350.6 kB / 1.021 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.7645, allocations: 416.8 kB / 1.021 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.7676, allocations: 2.767 MB / 1.024 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7676, allocations: 4 kB / 1.024 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7676, allocations: 0 / 1.024 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.101e-05/0.7677, allocations: 0 / 1.024 GB, free: 9.801 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.004821/0.7725, allocations: 2.129 MB / 1.026 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7726, allocations: 15.97 kB / 1.026 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003922/0.773, allocations: 214.7 kB / 1.026 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.7738, allocations: 233.5 kB / 1.027 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.7772, allocations: 1.636 MB / 1.028 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.635e-05/0.7773, allocations: 122.7 kB / 1.028 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.7775, allocations: 155.9 kB / 1.029 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.7809, allocations: 1.966 MB / 1.03 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.781, allocations: 7.984 kB / 1.03 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.7811, allocations: 56 kB / 1.031 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.7812, allocations: 39.94 kB / 1.031 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.7841, allocations: 1.786 MB / 1.032 GB, free: 1.262 MB / 0.7794 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.01278/0.7969, allocations: 7.696 MB / 1.04 GB, free: 9.258 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.799, allocations: 1.456 MB / 1.041 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006917/0.8059, allocations: 3.871 MB / 1.045 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.806, allocations: 51.45 kB / 1.045 GB, free: 3.539 MB / 0.795 GB Notification: Performance of pre-optimization done (n=88): time 3.045e-06/0.806, allocations: 0 / 1.045 GB, free: 3.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=88): time 0.0026/0.8086, allocations: 1.51 MB / 1.047 GB, free: 2.023 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.8087, allocations: 64.39 kB / 1.047 GB, free: 1.949 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.8111, allocations: 1.68 MB / 1.048 GB, free: 264 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.8112, allocations: 45.7 kB / 1.048 GB, free: 212 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/0.8119, allocations: 0.7614 MB / 1.049 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.8123, allocations: 315.5 kB / 1.049 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.8124, allocations: 24 kB / 1.049 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.8125, allocations: 361.9 kB / 1.05 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.8136, allocations: 0.6753 MB / 1.05 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.8149, allocations: 1.009 MB / 1.051 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.8161, allocations: 0.8689 MB / 1.052 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.8162, allocations: 4 kB / 1.052 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003166/0.8193, allocations: 1.948 MB / 1.054 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.8208, allocations: 3.52 MB / 1.058 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.8208, allocations: 15.95 kB / 1.058 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.8209, allocations: 16 kB / 1.058 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.8222, allocations: 343.5 kB / 1.058 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.8223, allocations: 23.92 kB / 1.058 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.8238, allocations: 214.1 kB / 1.058 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.8239, allocations: 63.98 kB / 1.058 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.8239, allocations: 8 kB / 1.058 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/0.8268, allocations: 1.791 MB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.8268, allocations: 8 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.8268, allocations: 16.84 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.8281, allocations: 347.4 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.8282, allocations: 19.98 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.8295, allocations: 198.3 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.8297, allocations: 63.98 kB / 1.061 GB, free: 3.234 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.001335/0.831, allocations: 0.7542 MB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.8314, allocations: 150.1 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.8335, allocations: 1.276 MB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.8335, allocations: 12 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8335, allocations: 3.938 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.8351, allocations: 1.284 MB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004765/0.8398, allocations: 2.974 MB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.8399, allocations: 0 / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.8407, allocations: 179.8 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.8407, allocations: 11.98 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.8408, allocations: 20 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.8408, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8408, allocations: 7.891 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.8436, allocations: 1.967 MB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000982/0.8446, allocations: 446.7 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.8448, allocations: 20 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.8457, allocations: 77.38 kB / 1.07 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.8458, allocations: 56.86 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.8459, allocations: 39.97 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001928/0.8478, allocations: 1.257 MB / 1.071 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8478, allocations: 4 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002594/0.8504, allocations: 0.9162 MB / 1.072 GB, free: 7.52 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.003691/0.8541, allocations: 3.041 MB / 1.075 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003684/0.8578, allocations: 2.302 MB / 1.077 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.8579, allocations: 4 kB / 1.077 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.8587, allocations: 0.517 MB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/0.8628, allocations: 0.8613 MB / 1.078 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.8739, allocations: 11.54 MB / 1.09 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.8753, allocations: 1.721 MB / 1.091 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002859/0.8782, allocations: 0.9163 MB / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009985/0.8792, allocations: 0.6203 MB / 1.093 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/0.8792, allocations: 0 / 1.093 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2102/1.089, allocations: 49.14 MB / 1.141 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.09, allocations: 261.2 kB / 1.141 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.892, allocations: 0 / 1.141 GB, free: 0.7734 MB / 0.8887 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