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.001516/0.001516, allocations: 109.8 kB / 16.37 MB, free: 6.312 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.001657/0.001657, allocations: 190.3 kB / 17.3 MB, free: 5.867 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002265/0.002266, allocations: 68.47 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2253, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3815/0.6067, allocations: 28.58 MB / 0.8127 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009815/0.6166, allocations: 7.846 MB / 0.8204 GB, free: 26.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.6175, allocations: 33.59 kB / 0.8204 GB, free: 26.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6186, allocations: 413.2 kB / 0.8208 GB, free: 26.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.6208, allocations: 0.9964 MB / 0.8218 GB, free: 25.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.624, allocations: 1.067 MB / 0.8228 GB, free: 25.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006104/0.6302, allocations: 4.887 MB / 0.8276 GB, free: 22.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.6329, allocations: 2.288 MB / 0.8298 GB, free: 22 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.6363, allocations: 1.786 MB / 0.8316 GB, free: 21.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.638, allocations: 1.451 MB / 0.833 GB, free: 20.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.6383, allocations: 229.2 kB / 0.8332 GB, free: 20.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.6412, allocations: 1.313 MB / 0.8345 GB, free: 20.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.6417, allocations: 0.5568 MB / 0.835 GB, free: 19.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.6431, allocations: 1.15 MB / 0.8361 GB, free: 19.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.6476, allocations: 3.674 MB / 0.8397 GB, free: 17.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6476, allocations: 2.938 kB / 0.8397 GB, free: 17.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6476, allocations: 0 / 0.8397 GB, free: 17.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.006e-05/0.6476, allocations: 0 / 0.8397 GB, free: 17.86 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.004879/0.6525, allocations: 2.541 MB / 0.8422 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6526, allocations: 13.17 kB / 0.8422 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.6534, allocations: 230.2 kB / 0.8424 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.6562, allocations: 1.765 MB / 0.8442 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/0.6563, allocations: 115.2 kB / 0.8443 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.6565, allocations: 149.6 kB / 0.8444 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.6597, allocations: 1.996 MB / 0.8464 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.6598, allocations: 5.375 kB / 0.8464 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.6599, allocations: 57.97 kB / 0.8464 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.66, allocations: 42.19 kB / 0.8465 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.6627, allocations: 1.792 MB / 0.8482 GB, free: 13.84 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.009649/0.6724, allocations: 7.603 MB / 0.8556 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.6741, allocations: 1.442 MB / 0.8571 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.6749, allocations: 0.6668 MB / 0.8577 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005286/0.6802, allocations: 3.851 MB / 0.8615 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6802, allocations: 43.31 kB / 0.8615 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.6802, allocations: 0 / 0.8615 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.002226/0.6825, allocations: 1.519 MB / 0.863 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.6825, allocations: 61.81 kB / 0.8631 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.6845, allocations: 1.617 MB / 0.8646 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.6846, allocations: 51.52 kB / 0.8647 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.685, allocations: 0.7568 MB / 0.8654 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.6853, allocations: 305.3 kB / 0.8657 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.6857, allocations: 296.2 kB / 0.866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.6858, allocations: 363.6 kB / 0.8663 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009628/0.6867, allocations: 0.6938 MB / 0.867 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.688, allocations: 1.022 MB / 0.868 GB, free: 15.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.6902, allocations: 1.62 MB / 0.8696 GB, free: 14.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.6902, allocations: 3.188 kB / 0.8696 GB, free: 14.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003188/0.6934, allocations: 1.953 MB / 0.8715 GB, free: 13.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.6934, allocations: 9.438 kB / 0.8715 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.6935, allocations: 8.5 kB / 0.8715 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.6935, allocations: 18.38 kB / 0.8715 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.6948, allocations: 332.5 kB / 0.8719 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.6948, allocations: 23.78 kB / 0.8719 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.6961, allocations: 199.3 kB / 0.8721 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.6962, allocations: 62.23 kB / 0.8721 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001874/0.6981, allocations: 1.28 MB / 0.8734 GB, free: 12.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/0.6994, allocations: 1.021 MB / 0.8744 GB, free: 12.03 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002081/0.7015, allocations: 1.618 MB / 0.876 GB, free: 10.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/0.7015, allocations: 6.312 kB / 0.876 GB, free: 10.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003052/0.7046, allocations: 1.946 MB / 0.8779 GB, free: 9.848 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7046, allocations: 11.94 kB / 0.8779 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7046, allocations: 8 kB / 0.8779 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7046, allocations: 16 kB / 0.8779 GB, free: 9.812 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7059, allocations: 335.5 kB / 0.8782 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.7059, allocations: 23.92 kB / 0.8782 GB, free: 9.461 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.7071, allocations: 154.8 kB / 0.8784 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.7072, allocations: 63.42 kB / 0.8785 GB, free: 9.254 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.0003622/0.7076, allocations: 268.1 kB / 0.8787 GB, free: 8.984 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.7079, allocations: 150.1 kB / 0.8788 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.71, allocations: 1.272 MB / 0.8801 GB, free: 7.559 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.7115, allocations: 1.284 MB / 0.8813 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7116, allocations: 3.844 kB / 0.8813 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.7123, allocations: 391 kB / 0.8817 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.7125, allocations: 23.91 kB / 0.8817 GB, free: 5.766 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/0.7132, allocations: 58.62 kB / 0.8818 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.7133, allocations: 44.94 kB / 0.8818 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002109/0.7154, allocations: 1.251 MB / 0.8831 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002587/0.718, allocations: 2.017 MB / 0.885 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006497/0.7187, allocations: 0.527 MB / 0.8856 GB, free: 1.844 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001625/0.7203, allocations: 1.149 MB / 0.8867 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of Backend: time 3.11e-07/0.7203, allocations: 0 / 0.8867 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004835/0.7252, allocations: 2.3 MB / 0.8889 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of SimCode: time 0.007173/0.7323, allocations: 4.345 MB / 0.8932 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of Templates: time 0.06344/0.7958, allocations: 41.92 MB / 0.9341 GB, free: 0.6016 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)