Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009467/0.0009466, allocations: 99.62 kB / 15.05 MB, free: 1.113 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.0009636/0.0009639, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9453/0.9453, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 8 kB / 0.5158 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 83.41 MB / 0.5973 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2829/0.4408, allocations: 23.95 MB / 0.6207 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008296/0.4491, allocations: 6.879 MB / 0.6274 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.4504, allocations: 30.25 kB / 0.6274 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.4516, allocations: 395.7 kB / 0.6278 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.4544, allocations: 1.027 MB / 0.6288 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.4574, allocations: 1.09 MB / 0.6299 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003702/0.4611, allocations: 2.726 MB / 0.6325 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.4632, allocations: 1.622 MB / 0.6341 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.4654, allocations: 1.168 MB / 0.6353 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.4667, allocations: 0.9284 MB / 0.6362 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.4669, allocations: 80.12 kB / 0.6362 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.4689, allocations: 0.8492 MB / 0.6371 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.4692, allocations: 351.4 kB / 0.6374 GB, free: 22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.4698, allocations: 423 kB / 0.6378 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.4722, allocations: 2.937 MB / 0.6407 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4723, allocations: 0 / 0.6407 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4723, allocations: 0 / 0.6407 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.229e-05/0.4723, allocations: 0 / 0.6407 GB, free: 21.2 MB / 0.4981 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.004153/0.4765, allocations: 2.145 MB / 0.6428 GB, free: 20 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4765, allocations: 7.875 kB / 0.6428 GB, free: 20 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.4774, allocations: 233.8 kB / 0.643 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.4803, allocations: 1.651 MB / 0.6446 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.4804, allocations: 115.2 kB / 0.6447 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.4806, allocations: 147.4 kB / 0.6449 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.4835, allocations: 1.971 MB / 0.6468 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.4836, allocations: 8.719 kB / 0.6468 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.4837, allocations: 62.27 kB / 0.6468 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.4838, allocations: 40 kB / 0.6469 GB, free: 18.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.4866, allocations: 1.787 MB / 0.6486 GB, free: 17.48 MB / 0.4981 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.01217/0.4988, allocations: 7.707 MB / 0.6562 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.5008, allocations: 1.468 MB / 0.6576 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006661/0.5075, allocations: 3.892 MB / 0.6614 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.5076, allocations: 44.31 kB / 0.6614 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.916e-06/0.5076, allocations: 0 / 0.6614 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002543/0.5101, allocations: 1.51 MB / 0.6629 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.5102, allocations: 61.67 kB / 0.663 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.5125, allocations: 1.689 MB / 0.6646 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.5127, allocations: 47.05 kB / 0.6647 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/0.5132, allocations: 0.7494 MB / 0.6654 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.5135, allocations: 319.8 kB / 0.6657 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.5135, allocations: 26.22 kB / 0.6657 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.5136, allocations: 364.5 kB / 0.6661 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.5147, allocations: 0.6753 MB / 0.6667 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.5159, allocations: 1.009 MB / 0.6677 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.5171, allocations: 0.8678 MB / 0.6686 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.5171, allocations: 2.75 kB / 0.6686 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003081/0.5202, allocations: 1.936 MB / 0.6705 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005036/0.5207, allocations: 3.525 MB / 0.6739 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5207, allocations: 10.39 kB / 0.6739 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/0.5208, allocations: 20.77 kB / 0.6739 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.5221, allocations: 354.1 kB / 0.6743 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/0.5221, allocations: 21.53 kB / 0.6743 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.5236, allocations: 221.8 kB / 0.6745 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5237, allocations: 62.06 kB / 0.6746 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.5237, allocations: 4.25 kB / 0.6746 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002553/0.5263, allocations: 1.781 MB / 0.6763 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5263, allocations: 9.781 kB / 0.6763 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.5264, allocations: 21.12 kB / 0.6763 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.5276, allocations: 349.4 kB / 0.6767 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.5276, allocations: 21.77 kB / 0.6767 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.529, allocations: 194.2 kB / 0.6769 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.5291, allocations: 62 kB / 0.6769 GB, free: 0.7188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001237/0.5303, allocations: 0.7521 MB / 0.6777 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.5307, allocations: 147.5 kB / 0.6778 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.5328, allocations: 1.286 MB / 0.6791 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.5328, allocations: 9.562 kB / 0.6791 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5328, allocations: 0 / 0.6791 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001796/0.5346, allocations: 1.278 MB / 0.6803 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/0.54, allocations: 2.978 MB / 0.6832 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5401, allocations: 1.062 kB / 0.6832 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.5409, allocations: 184.9 kB / 0.6834 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.5409, allocations: 4.031 kB / 0.6834 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.541, allocations: 24.36 kB / 0.6834 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.541, allocations: 5.375 kB / 0.6834 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.541, allocations: 1.609 kB / 0.6834 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.5439, allocations: 1.973 MB / 0.6854 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.545, allocations: 450.4 kB / 0.6858 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.5453, allocations: 19.12 kB / 0.6858 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.5462, allocations: 75.22 kB / 0.6859 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.5463, allocations: 57.98 kB / 0.6859 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.5464, allocations: 35.94 kB / 0.686 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001991/0.5484, allocations: 1.262 MB / 0.6872 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.783e-06/0.5484, allocations: 0 / 0.6872 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002662/0.551, allocations: 0.9232 MB / 0.6881 GB, free: 10.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006795/0.5517, allocations: 365.4 kB / 0.6885 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003418/0.5552, allocations: 2.305 MB / 0.6907 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5552, allocations: 4.25 kB / 0.6907 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.5558, allocations: 0.5194 MB / 0.6912 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/0.5595, allocations: 0.86 MB / 0.6921 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.5653, allocations: 4.35 MB / 0.6963 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.5666, allocations: 1.717 MB / 0.698 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002613/0.5692, allocations: 0.922 MB / 0.6989 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.5696, allocations: 139.4 kB / 0.699 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.5696, allocations: 0 / 0.699 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of Templates: time 0.05162/0.6212, allocations: 33.86 MB / 0.7321 GB, free: 1.059 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: