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.001296/0.001297, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.01061/0.01061, allocations: 180.5 kB / 16.26 MB, free: 6.605 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 1.003/1.003, allocations: 143.2 MB / 434.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 12 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1849, allocations: 83.41 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4051/0.5901, allocations: 27.7 MB / 0.6249 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.6005, allocations: 7.874 MB / 0.6326 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.602, allocations: 30.56 kB / 0.6326 GB, free: 22.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6031, allocations: 327.5 kB / 0.6329 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.6059, allocations: 0.936 MB / 0.6338 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.6087, allocations: 0.9399 MB / 0.6348 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005279/0.6139, allocations: 6.079 MB / 0.6407 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.6162, allocations: 1.794 MB / 0.6424 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.6189, allocations: 1.326 MB / 0.6437 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.621, allocations: 1.3 MB / 0.645 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.6213, allocations: 77.91 kB / 0.6451 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.6239, allocations: 1.137 MB / 0.6462 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.6243, allocations: 376.9 kB / 0.6466 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.6257, allocations: 0.9768 MB / 0.6475 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.6305, allocations: 3.629 MB / 0.6511 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6306, allocations: 1.25 kB / 0.6511 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6306, allocations: 7.938 kB / 0.6511 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001068/0.6307, allocations: 0 / 0.6511 GB, free: 15.59 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.00556/0.6363, allocations: 2.138 MB / 0.6532 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6363, allocations: 13.03 kB / 0.6532 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.6375, allocations: 230.5 kB / 0.6534 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.6411, allocations: 1.77 MB / 0.6551 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.6412, allocations: 120 kB / 0.6552 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.6416, allocations: 159.4 kB / 0.6554 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/0.6454, allocations: 2.003 MB / 0.6573 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.6455, allocations: 2.281 kB / 0.6573 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.6457, allocations: 57.67 kB / 0.6574 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.6457, allocations: 37.59 kB / 0.6574 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.6487, allocations: 1.798 MB / 0.6592 GB, free: 11.77 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.0126/0.6613, allocations: 7.636 MB / 0.6666 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.6634, allocations: 1.448 MB / 0.6681 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00094/0.6643, allocations: 0.6675 MB / 0.6687 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007175/0.6715, allocations: 3.86 MB / 0.6725 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.6716, allocations: 44.14 kB / 0.6725 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.875e-06/0.6716, allocations: 0 / 0.6725 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003021/0.6746, allocations: 1.513 MB / 0.674 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.6747, allocations: 65.25 kB / 0.6741 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/0.6774, allocations: 1.606 MB / 0.6756 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.6777, allocations: 48.05 kB / 0.6757 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.6783, allocations: 0.7607 MB / 0.6764 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.6787, allocations: 312.8 kB / 0.6767 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.6789, allocations: 130.3 kB / 0.6768 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.679, allocations: 364.4 kB / 0.6772 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.6803, allocations: 0.6801 MB / 0.6779 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.6816, allocations: 1.022 MB / 0.6788 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.6838, allocations: 1.622 MB / 0.6804 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.6838, allocations: 2.406 kB / 0.6804 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003589/0.6874, allocations: 1.956 MB / 0.6823 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.6877, allocations: 356.5 kB / 0.6827 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6877, allocations: 8.812 kB / 0.6827 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.6877, allocations: 19.91 kB / 0.6827 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.689, allocations: 336 kB / 0.683 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.689, allocations: 19.75 kB / 0.6831 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.6907, allocations: 218.9 kB / 0.6833 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.6908, allocations: 61.33 kB / 0.6833 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6908, allocations: 4.969 kB / 0.6833 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002765/0.6936, allocations: 1.801 MB / 0.6851 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.6936, allocations: 13.91 kB / 0.6851 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6936, allocations: 15.69 kB / 0.6851 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.6948, allocations: 335.4 kB / 0.6854 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.6949, allocations: 19.88 kB / 0.6854 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.6967, allocations: 183.6 kB / 0.6856 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.6968, allocations: 61.55 kB / 0.6857 GB, free: 13.11 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.001503/0.6983, allocations: 0.7534 MB / 0.6864 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/0.6988, allocations: 154.3 kB / 0.6866 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.701, allocations: 1.286 MB / 0.6878 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.701, allocations: 12.84 kB / 0.6878 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.701, allocations: 1.25 kB / 0.6878 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.7025, allocations: 1.282 MB / 0.6891 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.7073, allocations: 2.945 MB / 0.692 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7074, allocations: 2.812 kB / 0.692 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.7081, allocations: 183.1 kB / 0.6921 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.7081, allocations: 10.56 kB / 0.6922 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.7082, allocations: 22.23 kB / 0.6922 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.7082, allocations: 6.781 kB / 0.6922 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7082, allocations: 128 / 0.6922 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.7109, allocations: 1.921 MB / 0.6941 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.7119, allocations: 429 kB / 0.6945 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.7122, allocations: 22.86 kB / 0.6945 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.7132, allocations: 72.78 kB / 0.6946 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.7133, allocations: 66.97 kB / 0.6946 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.7134, allocations: 39.22 kB / 0.6947 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001881/0.7153, allocations: 1.206 MB / 0.6958 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7153, allocations: 0 / 0.6958 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002767/0.718, allocations: 0.9007 MB / 0.6967 GB, free: 5.625 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.0008341/0.7189, allocations: 376 kB / 0.6971 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003448/0.7223, allocations: 2.32 MB / 0.6993 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7224, allocations: 0 / 0.6993 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.723, allocations: 0.5264 MB / 0.6999 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/0.7275, allocations: 0.8686 MB / 0.7007 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.7334, allocations: 4.409 MB / 0.705 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.7347, allocations: 1.686 MB / 0.7067 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002933/0.7377, allocations: 0.9231 MB / 0.7076 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.7381, allocations: 127.4 kB / 0.7077 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.7381, allocations: 0 / 0.7077 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.05455/0.7927, allocations: 34.19 MB / 0.7411 GB, free: 8.617 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)