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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 103.9 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 195.2 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 75.19 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4194/0.6408, allocations: 28.58 MB / 0.8127 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.6524, allocations: 7.853 MB / 0.8204 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.6544, allocations: 36.09 kB / 0.8204 GB, free: 26.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.6559, allocations: 406 kB / 0.8208 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.6596, allocations: 0.9992 MB / 0.8217 GB, free: 25.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.663, allocations: 1.068 MB / 0.8228 GB, free: 25.22 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006296/0.6693, allocations: 4.888 MB / 0.8276 GB, free: 22.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.6727, allocations: 2.28 MB / 0.8298 GB, free: 22.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.6771, allocations: 1.787 MB / 0.8315 GB, free: 21.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.68, allocations: 1.452 MB / 0.833 GB, free: 20.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.6806, allocations: 229.4 kB / 0.8332 GB, free: 20.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.6842, allocations: 1.321 MB / 0.8345 GB, free: 20.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007584/0.685, allocations: 0.5449 MB / 0.835 GB, free: 19.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.6869, allocations: 1.15 MB / 0.8361 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.6927, allocations: 3.671 MB / 0.8397 GB, free: 17.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6927, allocations: 1.562 kB / 0.8397 GB, free: 17.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6928, allocations: 7.938 kB / 0.8397 GB, free: 17.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.637e-05/0.6928, allocations: 0 / 0.8397 GB, free: 17.87 MB / 0.6544 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.006626/0.6995, allocations: 2.541 MB / 0.8422 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6995, allocations: 10.09 kB / 0.8422 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.7005, allocations: 236.7 kB / 0.8424 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.7039, allocations: 1.695 MB / 0.8441 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.7041, allocations: 112.2 kB / 0.8442 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.7044, allocations: 152.6 kB / 0.8443 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/0.7078, allocations: 1.994 MB / 0.8463 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.7079, allocations: 3.016 kB / 0.8463 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.708, allocations: 58 kB / 0.8463 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.7081, allocations: 41.59 kB / 0.8464 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.711, allocations: 1.799 MB / 0.8481 GB, free: 13.86 MB / 0.6544 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.0114/0.7224, allocations: 7.601 MB / 0.8556 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.7242, allocations: 1.438 MB / 0.857 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008315/0.725, allocations: 0.6677 MB / 0.8576 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006533/0.7316, allocations: 3.854 MB / 0.8614 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.7317, allocations: 43.31 kB / 0.8614 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.485e-06/0.7317, allocations: 0 / 0.8614 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.002554/0.7342, allocations: 1.519 MB / 0.8629 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.7343, allocations: 61.81 kB / 0.863 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.7365, allocations: 1.621 MB / 0.8646 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.7367, allocations: 47.89 kB / 0.8646 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.7372, allocations: 0.7534 MB / 0.8653 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.7375, allocations: 307.8 kB / 0.8656 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.7379, allocations: 298.4 kB / 0.8659 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.738, allocations: 370 kB / 0.8663 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.739, allocations: 0.6935 MB / 0.8669 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.7402, allocations: 1.017 MB / 0.8679 GB, free: 15.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.7427, allocations: 1.624 MB / 0.8695 GB, free: 14.88 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.7427, allocations: 2.438 kB / 0.8695 GB, free: 14.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003941/0.7467, allocations: 1.947 MB / 0.8714 GB, free: 13.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.7467, allocations: 14.52 kB / 0.8714 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.7467, allocations: 8.75 kB / 0.8714 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.7468, allocations: 14.97 kB / 0.8715 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.7481, allocations: 332.3 kB / 0.8718 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/0.7481, allocations: 24.27 kB / 0.8718 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.7498, allocations: 194.7 kB / 0.872 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.75, allocations: 67.73 kB / 0.8721 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002208/0.7522, allocations: 1.277 MB / 0.8733 GB, free: 12.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001351/0.7536, allocations: 1.02 MB / 0.8743 GB, free: 12.14 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00215/0.7557, allocations: 1.626 MB / 0.8759 GB, free: 11.06 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.661e-06/0.7558, allocations: 2.938 kB / 0.8759 GB, free: 11.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003508/0.7593, allocations: 1.95 MB / 0.8778 GB, free: 9.953 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7593, allocations: 12.03 kB / 0.8778 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.7593, allocations: 8 kB / 0.8778 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7593, allocations: 16 kB / 0.8778 GB, free: 9.918 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.7606, allocations: 332.8 kB / 0.8781 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.7606, allocations: 23.92 kB / 0.8782 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.7622, allocations: 150.8 kB / 0.8783 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.7624, allocations: 63.98 kB / 0.8784 GB, free: 9.359 MB / 0.67 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004911/0.7629, allocations: 255.8 kB / 0.8786 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.7633, allocations: 154.1 kB / 0.8788 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.7656, allocations: 1.271 MB / 0.88 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.7656, allocations: 19.92 kB / 0.88 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.7656, allocations: 2.156 kB / 0.88 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001634/0.7673, allocations: 1.277 MB / 0.8813 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005304/0.7726, allocations: 2.951 MB / 0.8842 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7726, allocations: 0 / 0.8842 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.7734, allocations: 190.2 kB / 0.8843 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.7735, allocations: 4 kB / 0.8843 GB, free: 3.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.7735, allocations: 24 kB / 0.8844 GB, free: 3.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.7736, allocations: 15.86 kB / 0.8844 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7736, allocations: 4.125 kB / 0.8844 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.7766, allocations: 1.913 MB / 0.8862 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.7779, allocations: 394.9 kB / 0.8866 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.7782, allocations: 27.92 kB / 0.8866 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008678/0.7791, allocations: 53.77 kB / 0.8867 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7792, allocations: 52.92 kB / 0.8868 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.7793, allocations: 31.98 kB / 0.8868 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002142/0.7815, allocations: 1.226 MB / 0.888 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.72e-07/0.7815, allocations: 0 / 0.888 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003804/0.7853, allocations: 0.9194 MB / 0.8889 GB, free: 14.37 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009812/0.7863, allocations: 369.9 kB / 0.8892 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004018/0.7903, allocations: 2.331 MB / 0.8915 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.7904, allocations: 1.875 kB / 0.8915 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.7911, allocations: 0.5248 MB / 0.892 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/0.7955, allocations: 0.9174 MB / 0.8929 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.8011, allocations: 3.645 MB / 0.8965 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.8025, allocations: 1.665 MB / 0.8981 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002567/0.8051, allocations: 0.9193 MB / 0.899 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.8055, allocations: 135.4 kB / 0.8991 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/0.8055, allocations: 0 / 0.8991 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of Templates: time 0.05405/0.8595, allocations: 35.68 MB / 0.934 GB, free: 0.707 MB / 0.7169 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)