Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.103/2.103, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001889/0.001889, allocations: 180.6 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009252/0.0009252, allocations: 90.38 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006268, allocations: 15.97 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1888, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03006/0.2189, allocations: 26.28 MB / 0.9252 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.231, allocations: 7.305 MB / 0.9323 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.2323, allocations: 27.81 kB / 0.9323 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2335, allocations: 282.1 kB / 0.9326 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.2364, allocations: 0.8055 MB / 0.9334 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.2395, allocations: 0.7598 MB / 0.9341 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006059/0.2456, allocations: 5.248 MB / 0.9392 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.2482, allocations: 1.71 MB / 0.9409 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.2509, allocations: 1.299 MB / 0.9422 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.253, allocations: 1.237 MB / 0.9434 GB, free: 20.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.2533, allocations: 80 kB / 0.9435 GB, free: 20.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.2561, allocations: 0.9788 MB / 0.9444 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.2566, allocations: 350.6 kB / 0.9448 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.2572, allocations: 420.7 kB / 0.9452 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.261, allocations: 2.79 MB / 0.9479 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.261, allocations: 0 / 0.9479 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.637e-06/0.2611, allocations: 0 / 0.9479 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.625e-05/0.2611, allocations: 3.938 kB / 0.9479 GB, free: 15.77 MB / 0.6042 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.005943/0.2671, allocations: 2.137 MB / 0.95 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2671, allocations: 8.031 kB / 0.95 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.2682, allocations: 230.5 kB / 0.9502 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.2723, allocations: 1.696 MB / 0.9519 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.122e-05/0.2724, allocations: 118.7 kB / 0.952 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.2727, allocations: 151.9 kB / 0.9521 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.277, allocations: 1.962 MB / 0.954 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/0.2771, allocations: 7.938 kB / 0.954 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.2773, allocations: 56 kB / 0.9541 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.2774, allocations: 39.98 kB / 0.9541 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004061/0.2815, allocations: 1.786 MB / 0.9559 GB, free: 7.402 MB / 0.6042 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.01587/0.2974, allocations: 7.601 MB / 0.9633 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.3006, allocations: 1.44 MB / 0.9647 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.3022, allocations: 0.664 MB / 0.9654 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.3127, allocations: 3.835 MB / 0.9691 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.3128, allocations: 47.5 kB / 0.9691 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 4.588e-06/0.3128, allocations: 0 / 0.9691 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.004094/0.3169, allocations: 1.494 MB / 0.9706 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.317, allocations: 68.41 kB / 0.9707 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.3203, allocations: 1.57 MB / 0.9722 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.3206, allocations: 53.69 kB / 0.9723 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/0.3216, allocations: 0.7495 MB / 0.973 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.3221, allocations: 311.5 kB / 0.9733 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3222, allocations: 28 kB / 0.9733 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3224, allocations: 361.9 kB / 0.9737 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.3242, allocations: 0.6792 MB / 0.9743 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.3264, allocations: 1.016 MB / 0.9753 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.3286, allocations: 0.8689 MB / 0.9762 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3287, allocations: 4 kB / 0.9762 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005243/0.3339, allocations: 1.943 MB / 0.9781 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003152/0.3343, allocations: 355.3 kB / 0.9784 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.3343, allocations: 8 kB / 0.9784 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.943e-05/0.3344, allocations: 16 kB / 0.9784 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.337, allocations: 339.5 kB / 0.9787 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/0.337, allocations: 15.94 kB / 0.9788 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.3393, allocations: 222.1 kB / 0.979 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.3395, allocations: 59.98 kB / 0.979 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3395, allocations: 4 kB / 0.979 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004633/0.3442, allocations: 1.788 MB / 0.9808 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.3442, allocations: 8 kB / 0.9808 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.3443, allocations: 19.94 kB / 0.9808 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/0.3468, allocations: 339.5 kB / 0.9811 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/0.3469, allocations: 19.94 kB / 0.9812 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.3489, allocations: 186.7 kB / 0.9813 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.3492, allocations: 63.98 kB / 0.9814 GB, free: 12.29 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0016/0.3508, allocations: 0.7502 MB / 0.9821 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.3513, allocations: 150.1 kB / 0.9823 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.3547, allocations: 1.277 MB / 0.9835 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00252/0.3572, allocations: 1.284 MB / 0.9848 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3573, allocations: 0 / 0.9848 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.3585, allocations: 402.9 kB / 0.9852 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.3589, allocations: 27.98 kB / 0.9852 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.3603, allocations: 61.84 kB / 0.9852 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3604, allocations: 48.92 kB / 0.9853 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003699/0.3642, allocations: 1.259 MB / 0.9865 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00448/0.3687, allocations: 2.017 MB / 0.9885 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/0.3699, allocations: 0.5192 MB / 0.989 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002482/0.3724, allocations: 1.11 MB / 0.9901 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of Backend: time 8.11e-07/0.3724, allocations: 0 / 0.9901 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006971/0.3794, allocations: 2.28 MB / 0.9923 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01334/0.3927, allocations: 5.01 MB / 0.9972 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.09992/0.4927, allocations: 38.34 MB / 1.035 GB, free: 5.801 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)