Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.437/1.437, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.001042/0.001042, allocations: 180.4 kB / 372.2 MB, free: 10.12 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.163/1.163, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007125/0.0007125, allocations: 90.86 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 15.69 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01706/0.1637, allocations: 26.29 MB / 1.006 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00856/0.1722, allocations: 7.32 MB / 1.013 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008039/0.1731, allocations: 31.75 kB / 1.013 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.1739, allocations: 290.1 kB / 1.013 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1759, allocations: 0.8473 MB / 1.014 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.1779, allocations: 0.7798 MB / 1.015 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.1825, allocations: 5.254 MB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.1846, allocations: 1.794 MB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.1865, allocations: 1.319 MB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.1881, allocations: 1.229 MB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.1884, allocations: 83.94 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.1902, allocations: 1.088 MB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.1905, allocations: 358.5 kB / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009095/0.1915, allocations: 0.9349 MB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.1937, allocations: 2.837 MB / 1.029 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1937, allocations: 4 kB / 1.029 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.786e-06/0.1938, allocations: 4 kB / 1.029 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.1938, allocations: 0 / 1.029 GB, free: 8.625 MB / 0.6511 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.003409/0.1972, allocations: 2.121 MB / 1.032 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1972, allocations: 12.03 kB / 1.032 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/0.1975, allocations: 214.9 kB / 1.032 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.198, allocations: 226.5 kB / 1.032 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.2004, allocations: 1.746 MB / 1.034 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.2005, allocations: 110.7 kB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.2007, allocations: 151.9 kB / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.2033, allocations: 1.986 MB / 1.036 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.2033, allocations: 4 kB / 1.036 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.2035, allocations: 56 kB / 1.036 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.2035, allocations: 47.92 kB / 1.036 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.2058, allocations: 1.782 MB / 1.038 GB, free: 15.99 MB / 0.6667 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.009115/0.215, allocations: 7.617 MB / 1.045 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.2166, allocations: 1.44 MB / 1.047 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.2174, allocations: 0.6604 MB / 1.047 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00517/0.2226, allocations: 3.843 MB / 1.051 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2226, allocations: 47.5 kB / 1.051 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 2.084e-06/0.2226, allocations: 0 / 1.051 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001984/0.2246, allocations: 1.502 MB / 1.052 GB, free: 228 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2247, allocations: 60.41 kB / 1.053 GB, free: 156 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.2264, allocations: 1.578 MB / 1.054 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.2265, allocations: 49.7 kB / 1.054 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/0.227, allocations: 0.738 MB / 1.055 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.2272, allocations: 323.4 kB / 1.055 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.2273, allocations: 28 kB / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2274, allocations: 369.7 kB / 1.056 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008957/0.2283, allocations: 0.6831 MB / 1.056 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.2294, allocations: 1.024 MB / 1.057 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.2312, allocations: 1.608 MB / 1.059 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2312, allocations: 0 / 1.059 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002516/0.2338, allocations: 1.94 MB / 1.061 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.234, allocations: 356.6 kB / 1.061 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.234, allocations: 11.94 kB / 1.061 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.234, allocations: 16 kB / 1.061 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.2351, allocations: 331.5 kB / 1.061 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.2352, allocations: 23.88 kB / 1.061 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/0.2361, allocations: 221 kB / 1.062 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2362, allocations: 63.98 kB / 1.062 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-06/0.2363, allocations: 1.719 kB / 1.062 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00229/0.2386, allocations: 1.783 MB / 1.063 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2386, allocations: 12 kB / 1.063 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2386, allocations: 12 kB / 1.063 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.2397, allocations: 335.5 kB / 1.064 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.2397, allocations: 20 kB / 1.064 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008817/0.2406, allocations: 195.1 kB / 1.064 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/0.2407, allocations: 55.98 kB / 1.064 GB, free: 3.996 MB / 0.6823 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.0007746/0.2415, allocations: 0.7515 MB / 1.065 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.2417, allocations: 154.1 kB / 1.065 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.2434, allocations: 1.274 MB / 1.066 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2434, allocations: 12 kB / 1.066 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2435, allocations: 4 kB / 1.066 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/0.2448, allocations: 1.281 MB / 1.067 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2934/0.5382, allocations: 2.919 MB / 1.07 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.5382, allocations: 1.375 kB / 1.07 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.5394, allocations: 192.2 kB / 1.07 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.5394, allocations: 5.406 kB / 1.07 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.5395, allocations: 23 kB / 1.07 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.5395, allocations: 9.219 kB / 1.07 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5395, allocations: 1.062 kB / 1.07 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.5428, allocations: 1.907 MB / 1.072 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008666/0.5437, allocations: 420.8 kB / 1.073 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.5439, allocations: 26.95 kB / 1.073 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.5447, allocations: 85.12 kB / 1.073 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.5448, allocations: 49.66 kB / 1.073 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.5449, allocations: 36.88 kB / 1.073 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002198/0.5471, allocations: 1.179 MB / 1.074 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5471, allocations: 1.188 kB / 1.074 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003135/0.5503, allocations: 0.9082 MB / 1.075 GB, free: 85.09 MB / 0.6823 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.004795/0.5551, allocations: 2.698 MB / 1.078 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00505/0.5601, allocations: 2.311 MB / 1.08 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5602, allocations: 1.125 kB / 1.08 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.5613, allocations: 0.5141 MB / 1.08 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/0.5652, allocations: 0.8656 MB / 1.081 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.5856, allocations: 12.35 MB / 1.093 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.5867, allocations: 1.663 MB / 1.095 GB, free: 75.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002532/0.5893, allocations: 0.9097 MB / 1.096 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/0.59, allocations: 0.6055 MB / 1.096 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/0.59, allocations: 3.938 kB / 1.096 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/1.349, allocations: 49.89 MB / 1.145 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.35, allocations: 259.8 kB / 1.145 GB, free: 36.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/4.521, allocations: 0 / 1.145 GB, free: 36.92 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)