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.175/2.175, allocations: 248.5 MB / 261 MB, free: 6.016 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.001408/0.001407, allocations: 190.4 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.2 MB / 0.571 GB, free: 11.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 86.44 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.806e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2192, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.889/2.108, allocations: 401.4 MB / 1.283 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/2.109, allocations: 96.59 kB / 1.283 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.942/4.051, allocations: 401 MB / 1.674 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.395e-06/4.051, allocations: 0 / 1.674 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003039/4.051, allocations: 49.23 kB / 1.674 GB, free: 229.9 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.008009/4.059, allocations: 1.918 MB / 1.676 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/4.059, allocations: 7.406 kB / 1.676 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007934/4.06, allocations: 219 kB / 1.676 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/4.062, allocations: 224.2 kB / 1.677 GB, free: 229 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/4.069, allocations: 2.068 MB / 1.679 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/4.07, allocations: 112.7 kB / 1.679 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007244/4.07, allocations: 156.3 kB / 1.679 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005468/4.076, allocations: 1.843 MB / 1.681 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.768e-05/4.076, allocations: 4.516 kB / 1.681 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/4.076, allocations: 58.47 kB / 1.681 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/4.076, allocations: 39.62 kB / 1.681 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004937/4.081, allocations: 1.667 MB / 1.682 GB, free: 227.6 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.02044/4.102, allocations: 7.509 MB / 1.69 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/4.105, allocations: 1.306 MB / 1.691 GB, free: 223 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/4.106, allocations: 0.6301 MB / 1.692 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/4.117, allocations: 3.823 MB / 1.695 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/4.117, allocations: 42.91 kB / 1.695 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 4.549e-06/4.117, allocations: 0 / 1.695 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.003119/4.12, allocations: 1.047 MB / 1.697 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/4.12, allocations: 62.97 kB / 1.697 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/4.124, allocations: 1.491 MB / 1.698 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003961/4.124, allocations: 49.48 kB / 1.698 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007953/4.125, allocations: 0.7617 MB / 1.699 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/4.126, allocations: 313.3 kB / 1.699 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/4.126, allocations: 30.12 kB / 1.699 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001336/4.126, allocations: 372.6 kB / 1.7 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/4.128, allocations: 0.6636 MB / 1.7 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/4.13, allocations: 1.007 MB / 1.701 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/4.133, allocations: 0.8486 MB / 1.702 GB, free: 217 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/4.133, allocations: 3.625 kB / 1.702 GB, free: 217 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005389/4.138, allocations: 1.917 MB / 1.704 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001238/4.139, allocations: 3.52 MB / 1.707 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/4.14, allocations: 10.94 kB / 1.707 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.679e-05/4.14, allocations: 18.91 kB / 1.707 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/4.143, allocations: 350 kB / 1.708 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.326e-05/4.143, allocations: 25.38 kB / 1.708 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/4.145, allocations: 227 kB / 1.708 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/4.146, allocations: 61.55 kB / 1.708 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/4.146, allocations: 7.547 kB / 1.708 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004251/4.15, allocations: 1.757 MB / 1.71 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/4.15, allocations: 14.38 kB / 1.71 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/4.15, allocations: 15.31 kB / 1.71 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/4.153, allocations: 346.8 kB / 1.71 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.352e-05/4.153, allocations: 24.77 kB / 1.71 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/4.155, allocations: 190.8 kB / 1.71 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/4.156, allocations: 62.39 kB / 1.71 GB, free: 211.7 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.0004483/4.156, allocations: 178.8 kB / 1.71 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/4.157, allocations: 151.2 kB / 1.711 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/4.16, allocations: 1.194 MB / 1.712 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/4.16, allocations: 7.562 kB / 1.712 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/4.16, allocations: 0 / 1.712 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/4.162, allocations: 1.236 MB / 1.713 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/4.17, allocations: 2.852 MB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.629e-06/4.17, allocations: 3.844 kB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/4.171, allocations: 183.6 kB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/4.171, allocations: 6.781 kB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/4.171, allocations: 26.19 kB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/4.171, allocations: 3.438 kB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/4.172, allocations: 11.69 kB / 1.716 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/4.176, allocations: 1.876 MB / 1.718 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/4.177, allocations: 418.5 kB / 1.718 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006108/4.178, allocations: 22.83 kB / 1.718 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/4.18, allocations: 73.44 kB / 1.718 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/4.18, allocations: 57.06 kB / 1.718 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/4.18, allocations: 34.11 kB / 1.718 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002894/4.183, allocations: 1.237 MB / 1.72 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.82e-07/4.183, allocations: 0 / 1.72 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005651/4.189, allocations: 0.9606 MB / 1.721 GB, free: 207 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.008337/4.197, allocations: 3.002 MB / 1.723 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00868/4.206, allocations: 2.316 MB / 1.726 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/4.206, allocations: 0 / 1.726 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/4.208, allocations: 0.5036 MB / 1.726 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009972/4.218, allocations: 0.8374 MB / 1.727 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/4.228, allocations: 3.66 MB / 1.731 GB, free: 200 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/4.229, allocations: 1.694 MB / 1.732 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006461/4.236, allocations: 1.269 MB / 1.734 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/4.238, allocations: 0.5852 MB / 1.734 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.323e-06/4.238, allocations: 4 kB / 1.734 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/4.365, allocations: 52.85 MB / 1.786 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/4.365, allocations: 214.2 kB / 1.786 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.434/8.8, allocations: 64 / 1.786 GB, free: 144.4 MB / 0.8698 GB