Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.268/1.268, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000909/0.0009089, allocations: 176 kB / 327.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000732/0.0007321, allocations: 89.78 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003755, allocations: 13.47 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.051, allocations: 401.7 MB / 1.293 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.051, allocations: 108.3 kB / 1.294 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.088/2.138, allocations: 399.8 MB / 1.684 GB, free: 67.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.192e-06/2.139, allocations: 0 / 1.684 GB, free: 67.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002407/2.139, allocations: 51.92 kB / 1.684 GB, free: 67.88 MB / 0.8855 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.005633/2.144, allocations: 2.203 MB / 1.686 GB, free: 65.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/2.144, allocations: 8.031 kB / 1.686 GB, free: 65.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/2.146, allocations: 226.4 kB / 1.686 GB, free: 65.38 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/2.15, allocations: 2.037 MB / 1.688 GB, free: 63.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/2.15, allocations: 115.1 kB / 1.689 GB, free: 63.17 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/2.15, allocations: 152.3 kB / 1.689 GB, free: 63.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/2.153, allocations: 1.877 MB / 1.691 GB, free: 61.08 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/2.153, allocations: 7.875 kB / 1.691 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/2.153, allocations: 60 kB / 1.691 GB, free: 61.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/2.154, allocations: 40 kB / 1.691 GB, free: 60.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/2.156, allocations: 1.693 MB / 1.692 GB, free: 59.28 MB / 0.8855 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.009926/2.166, allocations: 7.445 MB / 1.7 GB, free: 51.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/2.167, allocations: 1.314 MB / 1.701 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/2.168, allocations: 0.6324 MB / 1.701 GB, free: 49.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00536/2.173, allocations: 3.718 MB / 1.705 GB, free: 45.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/2.173, allocations: 39.56 kB / 1.705 GB, free: 45.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 2.474e-06/2.173, allocations: 0 / 1.705 GB, free: 45.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.002126/2.176, allocations: 1.463 MB / 1.707 GB, free: 44.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/2.176, allocations: 60.41 kB / 1.707 GB, free: 43.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/2.178, allocations: 1.578 MB / 1.708 GB, free: 42.39 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/2.178, allocations: 49.7 kB / 1.708 GB, free: 42.33 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/2.178, allocations: 0.7689 MB / 1.709 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/2.178, allocations: 311.6 kB / 1.709 GB, free: 41.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/2.179, allocations: 24 kB / 1.709 GB, free: 41.22 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/2.179, allocations: 369.9 kB / 1.71 GB, free: 40.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/2.179, allocations: 0.6714 MB / 1.71 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000929/2.18, allocations: 1.018 MB / 1.711 GB, free: 39.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/2.182, allocations: 1.593 MB / 1.713 GB, free: 37.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/2.182, allocations: 0 / 1.713 GB, free: 37.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002453/2.184, allocations: 1.921 MB / 1.715 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/2.185, allocations: 360.5 kB / 1.715 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/2.185, allocations: 8 kB / 1.715 GB, free: 34.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/2.185, allocations: 16 kB / 1.715 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/2.186, allocations: 343.4 kB / 1.715 GB, free: 34.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/2.186, allocations: 27.81 kB / 1.715 GB, free: 34.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/2.187, allocations: 222 kB / 1.716 GB, free: 34.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/2.187, allocations: 63.98 kB / 1.716 GB, free: 34.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/2.187, allocations: 8 kB / 1.716 GB, free: 34.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/2.189, allocations: 1.764 MB / 1.717 GB, free: 32.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/2.189, allocations: 8 kB / 1.717 GB, free: 32.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/2.189, allocations: 16.91 kB / 1.717 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/2.19, allocations: 343.5 kB / 1.718 GB, free: 32.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/2.19, allocations: 23.92 kB / 1.718 GB, free: 32.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/2.192, allocations: 186.5 kB / 1.718 GB, free: 31.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/2.192, allocations: 59.98 kB / 1.718 GB, free: 31.84 MB / 0.8855 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.0009502/2.193, allocations: 0.7464 MB / 1.719 GB, free: 31.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/2.193, allocations: 150.1 kB / 1.719 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/2.195, allocations: 1.208 MB / 1.72 GB, free: 29.71 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/2.195, allocations: 8 kB / 1.72 GB, free: 29.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/2.195, allocations: 0 / 1.72 GB, free: 29.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/2.196, allocations: 1.257 MB / 1.721 GB, free: 28.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/2.199, allocations: 2.844 MB / 1.724 GB, free: 25.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/2.199, allocations: 8.094 kB / 1.724 GB, free: 25.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/2.2, allocations: 183.8 kB / 1.724 GB, free: 25.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/2.2, allocations: 8 kB / 1.724 GB, free: 25.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/2.2, allocations: 23.98 kB / 1.724 GB, free: 25.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/2.2, allocations: 7.938 kB / 1.724 GB, free: 25.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/2.2, allocations: 0 / 1.724 GB, free: 25.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/2.202, allocations: 1.86 MB / 1.726 GB, free: 23.33 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/2.203, allocations: 406.8 kB / 1.727 GB, free: 22.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/2.203, allocations: 23.98 kB / 1.727 GB, free: 22.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/2.204, allocations: 63.84 kB / 1.727 GB, free: 22.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/2.204, allocations: 64.8 kB / 1.727 GB, free: 22.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/2.204, allocations: 27.98 kB / 1.727 GB, free: 22.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001392/2.206, allocations: 1.175 MB / 1.728 GB, free: 21.56 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/2.206, allocations: 3.938 kB / 1.728 GB, free: 21.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002389/2.208, allocations: 0.9474 MB / 1.729 GB, free: 20.61 MB / 0.8855 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.0008782/2.209, allocations: 492.7 kB / 1.729 GB, free: 20.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002894/2.212, allocations: 2.292 MB / 1.731 GB, free: 17.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.212, allocations: 1.938 kB / 1.731 GB, free: 17.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005294/2.212, allocations: 0.5053 MB / 1.732 GB, free: 17.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/2.216, allocations: 0.8576 MB / 1.733 GB, free: 16.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/2.221, allocations: 4.291 MB / 1.737 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/2.222, allocations: 1.657 MB / 1.739 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002452/2.224, allocations: 0.8993 MB / 1.74 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/2.225, allocations: 135.4 kB / 1.74 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/2.225, allocations: 0 / 1.74 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.452/2.677, allocations: 34.46 MB / 1.773 GB, free: 227.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)