Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.504/2.504, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001414, allocations: 176.9 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 88.59 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.944e-05, allocations: 4 kB / 0.8509 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8062, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/2.068, allocations: 408.3 MB / 1.362 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/2.068, allocations: 102.4 kB / 1.362 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.041/4.11, allocations: 409.7 MB / 1.762 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.947e-06/4.11, allocations: 0 / 1.762 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002737/4.11, allocations: 48.59 kB / 1.762 GB, free: 210.9 MB / 0.9323 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.006956/4.117, allocations: 1.913 MB / 1.764 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/4.117, allocations: 9.625 kB / 1.764 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/4.119, allocations: 220.3 kB / 1.765 GB, free: 209.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006883/4.126, allocations: 2.075 MB / 1.767 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/4.126, allocations: 44 kB / 1.767 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/4.126, allocations: 92 kB / 1.767 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004115/4.13, allocations: 1.58 MB / 1.768 GB, free: 206 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/4.135, allocations: 1.641 MB / 1.77 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.067e-05/4.135, allocations: 11.88 kB / 1.77 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/4.135, allocations: 11.89 kB / 1.77 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/4.135, allocations: 43.98 kB / 1.77 GB, free: 204.2 MB / 0.9323 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.01766/4.153, allocations: 7.226 MB / 1.777 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/4.155, allocations: 1.269 MB / 1.778 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/4.156, allocations: 0.5972 MB / 1.779 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009661/4.166, allocations: 3.746 MB / 1.782 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/4.166, allocations: 47.34 kB / 1.782 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 4.378e-06/4.166, allocations: 0 / 1.782 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.003698/4.17, allocations: 1.104 MB / 1.784 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/4.17, allocations: 60.19 kB / 1.784 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/4.172, allocations: 1.222 MB / 1.785 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/4.173, allocations: 29.7 kB / 1.785 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/4.173, allocations: 0.7638 MB / 1.786 GB, free: 187.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/4.174, allocations: 295.7 kB / 1.786 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/4.174, allocations: 4 kB / 1.786 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001251/4.174, allocations: 361.9 kB / 1.786 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/4.175, allocations: 0.6441 MB / 1.787 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/4.177, allocations: 0.9751 MB / 1.788 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/4.181, allocations: 1.173 MB / 1.789 GB, free: 184 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/4.181, allocations: 8 kB / 1.789 GB, free: 184 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006899/4.188, allocations: 2.12 MB / 1.791 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006991/4.189, allocations: 3.488 MB / 1.794 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/4.189, allocations: 8 kB / 1.794 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.968e-05/4.189, allocations: 16 kB / 1.794 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/4.192, allocations: 351.5 kB / 1.795 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/4.192, allocations: 19.94 kB / 1.795 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/4.194, allocations: 174.2 kB / 1.795 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/4.195, allocations: 63.98 kB / 1.795 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/4.195, allocations: 7.938 kB / 1.795 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006399/4.201, allocations: 1.963 MB / 1.797 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/4.201, allocations: 11.94 kB / 1.797 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/4.201, allocations: 19.95 kB / 1.797 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/4.204, allocations: 343.5 kB / 1.797 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/4.204, allocations: 23.92 kB / 1.797 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/4.206, allocations: 138.8 kB / 1.797 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/4.206, allocations: 67.97 kB / 1.798 GB, free: 174.9 MB / 0.9323 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.0003883/4.206, allocations: 141.8 kB / 1.798 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/4.207, allocations: 126.4 kB / 1.798 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/4.211, allocations: 1.236 MB / 1.799 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/4.211, allocations: 15.95 kB / 1.799 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/4.211, allocations: 0 / 1.799 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002828/4.214, allocations: 1.31 MB / 1.8 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/4.221, allocations: 2.729 MB / 1.803 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/4.221, allocations: 0 / 1.803 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/4.222, allocations: 175.8 kB / 1.803 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/4.222, allocations: 12.05 kB / 1.803 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/4.222, allocations: 15.98 kB / 1.803 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/4.222, allocations: 4 kB / 1.803 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/4.222, allocations: 3.938 kB / 1.803 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/4.227, allocations: 1.911 MB / 1.805 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/4.228, allocations: 391.1 kB / 1.805 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/4.229, allocations: 11.98 kB / 1.805 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/4.23, allocations: 39.89 kB / 1.805 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/4.23, allocations: 48.7 kB / 1.805 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/4.23, allocations: 35.98 kB / 1.806 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00181/4.232, allocations: 0.9412 MB / 1.806 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.21e-07/4.232, allocations: 0 / 1.806 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004322/4.236, allocations: 0.9466 MB / 1.807 GB, free: 164.7 MB / 0.9323 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.001366/4.238, allocations: 0.4926 MB / 1.808 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004533/4.242, allocations: 2.204 MB / 1.81 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/4.242, allocations: 448 / 1.81 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009185/4.243, allocations: 494.6 kB / 1.81 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/4.248, allocations: 0.6216 MB / 1.811 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/4.255, allocations: 2.956 MB / 1.814 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/4.256, allocations: 1.693 MB / 1.816 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005523/4.262, allocations: 1.145 MB / 1.817 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/4.263, allocations: 99.41 kB / 1.817 GB, free: 155 MB / 0.9323 GB Notification: Performance of SimCode: time 1.924e-06/4.263, allocations: 0 / 1.817 GB, free: 155 MB / 0.9323 GB Notification: Performance of Templates: time 0.06749/4.33, allocations: 27.95 MB / 1.844 GB, free: 127.2 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)