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.0009659/0.0009659, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 180.1 kB / 16.92 MB, free: 6.922 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6971/0.6971, allocations: 115.4 MB / 407.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003314, allocations: 12 kB / 495.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 77.5 MB / 0.5598 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4133/0.6067, allocations: 27.67 MB / 0.5868 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.6205, allocations: 7.878 MB / 0.5945 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.6224, allocations: 32.09 kB / 0.5945 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6237, allocations: 328.8 kB / 0.5949 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.6276, allocations: 0.9373 MB / 0.5958 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.6312, allocations: 0.9433 MB / 0.5967 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008469/0.6397, allocations: 6.079 MB / 0.6026 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003843/0.6435, allocations: 1.794 MB / 0.6044 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.6476, allocations: 1.326 MB / 0.6057 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.6508, allocations: 1.292 MB / 0.6069 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.6511, allocations: 77.5 kB / 0.607 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.6546, allocations: 1.137 MB / 0.6081 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004875/0.6551, allocations: 375.1 kB / 0.6085 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.6569, allocations: 0.9796 MB / 0.6094 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.6624, allocations: 3.475 MB / 0.6128 GB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6625, allocations: 0 / 0.6128 GB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.6625, allocations: 0 / 0.6128 GB, free: 5.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.775e-05/0.6626, allocations: 0.9375 kB / 0.6128 GB, free: 5.195 MB / 446.1 MB 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.005757/0.6683, allocations: 2.144 MB / 0.6149 GB, free: 19.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.6684, allocations: 13.69 kB / 0.6149 GB, free: 19.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009849/0.6694, allocations: 227.8 kB / 0.6152 GB, free: 19.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.6724, allocations: 1.772 MB / 0.6169 GB, free: 18.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.6725, allocations: 115.1 kB / 0.617 GB, free: 18.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.6728, allocations: 156.3 kB / 0.6171 GB, free: 18.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.6761, allocations: 2.002 MB / 0.6191 GB, free: 17.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.6761, allocations: 2.375 kB / 0.6191 GB, free: 17.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.6763, allocations: 57.56 kB / 0.6192 GB, free: 16.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/0.6763, allocations: 44.2 kB / 0.6192 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.6791, allocations: 1.799 MB / 0.621 GB, free: 16.06 MB / 462.1 MB 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.01253/0.6917, allocations: 7.613 MB / 0.6284 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.6935, allocations: 1.456 MB / 0.6298 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008583/0.6944, allocations: 0.6658 MB / 0.6305 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006935/0.7013, allocations: 3.84 MB / 0.6342 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.7014, allocations: 43.56 kB / 0.6343 GB, free: 5.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 3.547e-06/0.7014, allocations: 4 kB / 0.6343 GB, free: 5.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.002592/0.704, allocations: 1.51 MB / 0.6357 GB, free: 4.336 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.7041, allocations: 60.41 kB / 0.6358 GB, free: 4.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.7064, allocations: 1.61 MB / 0.6374 GB, free: 2.645 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.7065, allocations: 49.7 kB / 0.6374 GB, free: 2.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/0.7072, allocations: 0.7566 MB / 0.6381 GB, free: 1.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.7075, allocations: 315.1 kB / 0.6384 GB, free: 1.527 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.7077, allocations: 129.6 kB / 0.6386 GB, free: 1.395 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7079, allocations: 365.9 kB / 0.6389 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/0.7089, allocations: 0.6831 MB / 0.6396 GB, free: 356 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.71, allocations: 1.018 MB / 0.6406 GB, free: 15.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.7121, allocations: 1.624 MB / 0.6422 GB, free: 13.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.7121, allocations: 4 kB / 0.6422 GB, free: 13.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003056/0.7151, allocations: 1.948 MB / 0.6441 GB, free: 11.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.7154, allocations: 364.2 kB / 0.6444 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7154, allocations: 8 kB / 0.6444 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.7155, allocations: 16 kB / 0.6444 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7167, allocations: 335.5 kB / 0.6448 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.7168, allocations: 19.94 kB / 0.6448 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.7184, allocations: 222 kB / 0.645 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.7186, allocations: 63.98 kB / 0.6451 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.7186, allocations: 4 kB / 0.6451 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002532/0.7211, allocations: 1.806 MB / 0.6468 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.7212, allocations: 12 kB / 0.6468 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7212, allocations: 16 kB / 0.6468 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7223, allocations: 332.3 kB / 0.6472 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.7223, allocations: 19.94 kB / 0.6472 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.7236, allocations: 186.5 kB / 0.6474 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.7238, allocations: 59.98 kB / 0.6474 GB, free: 7.938 MB / 478.1 MB 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.001335/0.7251, allocations: 0.7542 MB / 0.6482 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.7254, allocations: 154.1 kB / 0.6483 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.7274, allocations: 1.288 MB / 0.6496 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.7274, allocations: 11.98 kB / 0.6496 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7274, allocations: 0 / 0.6496 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.7289, allocations: 1.284 MB / 0.6508 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/0.7331, allocations: 2.932 MB / 0.6537 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7332, allocations: 128 / 0.6537 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.7339, allocations: 195.7 kB / 0.6539 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.734, allocations: 4 kB / 0.6539 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.734, allocations: 27.98 kB / 0.6539 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.7341, allocations: 7.938 kB / 0.6539 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7341, allocations: 0 / 0.6539 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.7367, allocations: 1.917 MB / 0.6558 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.7376, allocations: 426.7 kB / 0.6562 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7378, allocations: 23.98 kB / 0.6562 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008731/0.7387, allocations: 80.75 kB / 0.6563 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.7388, allocations: 49 kB / 0.6563 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.7388, allocations: 43.97 kB / 0.6564 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001868/0.7407, allocations: 1.21 MB / 0.6576 GB, free: 13.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7407, allocations: 0 / 0.6576 GB, free: 13.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003334/0.7441, allocations: 0.9124 MB / 0.6585 GB, free: 12.42 MB / 494.1 MB 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.001075/0.7452, allocations: 359.8 kB / 0.6588 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003629/0.7488, allocations: 2.325 MB / 0.6611 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7488, allocations: 0 / 0.6611 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.7495, allocations: 0.5176 MB / 0.6616 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/0.754, allocations: 0.8649 MB / 0.6624 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.7602, allocations: 4.414 MB / 0.6667 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.7614, allocations: 1.678 MB / 0.6684 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00281/0.7642, allocations: 0.922 MB / 0.6693 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.7646, allocations: 131.3 kB / 0.6694 GB, free: 1.211 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7646, allocations: 0 / 0.6694 GB, free: 1.211 MB / 494.1 MB Notification: Performance of Templates: time 0.05678/0.8214, allocations: 33.94 MB / 0.7025 GB, free: 15.65 MB / 0.5294 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)