Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.79/1.79, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 0.6626 GB, free: 4.305 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 102 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004497, allocations: 8.5 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7106, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.951/1.662, allocations: 412.6 MB / 1.429 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/1.662, allocations: 103.2 kB / 1.429 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.346/3.008, allocations: 417.5 MB / 1.837 GB, free: 191.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/3.008, allocations: 0.5625 kB / 1.837 GB, free: 191.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003363/3.009, allocations: 49.2 kB / 1.837 GB, free: 191.4 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.008478/3.017, allocations: 2.207 MB / 1.839 GB, free: 190.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/3.017, allocations: 13.94 kB / 1.839 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/3.019, allocations: 228.3 kB / 1.84 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006259/3.025, allocations: 2.024 MB / 1.842 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/3.026, allocations: 119.7 kB / 1.842 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007405/3.026, allocations: 154.9 kB / 1.842 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/3.032, allocations: 1.895 MB / 1.844 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/3.032, allocations: 11.22 kB / 1.844 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/3.032, allocations: 54.5 kB / 1.844 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/3.032, allocations: 43.22 kB / 1.844 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/3.036, allocations: 1.687 MB / 1.845 GB, free: 187.6 MB / 0.948 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.01601/3.052, allocations: 7.463 MB / 1.853 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/3.054, allocations: 1.324 MB / 1.854 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/3.055, allocations: 0.6383 MB / 1.855 GB, free: 182.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007328/3.063, allocations: 3.717 MB / 1.858 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/3.063, allocations: 46.78 kB / 1.858 GB, free: 180.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 3.927e-06/3.063, allocations: 2.781 kB / 1.858 GB, free: 180.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.002997/3.066, allocations: 1.451 MB / 1.86 GB, free: 179.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/3.066, allocations: 65.47 kB / 1.86 GB, free: 179.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/3.069, allocations: 1.583 MB / 1.861 GB, free: 179.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/3.07, allocations: 47.73 kB / 1.861 GB, free: 179 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/3.07, allocations: 0.7609 MB / 1.862 GB, free: 178.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/3.071, allocations: 309.1 kB / 1.862 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/3.071, allocations: 30.16 kB / 1.862 GB, free: 178.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001356/3.071, allocations: 365.8 kB / 1.863 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/3.072, allocations: 0.6692 MB / 1.863 GB, free: 177.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/3.074, allocations: 1.019 MB / 1.864 GB, free: 177 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/3.076, allocations: 1.59 MB / 1.866 GB, free: 176.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/3.076, allocations: 5.438 kB / 1.866 GB, free: 176.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003798/3.08, allocations: 1.92 MB / 1.868 GB, free: 175.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/3.08, allocations: 357.4 kB / 1.868 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/3.08, allocations: 9.938 kB / 1.868 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.785e-05/3.08, allocations: 18.53 kB / 1.868 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/3.082, allocations: 340.2 kB / 1.869 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-05/3.082, allocations: 22.8 kB / 1.869 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/3.084, allocations: 225.8 kB / 1.869 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/3.084, allocations: 62.42 kB / 1.869 GB, free: 174.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/3.084, allocations: 3.438 kB / 1.869 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002998/3.087, allocations: 1.772 MB / 1.871 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/3.087, allocations: 8.906 kB / 1.871 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/3.087, allocations: 16.16 kB / 1.871 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/3.088, allocations: 344.2 kB / 1.871 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.184e-05/3.088, allocations: 23.61 kB / 1.871 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/3.09, allocations: 180.6 kB / 1.871 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/3.09, allocations: 62.33 kB / 1.871 GB, free: 174.1 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 () * Number of clocked 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.001584/3.092, allocations: 0.7461 MB / 1.872 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007064/3.093, allocations: 144.8 kB / 1.872 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/3.095, allocations: 1.217 MB / 1.873 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/3.095, allocations: 11.78 kB / 1.873 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/3.095, allocations: 0 / 1.873 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/3.097, allocations: 1.257 MB / 1.874 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/3.103, allocations: 2.863 MB / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/3.103, allocations: 0 / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/3.103, allocations: 185.8 kB / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/3.103, allocations: 3.344 kB / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.672e-05/3.103, allocations: 24.53 kB / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/3.104, allocations: 10.56 kB / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/3.104, allocations: 3.891 kB / 1.877 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/3.106, allocations: 1.864 MB / 1.879 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/3.107, allocations: 411.8 kB / 1.88 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006119/3.108, allocations: 19.84 kB / 1.88 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/3.109, allocations: 68.94 kB / 1.88 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/3.109, allocations: 52.34 kB / 1.88 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/3.109, allocations: 41.28 kB / 1.88 GB, free: 170 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002066/3.112, allocations: 1.173 MB / 1.881 GB, free: 169.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.262e-06/3.112, allocations: 2.719 kB / 1.881 GB, free: 169.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003993/3.116, allocations: 0.9549 MB / 1.882 GB, free: 169.3 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 () * Number of clocked 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.001322/3.117, allocations: 495.7 kB / 1.882 GB, free: 169.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003649/3.121, allocations: 2.291 MB / 1.885 GB, free: 168.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/3.121, allocations: 0 / 1.885 GB, free: 168.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/3.121, allocations: 0.5132 MB / 1.885 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/3.126, allocations: 0.8562 MB / 1.886 GB, free: 168.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/3.133, allocations: 4.286 MB / 1.89 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/3.135, allocations: 1.658 MB / 1.892 GB, free: 165 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003572/3.138, allocations: 0.906 MB / 1.893 GB, free: 164.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/3.139, allocations: 141.9 kB / 1.893 GB, free: 164.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.864e-06/3.139, allocations: 0 / 1.893 GB, free: 164.9 MB / 0.948 GB Notification: Performance of Templates: time 0.0564/3.196, allocations: 34.66 MB / 1.927 GB, free: 150.5 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)