Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.181/2.181, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 178.4 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 97.19 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.862e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.919/2.121, allocations: 401.6 MB / 1.276 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/2.122, allocations: 96.23 kB / 1.276 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.932/4.054, allocations: 398.9 MB / 1.666 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.923e-06/4.054, allocations: 0 / 1.666 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002131/4.054, allocations: 44.94 kB / 1.666 GB, free: 235.6 MB / 0.8698 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.006356/4.06, allocations: 1.927 MB / 1.668 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/4.06, allocations: 7.812 kB / 1.668 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/4.062, allocations: 221.3 kB / 1.668 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006688/4.069, allocations: 2.064 MB / 1.67 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/4.069, allocations: 52.78 kB / 1.67 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/4.069, allocations: 91.11 kB / 1.67 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003773/4.073, allocations: 1.578 MB / 1.672 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/4.077, allocations: 1.631 MB / 1.673 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.116e-05/4.077, allocations: 8.75 kB / 1.673 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/4.077, allocations: 4.469 kB / 1.673 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/4.077, allocations: 45.34 kB / 1.673 GB, free: 234.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01684/4.094, allocations: 7.211 MB / 1.68 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/4.096, allocations: 1.258 MB / 1.682 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/4.097, allocations: 0.5973 MB / 1.682 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009546/4.107, allocations: 3.73 MB / 1.686 GB, free: 229 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/4.107, allocations: 42.62 kB / 1.686 GB, free: 229 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 3.476e-06/4.107, allocations: 3.25 kB / 1.686 GB, free: 229 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.003707/4.111, allocations: 1.11 MB / 1.687 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/4.111, allocations: 59.34 kB / 1.687 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/4.113, allocations: 1.224 MB / 1.688 GB, free: 228 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/4.114, allocations: 25.7 kB / 1.688 GB, free: 228 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006979/4.114, allocations: 0.765 MB / 1.689 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/4.115, allocations: 302.1 kB / 1.689 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/4.115, allocations: 0 / 1.689 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000125/4.115, allocations: 366.9 kB / 1.69 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/4.116, allocations: 0.6354 MB / 1.69 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/4.118, allocations: 0.9696 MB / 1.691 GB, free: 226 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/4.122, allocations: 1.186 MB / 1.692 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/4.122, allocations: 0 / 1.692 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006742/4.129, allocations: 2.126 MB / 1.694 GB, free: 225 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007713/4.13, allocations: 3.487 MB / 1.698 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/4.13, allocations: 10.53 kB / 1.698 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/4.13, allocations: 19.22 kB / 1.698 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/4.133, allocations: 353.7 kB / 1.698 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/4.133, allocations: 17.78 kB / 1.698 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/4.135, allocations: 174 kB / 1.698 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/4.135, allocations: 65.14 kB / 1.699 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/4.135, allocations: 3.656 kB / 1.699 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006156/4.141, allocations: 1.955 MB / 1.7 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/4.141, allocations: 11 kB / 1.7 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/4.141, allocations: 15.56 kB / 1.7 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/4.144, allocations: 347 kB / 1.701 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/4.144, allocations: 30.25 kB / 1.701 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/4.146, allocations: 142.9 kB / 1.701 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/4.146, allocations: 62.16 kB / 1.701 GB, free: 220.6 MB / 0.8698 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 () * 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.0004039/4.147, allocations: 136.6 kB / 1.701 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003397/4.15, allocations: 1.104 MB / 1.702 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/4.15, allocations: 133.6 kB / 1.702 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/4.154, allocations: 1.239 MB / 1.704 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/4.154, allocations: 10.7 kB / 1.704 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/4.154, allocations: 0 / 1.704 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00272/4.157, allocations: 1.307 MB / 1.705 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006857/4.164, allocations: 2.717 MB / 1.707 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/4.164, allocations: 3.953 kB / 1.707 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/4.165, allocations: 176.3 kB / 1.708 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/4.165, allocations: 6.812 kB / 1.708 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.878e-05/4.165, allocations: 11.55 kB / 1.708 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/4.165, allocations: 3.781 kB / 1.708 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.425e-06/4.165, allocations: 6.797 kB / 1.708 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/4.17, allocations: 1.914 MB / 1.71 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/4.171, allocations: 387.7 kB / 1.71 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/4.171, allocations: 7.531 kB / 1.71 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/4.173, allocations: 43.97 kB / 1.71 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/4.173, allocations: 55.59 kB / 1.71 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.897e-05/4.173, allocations: 37.34 kB / 1.71 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001731/4.175, allocations: 0.9359 MB / 1.711 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.753e-06/4.175, allocations: 0 / 1.711 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003808/4.178, allocations: 0.9474 MB / 1.712 GB, free: 216.1 MB / 0.8698 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 () * 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.005661/4.184, allocations: 3.032 MB / 1.715 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004572/4.189, allocations: 2.201 MB / 1.717 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/4.189, allocations: 2.156 kB / 1.717 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/4.19, allocations: 494.9 kB / 1.717 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/4.195, allocations: 0.6315 MB / 1.718 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/4.203, allocations: 3.498 MB / 1.722 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/4.204, allocations: 1.689 MB / 1.723 GB, free: 210 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005252/4.21, allocations: 1.157 MB / 1.724 GB, free: 209 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/4.211, allocations: 0.5774 MB / 1.725 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/4.211, allocations: 4 kB / 1.725 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/4.324, allocations: 41.9 MB / 1.766 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/4.324, allocations: 193.3 kB / 1.766 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.926/8.251, allocations: 2.188 kB / 1.766 GB, free: 167.1 MB / 0.8698 GB