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.0008253/0.0008253, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008883/0.0008882, allocations: 172.7 kB / 15.95 MB, free: 208 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.158/1.158, allocations: 223.3 MB / 240 MB, free: 5.324 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.8615/0.8615, allocations: 143.2 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 12 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 83.41 MB / 0.5972 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2367/0.3631, allocations: 26.24 MB / 0.6229 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.3698, allocations: 7.382 MB / 0.6301 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.3705, allocations: 36.28 kB / 0.6301 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.3711, allocations: 291.6 kB / 0.6304 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.3724, allocations: 0.8117 MB / 0.6312 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.3739, allocations: 0.7836 MB / 0.632 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.3771, allocations: 5.257 MB / 0.6371 GB, free: 21.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.3785, allocations: 1.603 MB / 0.6386 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.3801, allocations: 1.311 MB / 0.6399 GB, free: 20.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.3812, allocations: 1.236 MB / 0.6411 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3814, allocations: 79.16 kB / 0.6412 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.383, allocations: 0.9718 MB / 0.6422 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.3832, allocations: 360.9 kB / 0.6425 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.3836, allocations: 428.7 kB / 0.6429 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.3854, allocations: 2.988 MB / 0.6458 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3855, allocations: 0 / 0.6458 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3855, allocations: 0 / 0.6458 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.3855, allocations: 0 / 0.6458 GB, free: 18.93 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.003131/0.3886, allocations: 2.158 MB / 0.6479 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3887, allocations: 10.12 kB / 0.6479 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.3893, allocations: 230.4 kB / 0.6482 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.3916, allocations: 1.748 MB / 0.6499 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.3917, allocations: 115.8 kB / 0.65 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.3919, allocations: 149.6 kB / 0.6501 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.3947, allocations: 1.985 MB / 0.6521 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.3947, allocations: 5 kB / 0.6521 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.3948, allocations: 54.22 kB / 0.6521 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.3949, allocations: 41.06 kB / 0.6522 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.3973, allocations: 1.788 MB / 0.6539 GB, free: 15.14 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.008522/0.4058, allocations: 7.627 MB / 0.6614 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.4074, allocations: 1.444 MB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007725/0.4081, allocations: 0.6638 MB / 0.6634 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004778/0.4129, allocations: 3.852 MB / 0.6672 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.413, allocations: 48.39 kB / 0.6672 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.444e-06/0.413, allocations: 0 / 0.6672 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002011/0.415, allocations: 1.509 MB / 0.6687 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.415, allocations: 61.83 kB / 0.6688 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.4167, allocations: 1.593 MB / 0.6703 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.4168, allocations: 52.39 kB / 0.6704 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.4173, allocations: 0.7606 MB / 0.6711 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.4175, allocations: 309.4 kB / 0.6714 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.4175, allocations: 29.19 kB / 0.6714 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.4176, allocations: 359.3 kB / 0.6718 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008657/0.4185, allocations: 0.6837 MB / 0.6724 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.4195, allocations: 1.011 MB / 0.6734 GB, free: 4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.4205, allocations: 0.8667 MB / 0.6743 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4206, allocations: 2.75 kB / 0.6743 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002352/0.4229, allocations: 1.941 MB / 0.6762 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.423, allocations: 367.3 kB / 0.6765 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.423, allocations: 7.969 kB / 0.6765 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.4231, allocations: 17.19 kB / 0.6765 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.4241, allocations: 338.8 kB / 0.6769 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.4242, allocations: 21.38 kB / 0.6769 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.4251, allocations: 216.7 kB / 0.6771 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/0.4253, allocations: 66.84 kB / 0.6772 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/0.4253, allocations: 3.594 kB / 0.6772 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002181/0.4275, allocations: 1.786 MB / 0.6789 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4275, allocations: 9.375 kB / 0.6789 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4275, allocations: 16.59 kB / 0.6789 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4285, allocations: 332 kB / 0.6792 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.4286, allocations: 20.03 kB / 0.6793 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.4294, allocations: 192 kB / 0.6794 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.4295, allocations: 62.19 kB / 0.6795 GB, free: 1.379 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.0007926/0.4303, allocations: 0.7489 MB / 0.6802 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.4305, allocations: 150.5 kB / 0.6804 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.4322, allocations: 1.287 MB / 0.6816 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4322, allocations: 8.688 kB / 0.6816 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4322, allocations: 0 / 0.6816 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/0.4336, allocations: 1.29 MB / 0.6829 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.4372, allocations: 2.936 MB / 0.6858 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4372, allocations: 1.031 kB / 0.6858 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.4379, allocations: 189.2 kB / 0.686 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.4379, allocations: 8.984 kB / 0.686 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.438, allocations: 23.64 kB / 0.686 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.438, allocations: 4.969 kB / 0.686 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.438, allocations: 5.781 kB / 0.686 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.4402, allocations: 1.911 MB / 0.6879 GB, free: 12.08 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.4408, allocations: 429.2 kB / 0.6883 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.441, allocations: 25.83 kB / 0.6883 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.4417, allocations: 73.55 kB / 0.6884 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.4418, allocations: 55.05 kB / 0.6884 GB, free: 11.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.4419, allocations: 38.75 kB / 0.6885 GB, free: 11.65 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001377/0.4432, allocations: 1.192 MB / 0.6896 GB, free: 11 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4432, allocations: 0 / 0.6896 GB, free: 11 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.001814/0.4451, allocations: 0.9009 MB / 0.6905 GB, free: 10.83 MB / 0.5138 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.0006031/0.4457, allocations: 363.7 kB / 0.6908 GB, free: 10.61 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.00282/0.4485, allocations: 2.306 MB / 0.6931 GB, free: 9.23 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4485, allocations: 4 kB / 0.6931 GB, free: 9.227 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.4491, allocations: 0.5185 MB / 0.6936 GB, free: 8.711 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.4521, allocations: 0.8764 MB / 0.6945 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.4568, allocations: 4.364 MB / 0.6987 GB, free: 3.453 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.4579, allocations: 1.678 MB / 0.7004 GB, free: 1.742 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002085/0.46, allocations: 0.9213 MB / 0.7013 GB, free: 0.8477 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.4603, allocations: 131.4 kB / 0.7014 GB, free: 0.7188 MB / 0.5138 GB Notification: Performance of SimCode: time 2.71e-07/0.4603, allocations: 0 / 0.7014 GB, free: 0.7188 MB / 0.5138 GB Notification: Performance of Templates: time 0.04455/0.5048, allocations: 33.2 MB / 0.7338 GB, free: 15.94 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)