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.001071/0.001071, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.00111/0.001111, allocations: 186.9 kB / 17.2 MB, free: 5.574 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7601/0.7601, allocations: 126.4 MB / 417.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.88 kB / 0.4953 GB, free: 3.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3987, allocations: 78.78 MB / 0.5723 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02579/0.4246, allocations: 28.57 MB / 0.6002 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.4351, allocations: 7.922 MB / 0.6079 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.4371, allocations: 35.81 kB / 0.6079 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.4386, allocations: 405.2 kB / 0.6083 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.4419, allocations: 1.001 MB / 0.6093 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.445, allocations: 1.076 MB / 0.6104 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006303/0.4513, allocations: 4.923 MB / 0.6152 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.4551, allocations: 2.283 MB / 0.6174 GB, free: 7.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/0.4603, allocations: 1.878 MB / 0.6192 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.4632, allocations: 1.439 MB / 0.6206 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008487/0.4641, allocations: 228 kB / 0.6208 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.4679, allocations: 1.311 MB / 0.6221 GB, free: 3.066 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.469, allocations: 0.5569 MB / 0.6227 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.4714, allocations: 1.159 MB / 0.6238 GB, free: 1.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004934/0.4763, allocations: 3.658 MB / 0.6274 GB, free: 13.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4763, allocations: 3.938 kB / 0.6274 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4763, allocations: 0 / 0.6274 GB, free: 13.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.4764, allocations: 0 / 0.6274 GB, free: 13.67 MB / 478.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.004956/0.4814, allocations: 2.565 MB / 0.6299 GB, free: 11.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4814, allocations: 15.97 kB / 0.6299 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/0.4822, allocations: 226.5 kB / 0.6301 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.485, allocations: 1.729 MB / 0.6318 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.4851, allocations: 110.7 kB / 0.6319 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.4853, allocations: 164 kB / 0.6321 GB, free: 8.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.4883, allocations: 1.994 MB / 0.634 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.4884, allocations: 3.906 kB / 0.634 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.4885, allocations: 63.94 kB / 0.6341 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.4886, allocations: 39.98 kB / 0.6341 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.4913, allocations: 1.794 MB / 0.6359 GB, free: 4.797 MB / 478.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.01155/0.5028, allocations: 7.66 MB / 0.6433 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.5048, allocations: 1.44 MB / 0.6448 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.5057, allocations: 0.6642 MB / 0.6454 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006458/0.5121, allocations: 3.847 MB / 0.6492 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.5122, allocations: 51.5 kB / 0.6492 GB, free: 6.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.525e-06/0.5122, allocations: 0 / 0.6492 GB, free: 6.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002559/0.5148, allocations: 1.51 MB / 0.6507 GB, free: 4.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.5149, allocations: 60.41 kB / 0.6507 GB, free: 4.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.5171, allocations: 1.653 MB / 0.6524 GB, free: 3.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.5173, allocations: 49.7 kB / 0.6524 GB, free: 3.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.5179, allocations: 0.7498 MB / 0.6531 GB, free: 2.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.5182, allocations: 319.4 kB / 0.6534 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.5187, allocations: 291.3 kB / 0.6537 GB, free: 1.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5188, allocations: 369.9 kB / 0.6541 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.5198, allocations: 0.6917 MB / 0.6547 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.5211, allocations: 1.02 MB / 0.6557 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.5231, allocations: 1.62 MB / 0.6573 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.5231, allocations: 4 kB / 0.6573 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003262/0.5264, allocations: 1.955 MB / 0.6592 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.5264, allocations: 8 kB / 0.6592 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5264, allocations: 8 kB / 0.6593 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.5265, allocations: 16 kB / 0.6593 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5277, allocations: 335.5 kB / 0.6596 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/0.5278, allocations: 19.94 kB / 0.6596 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5291, allocations: 198.5 kB / 0.6598 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.5293, allocations: 63.98 kB / 0.6599 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001999/0.5313, allocations: 1.284 MB / 0.6611 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001358/0.5326, allocations: 1.016 MB / 0.6621 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002168/0.5348, allocations: 1.628 MB / 0.6637 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.327e-06/0.5348, allocations: 4 kB / 0.6637 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003335/0.5382, allocations: 1.944 MB / 0.6656 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5382, allocations: 16.03 kB / 0.6656 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5382, allocations: 12 kB / 0.6656 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.5383, allocations: 16 kB / 0.6656 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5395, allocations: 335.5 kB / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.389e-05/0.5396, allocations: 19.94 kB / 0.666 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.541, allocations: 146.9 kB / 0.6661 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.5412, allocations: 63.98 kB / 0.6662 GB, free: 4.504 MB / 0.4981 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.0003821/0.5415, allocations: 255.8 kB / 0.6664 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/0.5421, allocations: 150.2 kB / 0.6666 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.5444, allocations: 1.279 MB / 0.6678 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.5444, allocations: 12 kB / 0.6678 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5444, allocations: 0 / 0.6678 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/0.546, allocations: 1.288 MB / 0.6691 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.5512, allocations: 2.967 MB / 0.672 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.5513, allocations: 0 / 0.672 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.5521, allocations: 191.9 kB / 0.6722 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.5521, allocations: 4 kB / 0.6722 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.5522, allocations: 20 kB / 0.6722 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.5522, allocations: 11.92 kB / 0.6722 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5522, allocations: 4 kB / 0.6722 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.5551, allocations: 1.909 MB / 0.6741 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/0.556, allocations: 406.8 kB / 0.6745 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/0.5565, allocations: 19.98 kB / 0.6745 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/0.5575, allocations: 51.83 kB / 0.6745 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.5576, allocations: 56.92 kB / 0.6746 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.5577, allocations: 27.98 kB / 0.6746 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00228/0.56, allocations: 1.246 MB / 0.6758 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.56, allocations: 0 / 0.6758 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00335/0.5633, allocations: 0.9202 MB / 0.6767 GB, free: 9.469 MB / 0.5137 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.001268/0.5646, allocations: 374.6 kB / 0.6771 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005928/0.5706, allocations: 2.821 MB / 0.6798 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.5706, allocations: 8.188 kB / 0.6798 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.5714, allocations: 0.5209 MB / 0.6803 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/0.5762, allocations: 0.9169 MB / 0.6812 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/0.5828, allocations: 3.706 MB / 0.6849 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.5845, allocations: 1.678 MB / 0.6865 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003069/0.5876, allocations: 0.9243 MB / 0.6874 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/0.5882, allocations: 131.4 kB / 0.6875 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.5882, allocations: 0 / 0.6875 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.06392/0.6522, allocations: 35.76 MB / 0.7225 GB, free: 10.99 MB / 0.5606 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)