Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001199/0.001199, allocations: 181.7 kB / 371.6 MB, free: 3.406 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.825/1.825, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 89.75 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.962e-05/4.964e-05, allocations: 4 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3106, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.48, allocations: 410.1 MB / 1.38 GB, free: 3.117 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.481, allocations: 95.39 kB / 1.38 GB, free: 3.066 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.463/3.944, allocations: 411.9 MB / 1.783 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/3.944, allocations: 0 / 1.783 GB, free: 186.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003139/3.944, allocations: 44.83 kB / 1.783 GB, free: 186.8 MB / 0.948 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.00678/3.951, allocations: 1.926 MB / 1.785 GB, free: 186 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/3.951, allocations: 11.5 kB / 1.785 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/3.952, allocations: 220 kB / 1.785 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/3.958, allocations: 2.07 MB / 1.787 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/3.958, allocations: 112.3 kB / 1.787 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006371/3.959, allocations: 161.6 kB / 1.787 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/3.964, allocations: 1.86 MB / 1.789 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-05/3.964, allocations: 3.062 kB / 1.789 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/3.964, allocations: 56.64 kB / 1.789 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/3.964, allocations: 49.44 kB / 1.789 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/3.967, allocations: 1.653 MB / 1.791 GB, free: 185.4 MB / 0.948 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.0113/3.978, allocations: 7.54 MB / 1.798 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/3.98, allocations: 1.313 MB / 1.799 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/3.981, allocations: 0.6285 MB / 1.8 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006017/3.987, allocations: 3.838 MB / 1.804 GB, free: 181.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/3.987, allocations: 44.59 kB / 1.804 GB, free: 181.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 2.685e-06/3.987, allocations: 0 / 1.804 GB, free: 181.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.001799/3.989, allocations: 1.045 MB / 1.805 GB, free: 181 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/3.989, allocations: 62.34 kB / 1.805 GB, free: 180.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/3.991, allocations: 1.487 MB / 1.806 GB, free: 180.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.718e-05/3.991, allocations: 53.98 kB / 1.806 GB, free: 180.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005648/3.991, allocations: 0.7644 MB / 1.807 GB, free: 180.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/3.992, allocations: 305.9 kB / 1.807 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/3.992, allocations: 27 kB / 1.807 GB, free: 180.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/3.992, allocations: 368.7 kB / 1.808 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009091/3.993, allocations: 0.6613 MB / 1.808 GB, free: 179.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/3.994, allocations: 1.011 MB / 1.809 GB, free: 179.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/3.995, allocations: 0.8599 MB / 1.81 GB, free: 179.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/3.995, allocations: 3.062 kB / 1.81 GB, free: 179.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002801/3.998, allocations: 1.907 MB / 1.812 GB, free: 179.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008177/3.999, allocations: 3.517 MB / 1.815 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/3.999, allocations: 9.156 kB / 1.815 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/3.999, allocations: 17.81 kB / 1.815 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/4, allocations: 354.3 kB / 1.816 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/4, allocations: 21.27 kB / 1.816 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/4.001, allocations: 226.3 kB / 1.816 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/4.002, allocations: 62.38 kB / 1.816 GB, free: 175.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/4.002, allocations: 6.594 kB / 1.816 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0023/4.004, allocations: 1.763 MB / 1.818 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/4.004, allocations: 8.844 kB / 1.818 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/4.004, allocations: 17.38 kB / 1.818 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/4.005, allocations: 349.3 kB / 1.818 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/4.005, allocations: 29.86 kB / 1.818 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/4.006, allocations: 185.2 kB / 1.818 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/4.007, allocations: 66.52 kB / 1.818 GB, free: 175.6 MB / 0.948 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.000322/4.007, allocations: 178.8 kB / 1.819 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/4.007, allocations: 148.3 kB / 1.819 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/4.009, allocations: 1.196 MB / 1.82 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/4.009, allocations: 9.547 kB / 1.82 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/4.009, allocations: 3.953 kB / 1.82 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/4.01, allocations: 1.239 MB / 1.821 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/4.015, allocations: 2.864 MB / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/4.015, allocations: 0 / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/4.016, allocations: 184.5 kB / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/4.016, allocations: 9.922 kB / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/4.016, allocations: 25.69 kB / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/4.016, allocations: 2.969 kB / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/4.016, allocations: 0 / 1.824 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/4.018, allocations: 1.89 MB / 1.826 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/4.019, allocations: 425.3 kB / 1.826 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/4.019, allocations: 23.44 kB / 1.826 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/4.02, allocations: 67.88 kB / 1.826 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/4.02, allocations: 52.23 kB / 1.826 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/4.02, allocations: 32.27 kB / 1.827 GB, free: 173.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001643/4.022, allocations: 1.241 MB / 1.828 GB, free: 173.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/4.022, allocations: 3.75 kB / 1.828 GB, free: 173.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002891/4.025, allocations: 0.9546 MB / 1.829 GB, free: 173.6 MB / 0.948 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.001063/4.026, allocations: 0.4993 MB / 1.829 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003382/4.029, allocations: 2.315 MB / 1.831 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/4.029, allocations: 0 / 1.831 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/4.03, allocations: 0.5054 MB / 1.832 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/4.034, allocations: 0.8428 MB / 1.833 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/4.039, allocations: 3.06 MB / 1.836 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/4.041, allocations: 1.693 MB / 1.837 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0045/4.045, allocations: 1.272 MB / 1.839 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/4.046, allocations: 114.2 kB / 1.839 GB, free: 172.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/4.046, allocations: 0 / 1.839 GB, free: 172.1 MB / 0.948 GB Notification: Performance of Templates: time 0.07725/4.123, allocations: 36.99 MB / 1.875 GB, free: 170.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)