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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7764/0.7764, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 180.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 95.53 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002208/0.002208, allocations: 279.5 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.118e-05/5.12e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5102, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9343/1.445, allocations: 380.3 MB / 1.136 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.445, allocations: 105.2 kB / 1.136 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.858/3.303, allocations: 419.2 MB / 1.545 GB, free: 182.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/3.303, allocations: 3.469 kB / 1.545 GB, free: 182.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000165/3.303, allocations: 52.45 kB / 1.545 GB, free: 182.3 MB / 0.698 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.004042/3.307, allocations: 1.913 MB / 1.547 GB, free: 181 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/3.307, allocations: 10.59 kB / 1.547 GB, free: 181 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/3.308, allocations: 222 kB / 1.547 GB, free: 180.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/3.312, allocations: 2.082 MB / 1.549 GB, free: 179.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/3.312, allocations: 116.5 kB / 1.549 GB, free: 179.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/3.313, allocations: 157.8 kB / 1.55 GB, free: 179.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/3.316, allocations: 1.85 MB / 1.551 GB, free: 178.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/3.316, allocations: 11.75 kB / 1.551 GB, free: 178.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/3.316, allocations: 55.59 kB / 1.551 GB, free: 178.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/3.316, allocations: 37.66 kB / 1.551 GB, free: 178.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/3.318, allocations: 1.664 MB / 1.553 GB, free: 177.6 MB / 0.698 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.01145/3.33, allocations: 7.534 MB / 1.56 GB, free: 172.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/3.332, allocations: 1.323 MB / 1.562 GB, free: 171.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/3.332, allocations: 0.6227 MB / 1.562 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005633/3.338, allocations: 3.841 MB / 1.566 GB, free: 167.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/3.338, allocations: 43.34 kB / 1.566 GB, free: 167.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=86): time 2.635e-06/3.338, allocations: 4 kB / 1.566 GB, free: 167.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=86): time 0.001664/3.34, allocations: 1.044 MB / 1.567 GB, free: 166.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/3.34, allocations: 60.19 kB / 1.567 GB, free: 166 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/3.342, allocations: 1.491 MB / 1.569 GB, free: 164.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/3.342, allocations: 49.7 kB / 1.569 GB, free: 164.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/3.342, allocations: 0.7685 MB / 1.569 GB, free: 163.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/3.342, allocations: 305 kB / 1.57 GB, free: 163.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/3.342, allocations: 34.56 kB / 1.57 GB, free: 163.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/3.343, allocations: 357.9 kB / 1.57 GB, free: 163 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/3.343, allocations: 0.6637 MB / 1.571 GB, free: 162.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/3.345, allocations: 1.013 MB / 1.572 GB, free: 161.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009988/3.346, allocations: 0.8549 MB / 1.573 GB, free: 160.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/3.346, allocations: 4 kB / 1.573 GB, free: 160.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002549/3.348, allocations: 1.919 MB / 1.574 GB, free: 158.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007835/3.349, allocations: 3.526 MB / 1.578 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/3.349, allocations: 8 kB / 1.578 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/3.349, allocations: 16 kB / 1.578 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/3.35, allocations: 349.7 kB / 1.578 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/3.35, allocations: 23.92 kB / 1.578 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/3.352, allocations: 220.5 kB / 1.578 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/3.352, allocations: 59.98 kB / 1.579 GB, free: 154 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/3.352, allocations: 7.172 kB / 1.579 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/3.354, allocations: 1.759 MB / 1.58 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/3.354, allocations: 14.75 kB / 1.58 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/3.354, allocations: 16 kB / 1.58 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/3.355, allocations: 351.4 kB / 1.581 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/3.355, allocations: 19.94 kB / 1.581 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/3.357, allocations: 197.3 kB / 1.581 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/3.357, allocations: 63.98 kB / 1.581 GB, free: 151.6 MB / 0.698 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.000292/3.357, allocations: 179.3 kB / 1.581 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/3.357, allocations: 142.2 kB / 1.581 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/3.359, allocations: 1.196 MB / 1.582 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/3.359, allocations: 8 kB / 1.582 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/3.359, allocations: 0 / 1.582 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/3.361, allocations: 1.244 MB / 1.584 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/3.365, allocations: 2.867 MB / 1.586 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/3.365, allocations: 0 / 1.586 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/3.366, allocations: 175.8 kB / 1.587 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/3.366, allocations: 6.562 kB / 1.587 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/3.366, allocations: 31.62 kB / 1.587 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/3.366, allocations: 4 kB / 1.587 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/3.366, allocations: 4 kB / 1.587 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/3.368, allocations: 1.884 MB / 1.588 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008332/3.369, allocations: 422.8 kB / 1.589 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/3.369, allocations: 22.75 kB / 1.589 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/3.37, allocations: 74.77 kB / 1.589 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/3.37, allocations: 44.72 kB / 1.589 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/3.37, allocations: 39.97 kB / 1.589 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001418/3.372, allocations: 1.228 MB / 1.59 GB, free: 141.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.332e-06/3.372, allocations: 0 / 1.59 GB, free: 141.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002505/3.374, allocations: 0.963 MB / 1.591 GB, free: 140.9 MB / 0.698 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.001025/3.375, allocations: 0.5041 MB / 1.592 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002894/3.378, allocations: 2.322 MB / 1.594 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/3.378, allocations: 0 / 1.594 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/3.379, allocations: 0.4995 MB / 1.594 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/3.382, allocations: 0.845 MB / 1.595 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/3.386, allocations: 3.056 MB / 1.598 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009094/3.387, allocations: 1.694 MB / 1.6 GB, free: 132.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003165/3.39, allocations: 1.275 MB / 1.601 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/3.391, allocations: 111.4 kB / 1.601 GB, free: 130.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/3.391, allocations: 0 / 1.601 GB, free: 130.8 MB / 0.698 GB Notification: Performance of Templates: time 0.05282/3.444, allocations: 36.99 MB / 1.637 GB, free: 94.62 MB / 0.698 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)