Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001062/0.001062, allocations: 105 kB / 16.41 MB, free: 6.461 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.0009647/0.000965, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7022/0.7022, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 64.39 kB / 0.5577 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1412, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02775/0.1689, allocations: 28.54 MB / 0.6599 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1809, allocations: 7.903 MB / 0.6677 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.1823, allocations: 39.75 kB / 0.6677 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1836, allocations: 409.2 kB / 0.6681 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.1862, allocations: 1.006 MB / 0.6691 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.1889, allocations: 1.076 MB / 0.6701 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004869/0.1938, allocations: 4.924 MB / 0.6749 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.1964, allocations: 2.289 MB / 0.6772 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.1996, allocations: 1.818 MB / 0.6789 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2016, allocations: 1.459 MB / 0.6804 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.2019, allocations: 231.9 kB / 0.6806 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.2043, allocations: 1.322 MB / 0.6819 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.2047, allocations: 0.5452 MB / 0.6824 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.206, allocations: 1.159 MB / 0.6835 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.2098, allocations: 3.677 MB / 0.6871 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2099, allocations: 0 / 0.6871 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2099, allocations: 7.922 kB / 0.6871 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.2099, allocations: 0 / 0.6871 GB, free: 11.82 MB / 0.5294 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.004366/0.2143, allocations: 2.561 MB / 0.6896 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2143, allocations: 8.031 kB / 0.6897 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.2151, allocations: 230.5 kB / 0.6899 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.2177, allocations: 1.804 MB / 0.6916 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.2178, allocations: 114.7 kB / 0.6917 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.218, allocations: 156 kB / 0.6919 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.2209, allocations: 1.998 MB / 0.6938 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.2209, allocations: 0 / 0.6938 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.221, allocations: 60 kB / 0.6939 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.2211, allocations: 39.94 kB / 0.6939 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.2235, allocations: 1.798 MB / 0.6957 GB, free: 2.879 MB / 0.5294 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.01142/0.235, allocations: 7.59 MB / 0.7031 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.2368, allocations: 1.452 MB / 0.7045 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/0.2376, allocations: 0.6649 MB / 0.7052 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006013/0.2436, allocations: 3.854 MB / 0.7089 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.2437, allocations: 55.5 kB / 0.709 GB, free: 4.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 3.076e-06/0.2437, allocations: 0 / 0.709 GB, free: 4.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.002601/0.2463, allocations: 1.502 MB / 0.7105 GB, free: 3.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2464, allocations: 64.41 kB / 0.7105 GB, free: 3.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.2486, allocations: 1.649 MB / 0.7121 GB, free: 1.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.2487, allocations: 49.7 kB / 0.7122 GB, free: 1.297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/0.2492, allocations: 0.7537 MB / 0.7129 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.2495, allocations: 307.5 kB / 0.7132 GB, free: 236 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.2499, allocations: 299.5 kB / 0.7135 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2501, allocations: 361.9 kB / 0.7138 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/0.251, allocations: 0.6956 MB / 0.7145 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2522, allocations: 1.028 MB / 0.7155 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.2541, allocations: 1.62 MB / 0.7171 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2542, allocations: 0 / 0.7171 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002906/0.2571, allocations: 1.959 MB / 0.719 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2571, allocations: 9.562 kB / 0.719 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2571, allocations: 8 kB / 0.719 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.2572, allocations: 19.98 kB / 0.7191 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.2584, allocations: 331.5 kB / 0.7194 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.2584, allocations: 23.92 kB / 0.7194 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.2596, allocations: 202.1 kB / 0.7196 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.2597, allocations: 60.31 kB / 0.7196 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001785/0.2615, allocations: 1.292 MB / 0.7209 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/0.2626, allocations: 1.024 MB / 0.7219 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001892/0.2645, allocations: 1.624 MB / 0.7235 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.2645, allocations: 0 / 0.7235 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002821/0.2673, allocations: 1.944 MB / 0.7254 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2674, allocations: 8.188 kB / 0.7254 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2674, allocations: 12 kB / 0.7254 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2674, allocations: 16 kB / 0.7254 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.2686, allocations: 335.5 kB / 0.7257 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.2686, allocations: 23.92 kB / 0.7258 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.2697, allocations: 150.9 kB / 0.7259 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.2698, allocations: 59.98 kB / 0.726 GB, free: 2.617 MB / 0.5606 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.0003287/0.2701, allocations: 267.5 kB / 0.7262 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.2704, allocations: 150.1 kB / 0.7264 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.2724, allocations: 1.283 MB / 0.7276 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2724, allocations: 8 kB / 0.7276 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2724, allocations: 0 / 0.7276 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.2738, allocations: 1.284 MB / 0.7289 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.2776, allocations: 2.955 MB / 0.7318 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2777, allocations: 0 / 0.7318 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.2784, allocations: 191.9 kB / 0.7319 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.2784, allocations: 4 kB / 0.7319 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.2785, allocations: 23.98 kB / 0.732 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2785, allocations: 4 kB / 0.732 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2785, allocations: 0 / 0.732 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.2809, allocations: 1.921 MB / 0.7339 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.2815, allocations: 402.8 kB / 0.7342 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.2817, allocations: 20 kB / 0.7343 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.2825, allocations: 59.86 kB / 0.7343 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.2826, allocations: 56.86 kB / 0.7344 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.2827, allocations: 31.98 kB / 0.7344 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00156/0.2842, allocations: 1.234 MB / 0.7356 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2842, allocations: 0 / 0.7356 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00219/0.2864, allocations: 0.924 MB / 0.7365 GB, free: 7.59 MB / 0.5762 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.0007671/0.2872, allocations: 367.4 kB / 0.7369 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.2906, allocations: 2.331 MB / 0.7391 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2906, allocations: 0 / 0.7391 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.2912, allocations: 0.5226 MB / 0.7396 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.2949, allocations: 0.9178 MB / 0.7405 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3022/0.5971, allocations: 3.666 MB / 0.7441 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.5988, allocations: 1.678 MB / 0.7458 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002626/0.6014, allocations: 0.9133 MB / 0.7466 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.6018, allocations: 133.6 kB / 0.7468 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.6018, allocations: 2.156 kB / 0.7468 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.04942/0.6512, allocations: 36.11 MB / 0.782 GB, free: 83.32 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)