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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001123/0.001123, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001085/0.001086, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8523/0.8523, allocations: 143.1 MB / 433.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 0.5143 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3577, allocations: 82.03 MB / 0.5944 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02415/0.3819, allocations: 28.34 MB / 0.6221 GB, free: 3.984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.3936, allocations: 7.876 MB / 0.6298 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.3952, allocations: 35.75 kB / 0.6298 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.3966, allocations: 342.1 kB / 0.6302 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.3996, allocations: 0.9293 MB / 0.6311 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.4025, allocations: 0.9847 MB / 0.632 GB, free: 9.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005573/0.4081, allocations: 4.945 MB / 0.6369 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.4112, allocations: 2.267 MB / 0.6391 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.4157, allocations: 1.799 MB / 0.6408 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.4183, allocations: 1.494 MB / 0.6423 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007538/0.4191, allocations: 228 kB / 0.6425 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.4223, allocations: 1.314 MB / 0.6438 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008713/0.4232, allocations: 0.5414 MB / 0.6443 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.4256, allocations: 1.159 MB / 0.6455 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.4299, allocations: 3.11 MB / 0.6485 GB, free: 8.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4299, allocations: 4 kB / 0.6485 GB, free: 8.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4299, allocations: 0 / 0.6485 GB, free: 8.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.43, allocations: 4 kB / 0.6485 GB, free: 8.918 MB / 494.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.007738/0.4378, allocations: 2.557 MB / 0.651 GB, free: 6.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.4379, allocations: 8.031 kB / 0.651 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.4389, allocations: 234.5 kB / 0.6512 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.4425, allocations: 1.775 MB / 0.653 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/0.4426, allocations: 114.7 kB / 0.6531 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.4429, allocations: 151.9 kB / 0.6532 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/0.4463, allocations: 2.001 MB / 0.6552 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.4464, allocations: 4 kB / 0.6552 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.4465, allocations: 56 kB / 0.6552 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/0.4466, allocations: 44 kB / 0.6553 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.4494, allocations: 1.802 MB / 0.657 GB, free: 0 / 494.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.01169/0.4611, allocations: 7.606 MB / 0.6645 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.463, allocations: 1.448 MB / 0.6659 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.4639, allocations: 0.664 MB / 0.6665 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006411/0.4703, allocations: 3.843 MB / 0.6703 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4704, allocations: 47.56 kB / 0.6703 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.965e-06/0.4704, allocations: 3.938 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002597/0.473, allocations: 1.521 MB / 0.6718 GB, free: 204 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4731, allocations: 60.41 kB / 0.6719 GB, free: 132 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.4753, allocations: 1.598 MB / 0.6734 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.4754, allocations: 53.7 kB / 0.6735 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.476, allocations: 0.7537 MB / 0.6742 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.4763, allocations: 315.4 kB / 0.6745 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.4768, allocations: 303.3 kB / 0.6748 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4769, allocations: 361.9 kB / 0.6752 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009666/0.4779, allocations: 0.6917 MB / 0.6758 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.4791, allocations: 1.016 MB / 0.6768 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.4811, allocations: 1.624 MB / 0.6784 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4811, allocations: 7.938 kB / 0.6784 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003067/0.4842, allocations: 1.952 MB / 0.6803 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.4842, allocations: 8 kB / 0.6803 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4842, allocations: 8 kB / 0.6803 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.4843, allocations: 16 kB / 0.6803 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4855, allocations: 339.5 kB / 0.6807 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/0.4856, allocations: 19.94 kB / 0.6807 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.487, allocations: 218.4 kB / 0.6809 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4871, allocations: 59.98 kB / 0.681 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001871/0.489, allocations: 1.28 MB / 0.6822 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001188/0.4902, allocations: 1.02 MB / 0.6832 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001977/0.4922, allocations: 1.624 MB / 0.6848 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.359e-05/0.4922, allocations: 4 kB / 0.6848 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003056/0.4953, allocations: 1.951 MB / 0.6867 GB, free: 376 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4953, allocations: 8 kB / 0.6867 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4953, allocations: 12 kB / 0.6867 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4954, allocations: 16 kB / 0.6867 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.4966, allocations: 336.2 kB / 0.6871 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.222e-05/0.4966, allocations: 19.98 kB / 0.6871 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.4979, allocations: 166.8 kB / 0.6872 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4981, allocations: 59.98 kB / 0.6873 GB, free: 15.76 MB / 0.5294 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.0003455/0.4984, allocations: 263.8 kB / 0.6875 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.4988, allocations: 146.2 kB / 0.6877 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.5009, allocations: 1.284 MB / 0.6889 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.5009, allocations: 19.88 kB / 0.689 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5009, allocations: 7.984 kB / 0.689 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.5023, allocations: 1.277 MB / 0.6902 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.5065, allocations: 2.943 MB / 0.6931 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5066, allocations: 8.125 kB / 0.6931 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.5074, allocations: 179.8 kB / 0.6933 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.5074, allocations: 4 kB / 0.6933 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.5074, allocations: 23.98 kB / 0.6933 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.5075, allocations: 7.938 kB / 0.6933 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5075, allocations: 7.938 kB / 0.6933 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.51, allocations: 1.917 MB / 0.6952 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.5107, allocations: 398.8 kB / 0.6956 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.511, allocations: 23.94 kB / 0.6956 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/0.5119, allocations: 71.83 kB / 0.6956 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.512, allocations: 64.8 kB / 0.6957 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.512, allocations: 31.98 kB / 0.6957 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00159/0.5136, allocations: 1.207 MB / 0.6969 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5136, allocations: 4 kB / 0.6969 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002327/0.516, allocations: 0.9123 MB / 0.6978 GB, free: 4.754 MB / 0.5294 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.0008463/0.5168, allocations: 363.8 kB / 0.6982 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0044/0.5212, allocations: 2.832 MB / 0.7009 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.5213, allocations: 4 kB / 0.7009 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.522, allocations: 0.517 MB / 0.7014 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/0.5258, allocations: 0.9137 MB / 0.7023 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.5314, allocations: 4.265 MB / 0.7065 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.5326, allocations: 1.634 MB / 0.7081 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.5331, allocations: 143.3 kB / 0.7082 GB, free: 10.09 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.5331, allocations: 4 kB / 0.7082 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Templates: time 0.04674/0.5799, allocations: 32.61 MB / 0.7401 GB, free: 9.684 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (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)