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.001656/0.001656, allocations: 97.67 kB / 16.27 MB, free: 5.965 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.001782/0.001782, allocations: 190.7 kB / 17.19 MB, free: 5.594 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.468/1.468, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8452/0.8452, allocations: 126.7 MB / 417.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001965, allocations: 75.89 kB / 0.4958 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 78.85 MB / 0.5728 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0252/0.3967, allocations: 28.57 MB / 0.6007 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.4089, allocations: 7.911 MB / 0.6084 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.411, allocations: 39.75 kB / 0.6084 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.4125, allocations: 413.2 kB / 0.6088 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.4154, allocations: 1.005 MB / 0.6098 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.4186, allocations: 1.059 MB / 0.6108 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005883/0.4245, allocations: 4.935 MB / 0.6157 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.4275, allocations: 2.279 MB / 0.6179 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.4317, allocations: 1.877 MB / 0.6197 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.4339, allocations: 1.439 MB / 0.6211 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.4343, allocations: 231.9 kB / 0.6213 GB, free: 4.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.437, allocations: 1.303 MB / 0.6226 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006101/0.4377, allocations: 0.5608 MB / 0.6232 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.4392, allocations: 1.163 MB / 0.6243 GB, free: 1.102 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.4437, allocations: 3.65 MB / 0.6279 GB, free: 13.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4438, allocations: 0 / 0.6279 GB, free: 13.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4438, allocations: 4 kB / 0.6279 GB, free: 13.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.674e-05/0.4438, allocations: 0 / 0.6279 GB, free: 13.44 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.005041/0.4489, allocations: 2.553 MB / 0.6304 GB, free: 10.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4489, allocations: 12.03 kB / 0.6304 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.4497, allocations: 230.5 kB / 0.6306 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.4526, allocations: 1.73 MB / 0.6323 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/0.4527, allocations: 114.7 kB / 0.6324 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.453, allocations: 159.9 kB / 0.6325 GB, free: 8.535 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.4562, allocations: 2.001 MB / 0.6345 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.4563, allocations: 0 / 0.6345 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.4564, allocations: 63.94 kB / 0.6346 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.4565, allocations: 36 kB / 0.6346 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.4593, allocations: 1.802 MB / 0.6364 GB, free: 4.562 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.01207/0.4714, allocations: 7.657 MB / 0.6438 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.4735, allocations: 1.44 MB / 0.6452 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009712/0.4745, allocations: 0.6623 MB / 0.6459 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00712/0.4816, allocations: 3.851 MB / 0.6496 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.4817, allocations: 47.55 kB / 0.6497 GB, free: 6.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.567e-06/0.4817, allocations: 0 / 0.6497 GB, free: 6.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002745/0.4845, allocations: 1.517 MB / 0.6512 GB, free: 4.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4845, allocations: 64.41 kB / 0.6512 GB, free: 4.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/0.4871, allocations: 1.641 MB / 0.6528 GB, free: 2.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4872, allocations: 49.7 kB / 0.6529 GB, free: 2.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/0.4879, allocations: 0.7652 MB / 0.6536 GB, free: 2.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.4883, allocations: 307.6 kB / 0.6539 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.4887, allocations: 291.3 kB / 0.6542 GB, free: 1.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4889, allocations: 369.9 kB / 0.6546 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.49, allocations: 0.6917 MB / 0.6552 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.4913, allocations: 1.02 MB / 0.6562 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.4936, allocations: 1.628 MB / 0.6578 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.4936, allocations: 4 kB / 0.6578 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003449/0.4971, allocations: 1.944 MB / 0.6597 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.4971, allocations: 14.47 kB / 0.6597 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4971, allocations: 12 kB / 0.6597 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.4972, allocations: 16 kB / 0.6598 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4984, allocations: 335.5 kB / 0.6601 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.007e-05/0.4985, allocations: 23.92 kB / 0.6601 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4998, allocations: 190.1 kB / 0.6603 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.4999, allocations: 63.98 kB / 0.6603 GB, free: 11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001981/0.5019, allocations: 1.285 MB / 0.6616 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001347/0.5032, allocations: 1.02 MB / 0.6626 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002246/0.5055, allocations: 1.624 MB / 0.6642 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/0.5055, allocations: 4 kB / 0.6642 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003513/0.509, allocations: 1.947 MB / 0.6661 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5091, allocations: 12 kB / 0.6661 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.5091, allocations: 8 kB / 0.6661 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5091, allocations: 16 kB / 0.6661 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.5103, allocations: 340.1 kB / 0.6664 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.5104, allocations: 23.94 kB / 0.6665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5117, allocations: 146.8 kB / 0.6666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5118, allocations: 63.98 kB / 0.6667 GB, free: 4.266 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.0003802/0.5122, allocations: 259.8 kB / 0.6669 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.5126, allocations: 154.1 kB / 0.6671 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.5148, allocations: 1.277 MB / 0.6683 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.5148, allocations: 15.97 kB / 0.6683 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5148, allocations: 0 / 0.6683 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/0.5165, allocations: 1.284 MB / 0.6696 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/0.5213, allocations: 2.955 MB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.5213, allocations: 7.984 kB / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.5222, allocations: 187.6 kB / 0.6727 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.5222, allocations: 4 kB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.5223, allocations: 27.98 kB / 0.6727 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.5223, allocations: 11.94 kB / 0.6727 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5223, allocations: 3.938 kB / 0.6727 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.5253, allocations: 1.909 MB / 0.6746 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/0.5261, allocations: 398.9 kB / 0.6749 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.5263, allocations: 23.98 kB / 0.675 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/0.5271, allocations: 55.88 kB / 0.675 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5272, allocations: 56.86 kB / 0.6751 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.5273, allocations: 39.97 kB / 0.6751 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002208/0.5295, allocations: 1.234 MB / 0.6763 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5295, allocations: 0 / 0.6763 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002809/0.5323, allocations: 0.924 MB / 0.6772 GB, free: 9.227 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.0009571/0.5333, allocations: 364.3 kB / 0.6776 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005181/0.5385, allocations: 2.827 MB / 0.6803 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5385, allocations: 1.938 kB / 0.6803 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.5393, allocations: 0.517 MB / 0.6808 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/0.5436, allocations: 0.9187 MB / 0.6817 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006461/0.5501, allocations: 3.702 MB / 0.6853 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.5516, allocations: 1.682 MB / 0.687 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002995/0.5546, allocations: 0.9289 MB / 0.6879 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.555, allocations: 143.3 kB / 0.688 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/0.555, allocations: 4 kB / 0.688 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.06418/0.6192, allocations: 35.74 MB / 0.7229 GB, free: 10.75 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)