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.001302/0.001302, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001148/0.001148, allocations: 184 kB / 17.22 MB, free: 5.625 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.405/1.405, allocations: 205.1 MB / 223.1 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.826/1.826, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001545/0.001545, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2079, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4207/0.6286, allocations: 28.58 MB / 0.812 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.6405, allocations: 7.843 MB / 0.8196 GB, free: 26.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.6424, allocations: 33.75 kB / 0.8197 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.6437, allocations: 412.1 kB / 0.8201 GB, free: 26.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.6468, allocations: 1.001 MB / 0.8211 GB, free: 26.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.6499, allocations: 1.069 MB / 0.8221 GB, free: 25.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005548/0.6555, allocations: 4.887 MB / 0.8269 GB, free: 23.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/0.6588, allocations: 2.283 MB / 0.8291 GB, free: 22.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007381/0.6662, allocations: 1.786 MB / 0.8308 GB, free: 21.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.6696, allocations: 1.452 MB / 0.8323 GB, free: 20.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000553/0.6702, allocations: 230.3 kB / 0.8325 GB, free: 20.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.6741, allocations: 1.318 MB / 0.8338 GB, free: 20.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.6749, allocations: 0.548 MB / 0.8343 GB, free: 20.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.6772, allocations: 1.155 MB / 0.8354 GB, free: 19.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00649/0.6837, allocations: 3.671 MB / 0.839 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.6838, allocations: 1.531 kB / 0.839 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6838, allocations: 0 / 0.839 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001268/0.6839, allocations: 4 kB / 0.839 GB, free: 18.11 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.009964/0.6939, allocations: 2.546 MB / 0.8415 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.694, allocations: 10.56 kB / 0.8415 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.6953, allocations: 233.4 kB / 0.8417 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.6989, allocations: 1.696 MB / 0.8434 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.6991, allocations: 111.2 kB / 0.8435 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.6994, allocations: 153.3 kB / 0.8436 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.7032, allocations: 1.995 MB / 0.8456 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.7033, allocations: 2.344 kB / 0.8456 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.7035, allocations: 68.66 kB / 0.8457 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.7035, allocations: 38.52 kB / 0.8457 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.7069, allocations: 1.8 MB / 0.8475 GB, free: 14.1 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.0126/0.7195, allocations: 7.592 MB / 0.8549 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.7214, allocations: 1.439 MB / 0.8563 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008727/0.7222, allocations: 0.6677 MB / 0.8569 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006152/0.7284, allocations: 3.847 MB / 0.8607 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.7285, allocations: 46.25 kB / 0.8607 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 3.617e-06/0.7285, allocations: 0 / 0.8607 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.002608/0.7311, allocations: 1.519 MB / 0.8622 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.7311, allocations: 61.47 kB / 0.8623 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.7334, allocations: 1.617 MB / 0.8638 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.7336, allocations: 51.81 kB / 0.8639 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/0.7341, allocations: 0.7528 MB / 0.8646 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.7344, allocations: 312.8 kB / 0.8649 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.7348, allocations: 296.5 kB / 0.8652 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.7349, allocations: 367.4 kB / 0.8656 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.7359, allocations: 0.6938 MB / 0.8662 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.7371, allocations: 1.018 MB / 0.8672 GB, free: 184 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.7393, allocations: 1.626 MB / 0.8688 GB, free: 15.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.7393, allocations: 4.438 kB / 0.8688 GB, free: 15.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003605/0.7429, allocations: 1.947 MB / 0.8707 GB, free: 14.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.743, allocations: 8.844 kB / 0.8707 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.743, allocations: 9 kB / 0.8707 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/0.743, allocations: 15.62 kB / 0.8708 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.7444, allocations: 335.7 kB / 0.8711 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/0.7444, allocations: 19.56 kB / 0.8711 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7462, allocations: 195.2 kB / 0.8713 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.7463, allocations: 65.31 kB / 0.8713 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002265/0.7486, allocations: 1.283 MB / 0.8726 GB, free: 13.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001342/0.75, allocations: 1.017 MB / 0.8736 GB, free: 12.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002231/0.7522, allocations: 1.626 MB / 0.8752 GB, free: 11.28 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.335e-06/0.7522, allocations: 2.875 kB / 0.8752 GB, free: 11.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003525/0.7557, allocations: 1.945 MB / 0.8771 GB, free: 10.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.7558, allocations: 8.812 kB / 0.8771 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7558, allocations: 20.03 kB / 0.8771 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7558, allocations: 14.53 kB / 0.8771 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.7571, allocations: 335.1 kB / 0.8774 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.7571, allocations: 15.94 kB / 0.8775 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.7587, allocations: 154.8 kB / 0.8776 GB, free: 9.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.7589, allocations: 59.98 kB / 0.8777 GB, free: 9.809 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.0004543/0.7593, allocations: 259.8 kB / 0.8779 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.7598, allocations: 150.1 kB / 0.8781 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.762, allocations: 1.283 MB / 0.8793 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.7621, allocations: 8 kB / 0.8793 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.7621, allocations: 0 / 0.8793 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001554/0.7636, allocations: 1.288 MB / 0.8806 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.7685, allocations: 2.947 MB / 0.8835 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.7686, allocations: 4 kB / 0.8835 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.7694, allocations: 187.6 kB / 0.8836 GB, free: 3.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.7694, allocations: 4 kB / 0.8836 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.7695, allocations: 23.98 kB / 0.8837 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.7695, allocations: 11.88 kB / 0.8837 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7695, allocations: 4 kB / 0.8837 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.7724, allocations: 1.918 MB / 0.8856 GB, free: 1.523 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/0.7733, allocations: 394.9 kB / 0.8859 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.7736, allocations: 23.94 kB / 0.886 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/0.7743, allocations: 61.86 kB / 0.886 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.7745, allocations: 48.92 kB / 0.8861 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/0.7745, allocations: 35.98 kB / 0.8861 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001856/0.7764, allocations: 1.222 MB / 0.8873 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7764, allocations: 0.5625 kB / 0.8873 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002992/0.7794, allocations: 0.9124 MB / 0.8882 GB, free: 14.82 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.001034/0.7805, allocations: 366.7 kB / 0.8885 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.7843, allocations: 2.328 MB / 0.8908 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7843, allocations: 4 kB / 0.8908 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.7851, allocations: 0.5146 MB / 0.8913 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004361/0.7895, allocations: 0.9233 MB / 0.8922 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/0.7957, allocations: 3.649 MB / 0.8958 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.7971, allocations: 1.661 MB / 0.8974 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002836/0.7999, allocations: 0.9267 MB / 0.8983 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.8004, allocations: 131.4 kB / 0.8984 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/0.8004, allocations: 7.938 kB / 0.8984 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of Templates: time 0.05982/0.8603, allocations: 35.67 MB / 0.9333 GB, free: 1.16 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)