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.0008841/0.000884, allocations: 92.78 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.001169/0.001169, allocations: 181.3 kB / 16.92 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.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.9884/0.9884, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3079/0.4748, allocations: 27.7 MB / 0.6256 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009482/0.4843, allocations: 7.871 MB / 0.6332 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.4857, allocations: 32.62 kB / 0.6333 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4868, allocations: 326.2 kB / 0.6336 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.4897, allocations: 0.9409 MB / 0.6345 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.4924, allocations: 0.9398 MB / 0.6354 GB, free: 21.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005183/0.4976, allocations: 6.083 MB / 0.6414 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.4996, allocations: 1.787 MB / 0.6431 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.5018, allocations: 1.327 MB / 0.6444 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.5036, allocations: 1.298 MB / 0.6457 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.5038, allocations: 78.75 kB / 0.6457 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.5063, allocations: 1.14 MB / 0.6469 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.5067, allocations: 379.8 kB / 0.6472 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.508, allocations: 0.9809 MB / 0.6482 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.5116, allocations: 3.015 MB / 0.6511 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5117, allocations: 0.8438 kB / 0.6511 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5117, allocations: 0 / 0.6511 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.614e-05/0.5118, allocations: 4.75 kB / 0.6511 GB, free: 16.04 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.005471/0.5172, allocations: 2.139 MB / 0.6532 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.5173, allocations: 9.344 kB / 0.6532 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.5185, allocations: 235.8 kB / 0.6534 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.522, allocations: 1.773 MB / 0.6552 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.5222, allocations: 115.1 kB / 0.6553 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/0.5226, allocations: 157.1 kB / 0.6554 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.5262, allocations: 1.997 MB / 0.6574 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.5262, allocations: 10.5 kB / 0.6574 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.5264, allocations: 53.56 kB / 0.6575 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/0.5265, allocations: 42.28 kB / 0.6575 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.5294, allocations: 1.797 MB / 0.6592 GB, free: 12.22 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.01186/0.5412, allocations: 7.635 MB / 0.6667 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.5432, allocations: 1.45 MB / 0.6681 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009372/0.5442, allocations: 0.6684 MB / 0.6688 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006439/0.5506, allocations: 3.854 MB / 0.6725 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5507, allocations: 45.94 kB / 0.6726 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.705e-06/0.5507, allocations: 0 / 0.6726 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002519/0.5532, allocations: 1.512 MB / 0.6741 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.5533, allocations: 62.14 kB / 0.6741 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.5557, allocations: 1.602 MB / 0.6757 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.5558, allocations: 53.02 kB / 0.6757 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/0.5565, allocations: 0.7604 MB / 0.6765 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.5567, allocations: 308 kB / 0.6768 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.5569, allocations: 134.7 kB / 0.6769 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.557, allocations: 363.9 kB / 0.6772 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.5581, allocations: 0.685 MB / 0.6779 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.5594, allocations: 1.021 MB / 0.6789 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.5613, allocations: 1.621 MB / 0.6805 GB, free: 172 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.5613, allocations: 2.594 kB / 0.6805 GB, free: 172 kB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003401/0.5647, allocations: 1.962 MB / 0.6824 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.565, allocations: 356.4 kB / 0.6827 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.565, allocations: 8.344 kB / 0.6828 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/0.565, allocations: 19.59 kB / 0.6828 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.5663, allocations: 332.4 kB / 0.6831 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/0.5664, allocations: 23.62 kB / 0.6831 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.5681, allocations: 221.9 kB / 0.6833 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5682, allocations: 61.7 kB / 0.6834 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5682, allocations: 4.75 kB / 0.6834 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/0.571, allocations: 1.794 MB / 0.6851 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.571, allocations: 8.75 kB / 0.6851 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.571, allocations: 23.42 kB / 0.6852 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.5722, allocations: 335.3 kB / 0.6855 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/0.5723, allocations: 21.19 kB / 0.6855 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5738, allocations: 187.9 kB / 0.6857 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.5739, allocations: 61.61 kB / 0.6857 GB, free: 13.55 MB / 0.5137 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.001384/0.5753, allocations: 0.753 MB / 0.6865 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.5757, allocations: 153.5 kB / 0.6866 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.5779, allocations: 1.286 MB / 0.6879 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.5779, allocations: 8.719 kB / 0.6879 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.578, allocations: 0 / 0.6879 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/0.5795, allocations: 1.29 MB / 0.6892 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/0.5846, allocations: 2.942 MB / 0.692 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.5847, allocations: 0 / 0.692 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.5854, allocations: 184.9 kB / 0.6922 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.5855, allocations: 5.312 kB / 0.6922 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.5855, allocations: 24.02 kB / 0.6922 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.5855, allocations: 6.281 kB / 0.6922 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5855, allocations: 0 / 0.6922 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.5882, allocations: 1.921 MB / 0.6941 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000971/0.5892, allocations: 428.5 kB / 0.6945 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.5895, allocations: 18.59 kB / 0.6945 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.5904, allocations: 78.73 kB / 0.6946 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5906, allocations: 58.14 kB / 0.6947 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.5906, allocations: 47.5 kB / 0.6947 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00177/0.5924, allocations: 1.205 MB / 0.6959 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5924, allocations: 0 / 0.6959 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002659/0.5951, allocations: 0.9046 MB / 0.6968 GB, free: 6.211 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.0008631/0.596, allocations: 362.1 kB / 0.6971 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003567/0.5995, allocations: 2.32 MB / 0.6994 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.5996, allocations: 0 / 0.6994 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.6004, allocations: 0.5248 MB / 0.6999 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/0.6055, allocations: 0.8784 MB / 0.7008 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.612, allocations: 4.387 MB / 0.705 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.6133, allocations: 1.634 MB / 0.7066 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/0.614, allocations: 147.4 kB / 0.7068 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.614, allocations: 0 / 0.7068 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.05046/0.6645, allocations: 32.33 MB / 0.7383 GB, free: 11.83 MB / 0.5606 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)