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.944/1.944, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.00105/0.00105, allocations: 178.9 kB / 372 MB, free: 10.26 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.803/1.803, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0008032/0.0008032, allocations: 89.36 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004379, allocations: 12.25 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01979/0.2745, allocations: 26.28 MB / 1.005 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.2857, allocations: 7.321 MB / 1.012 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2874, allocations: 27.81 kB / 1.012 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.2887, allocations: 282.1 kB / 1.013 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.2918, allocations: 0.8121 MB / 1.014 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.2948, allocations: 0.7689 MB / 1.014 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00628/0.3011, allocations: 5.232 MB / 1.019 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.3038, allocations: 1.609 MB / 1.021 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.307, allocations: 1.311 MB / 1.022 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.3099, allocations: 1.229 MB / 1.023 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.3103, allocations: 80 kB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.3132, allocations: 0.9865 MB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004715/0.3136, allocations: 354.5 kB / 1.025 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007924/0.3144, allocations: 424.7 kB / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.3179, allocations: 2.81 MB / 1.028 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3179, allocations: 0 / 1.028 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3179, allocations: 0 / 1.028 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.153e-05/0.3179, allocations: 0 / 1.028 GB, free: 9.891 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.004647/0.3226, allocations: 2.144 MB / 1.03 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.3227, allocations: 12.03 kB / 1.03 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003566/0.323, allocations: 214.7 kB / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.3238, allocations: 237.5 kB / 1.031 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.3269, allocations: 1.697 MB / 1.032 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.647e-05/0.327, allocations: 110.7 kB / 1.032 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.3272, allocations: 152 kB / 1.032 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.3307, allocations: 1.986 MB / 1.034 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.3307, allocations: 4 kB / 1.034 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.3309, allocations: 56 kB / 1.034 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.331, allocations: 43.94 kB / 1.034 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.3339, allocations: 1.786 MB / 1.036 GB, free: 1.273 MB / 0.6511 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.01231/0.3462, allocations: 7.621 MB / 1.044 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3482, allocations: 1.436 MB / 1.045 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/0.3491, allocations: 0.6565 MB / 1.046 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/0.3564, allocations: 3.839 MB / 1.049 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.3565, allocations: 51.5 kB / 1.049 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.368e-06/0.3565, allocations: 0 / 1.049 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002851/0.3594, allocations: 1.506 MB / 1.051 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.3595, allocations: 60.41 kB / 1.051 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.3621, allocations: 1.57 MB / 1.053 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.3623, allocations: 45.7 kB / 1.053 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/0.363, allocations: 0.7534 MB / 1.053 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.3634, allocations: 311.5 kB / 1.054 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.3635, allocations: 32 kB / 1.054 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.3637, allocations: 365.9 kB / 1.054 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.3648, allocations: 0.683 MB / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3661, allocations: 1.024 MB / 1.056 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.3674, allocations: 0.8689 MB / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3674, allocations: 0 / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003276/0.3707, allocations: 1.936 MB / 1.058 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003045/0.371, allocations: 358 kB / 1.059 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3711, allocations: 8 kB / 1.059 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.3711, allocations: 19.94 kB / 1.059 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.3724, allocations: 335.5 kB / 1.059 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/0.3724, allocations: 23.92 kB / 1.059 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.3739, allocations: 218 kB / 1.059 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.3741, allocations: 67.94 kB / 1.059 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.3741, allocations: 8 kB / 1.059 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002674/0.3768, allocations: 1.775 MB / 1.061 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3768, allocations: 12 kB / 1.061 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.3768, allocations: 20.84 kB / 1.061 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.378, allocations: 331.5 kB / 1.061 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.378, allocations: 27.92 kB / 1.062 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.3794, allocations: 182.5 kB / 1.062 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3796, allocations: 68.03 kB / 1.062 GB, free: 6.129 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.001314/0.3809, allocations: 0.7425 MB / 1.062 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.3813, allocations: 154.2 kB / 1.063 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.3834, allocations: 1.276 MB / 1.064 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.3834, allocations: 8 kB / 1.064 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3834, allocations: 0 / 1.064 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.385, allocations: 1.28 MB / 1.065 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5534/0.9384, allocations: 2.928 MB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.9385, allocations: 2.234 kB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.9395, allocations: 187.2 kB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.9396, allocations: 4.781 kB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.9397, allocations: 24.84 kB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/0.9397, allocations: 3.969 kB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9397, allocations: 4 kB / 1.068 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.9432, allocations: 1.907 MB / 1.07 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.9444, allocations: 424.1 kB / 1.07 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.9446, allocations: 20.56 kB / 1.07 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/0.9456, allocations: 75.97 kB / 1.071 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.9457, allocations: 49.84 kB / 1.071 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.9458, allocations: 41.17 kB / 1.071 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002164/0.948, allocations: 1.175 MB / 1.072 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/0.948, allocations: 0.6562 kB / 1.072 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003717/0.9517, allocations: 0.9075 MB / 1.073 GB, free: 85.71 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.004438/0.9562, allocations: 2.696 MB / 1.075 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004867/0.9611, allocations: 2.306 MB / 1.078 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.9611, allocations: 0.9688 kB / 1.078 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000992/0.9621, allocations: 0.5179 MB / 1.078 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/0.9673, allocations: 0.87 MB / 1.079 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/0.9985, allocations: 12.33 MB / 1.091 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1, allocations: 1.667 MB / 1.093 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004284/1.005, allocations: 0.9164 MB / 1.094 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.006, allocations: 0.6145 MB / 1.094 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/1.006, allocations: 0 / 1.094 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08173/1.088, allocations: 49.22 MB / 1.142 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.088, allocations: 261.5 kB / 1.142 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.499, allocations: 3.516 kB / 1.142 GB, free: 39.61 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)