Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009699/0.00097, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007069/0.00707, allocations: 170.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 271 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004205, allocations: 16.58 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1862, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02667/0.2129, allocations: 27.69 MB / 0.7122 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.2247, allocations: 7.883 MB / 0.7199 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.2261, allocations: 31.75 kB / 0.7199 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.2272, allocations: 338.1 kB / 0.7202 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.2299, allocations: 0.9358 MB / 0.7211 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2326, allocations: 0.9343 MB / 0.722 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006309/0.2389, allocations: 6.085 MB / 0.728 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.2413, allocations: 1.786 MB / 0.7297 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.2441, allocations: 1.326 MB / 0.731 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.2458, allocations: 1.303 MB / 0.7323 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.246, allocations: 80 kB / 0.7324 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.2485, allocations: 1.131 MB / 0.7335 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.2489, allocations: 378.3 kB / 0.7338 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.2502, allocations: 0.9811 MB / 0.7348 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.2543, allocations: 3.462 MB / 0.7382 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2543, allocations: 0 / 0.7382 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.307e-06/0.2543, allocations: 3.984 kB / 0.7382 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.491e-05/0.2544, allocations: 0 / 0.7382 GB, free: 8.562 MB / 0.5294 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.004343/0.2587, allocations: 2.144 MB / 0.7403 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2588, allocations: 8.031 kB / 0.7403 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/0.2596, allocations: 238.4 kB / 0.7405 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.2624, allocations: 1.763 MB / 0.7422 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.842e-05/0.2625, allocations: 114.7 kB / 0.7423 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.2628, allocations: 156 kB / 0.7425 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.266, allocations: 1.994 MB / 0.7444 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.266, allocations: 15.84 kB / 0.7445 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.2662, allocations: 56 kB / 0.7445 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.2662, allocations: 39.98 kB / 0.7445 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.269, allocations: 1.794 MB / 0.7463 GB, free: 72 kB / 0.5294 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.01099/0.28, allocations: 7.614 MB / 0.7537 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.2818, allocations: 1.463 MB / 0.7552 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008979/0.2827, allocations: 0.6603 MB / 0.7558 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006177/0.2889, allocations: 3.842 MB / 0.7596 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.289, allocations: 47.56 kB / 0.7596 GB, free: 1.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 2.385e-06/0.289, allocations: 0 / 0.7596 GB, free: 1.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.002386/0.2914, allocations: 1.506 MB / 0.7611 GB, free: 284 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2914, allocations: 65.61 kB / 0.7611 GB, free: 208 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.2935, allocations: 1.61 MB / 0.7627 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.2936, allocations: 49.7 kB / 0.7628 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.2943, allocations: 0.7576 MB / 0.7635 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.2945, allocations: 319.4 kB / 0.7638 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2947, allocations: 137.6 kB / 0.7639 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2949, allocations: 357.9 kB / 0.7643 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009866/0.2959, allocations: 0.6831 MB / 0.7649 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.2971, allocations: 1.016 MB / 0.7659 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.2991, allocations: 1.62 MB / 0.7675 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.2991, allocations: 7.938 kB / 0.7675 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003031/0.3022, allocations: 1.959 MB / 0.7694 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.3024, allocations: 352.9 kB / 0.7698 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3025, allocations: 12 kB / 0.7698 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.3025, allocations: 16 kB / 0.7698 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3037, allocations: 339.5 kB / 0.7701 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.3038, allocations: 19.94 kB / 0.7701 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3051, allocations: 217.9 kB / 0.7704 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.3053, allocations: 63.98 kB / 0.7704 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3053, allocations: 7.938 kB / 0.7704 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002539/0.3078, allocations: 1.799 MB / 0.7722 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3078, allocations: 8 kB / 0.7722 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3079, allocations: 16 kB / 0.7722 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.309, allocations: 339.5 kB / 0.7725 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.309, allocations: 20 kB / 0.7725 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3103, allocations: 182.5 kB / 0.7727 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3104, allocations: 67.98 kB / 0.7728 GB, free: 3.848 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.3116, allocations: 0.7554 MB / 0.7735 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.312, allocations: 150.2 kB / 0.7737 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.314, allocations: 1.285 MB / 0.7749 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.314, allocations: 8 kB / 0.7749 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3141, allocations: 0 / 0.7749 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/0.3155, allocations: 1.292 MB / 0.7762 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3778/0.6934, allocations: 2.924 MB / 0.779 GB, free: 90.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6934, allocations: 2.047 kB / 0.779 GB, free: 90.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.6943, allocations: 183.3 kB / 0.7792 GB, free: 90.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.6943, allocations: 5.172 kB / 0.7792 GB, free: 90.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.6944, allocations: 27.34 kB / 0.7793 GB, free: 90.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.6944, allocations: 6.328 kB / 0.7793 GB, free: 90.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6944, allocations: 2.156 kB / 0.7793 GB, free: 90.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.6973, allocations: 1.914 MB / 0.7811 GB, free: 89.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008443/0.6982, allocations: 429.8 kB / 0.7815 GB, free: 89.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.6984, allocations: 21.7 kB / 0.7816 GB, free: 89.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/0.6992, allocations: 78.97 kB / 0.7816 GB, free: 89.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6993, allocations: 55.69 kB / 0.7817 GB, free: 89.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.6994, allocations: 34.44 kB / 0.7817 GB, free: 89.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001644/0.701, allocations: 1.206 MB / 0.7829 GB, free: 89.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.701, allocations: 3.828 kB / 0.7829 GB, free: 89.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002545/0.7036, allocations: 0.9123 MB / 0.7838 GB, free: 89.03 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007514/0.7044, allocations: 361.7 kB / 0.7841 GB, free: 88.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003048/0.7074, allocations: 2.321 MB / 0.7864 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7074, allocations: 3.188 kB / 0.7864 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.7081, allocations: 0.5182 MB / 0.7869 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/0.7121, allocations: 0.8783 MB / 0.7878 GB, free: 87.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.7177, allocations: 4.413 MB / 0.7921 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.719, allocations: 1.679 MB / 0.7937 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002951/0.722, allocations: 0.9134 MB / 0.7946 GB, free: 84.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.7223, allocations: 136.4 kB / 0.7947 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.7224, allocations: 0 / 0.7947 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.04823/0.7706, allocations: 33.98 MB / 0.8279 GB, free: 61.98 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)