Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 82.64 kB / 19.94 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 164.5 kB / 23.22 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9109/0.9109, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.5547 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.721e-05, allocations: 3.094 kB / 0.5547 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02906/0.0291, allocations: 26.31 MB / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.04037, allocations: 7.306 MB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.04175, allocations: 51.56 kB / 0.5875 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.04302, allocations: 413.1 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.04628, allocations: 1.102 MB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.04943, allocations: 1.124 MB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007089/0.05652, allocations: 5.11 MB / 0.5951 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.05913, allocations: 1.544 MB / 0.5966 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005885/0.06501, allocations: 2.617 MB / 0.5992 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.06796, allocations: 1.457 MB / 0.6006 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004044/0.06837, allocations: 228 kB / 0.6008 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.07112, allocations: 1.162 MB / 0.6019 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.07179, allocations: 0.5839 MB / 0.6025 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.07324, allocations: 0.8147 MB / 0.6033 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.07833, allocations: 3.83 MB / 0.607 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.07834, allocations: 0 / 0.607 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.016e-06/0.07834, allocations: 4 kB / 0.607 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.0784, allocations: 0 / 0.607 GB, free: 12.86 MB / 0.5137 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.004877/0.08327, allocations: 2.522 MB / 0.6095 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.08332, allocations: 12.62 kB / 0.6095 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.08412, allocations: 239.6 kB / 0.6097 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.08727, allocations: 1.787 MB / 0.6115 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/0.08736, allocations: 110.7 kB / 0.6116 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.08761, allocations: 156 kB / 0.6117 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.09085, allocations: 2.223 MB / 0.6139 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.09089, allocations: 7.938 kB / 0.6139 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.09103, allocations: 56 kB / 0.614 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.09108, allocations: 36 kB / 0.614 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.09389, allocations: 1.798 MB / 0.6158 GB, free: 3.707 MB / 0.5137 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.01065/0.1045, allocations: 6.147 MB / 0.6218 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.1065, allocations: 1.312 MB / 0.6231 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008939/0.1074, allocations: 0.6193 MB / 0.6237 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005666/0.113, allocations: 2.416 MB / 0.626 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.1131, allocations: 43.56 kB / 0.6261 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/0.1131, allocations: 0 / 0.6261 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88): time 0.002578/0.1157, allocations: 1.499 MB / 0.6275 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1157, allocations: 60.41 kB / 0.6276 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.1178, allocations: 1.425 MB / 0.629 GB, free: 6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.1179, allocations: 49.7 kB / 0.629 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.1186, allocations: 0.7894 MB / 0.6298 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.1189, allocations: 337.1 kB / 0.6301 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.1194, allocations: 287.5 kB / 0.6304 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1195, allocations: 365.9 kB / 0.6307 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.1206, allocations: 0.6878 MB / 0.6314 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.122, allocations: 1.153 MB / 0.6325 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.1243, allocations: 1.62 MB / 0.6341 GB, free: 424 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.1243, allocations: 4 kB / 0.6341 GB, free: 420 kB / 0.5294 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003263/0.1276, allocations: 1.948 MB / 0.636 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1276, allocations: 8 kB / 0.636 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.1276, allocations: 12 kB / 0.636 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/0.1276, allocations: 16 kB / 0.6361 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.1289, allocations: 331.5 kB / 0.6364 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.1289, allocations: 23.88 kB / 0.6364 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.1301, allocations: 183.2 kB / 0.6366 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.1302, allocations: 71.97 kB / 0.6366 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001994/0.1322, allocations: 1.278 MB / 0.6379 GB, free: 12.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.1336, allocations: 1.146 MB / 0.639 GB, free: 11.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002236/0.1359, allocations: 1.62 MB / 0.6406 GB, free: 9.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.243e-06/0.1359, allocations: 4 kB / 0.6406 GB, free: 9.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003221/0.1391, allocations: 1.945 MB / 0.6425 GB, free: 7.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1391, allocations: 13.81 kB / 0.6425 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1391, allocations: 8 kB / 0.6425 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1392, allocations: 16 kB / 0.6425 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.1404, allocations: 339.5 kB / 0.6429 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/0.1404, allocations: 19.94 kB / 0.6429 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.1415, allocations: 151.3 kB / 0.643 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.1416, allocations: 59.98 kB / 0.6431 GB, free: 6.941 MB / 0.545 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.0003799/0.142, allocations: 259.9 kB / 0.6433 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.1423, allocations: 147 kB / 0.6435 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.1445, allocations: 1.271 MB / 0.6447 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.1445, allocations: 8 kB / 0.6447 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1445, allocations: 0 / 0.6447 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/0.1461, allocations: 1.284 MB / 0.646 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/0.1506, allocations: 2.587 MB / 0.6485 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1506, allocations: 0 / 0.6485 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.1514, allocations: 183.8 kB / 0.6487 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.1514, allocations: 4 kB / 0.6487 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.1515, allocations: 23.98 kB / 0.6487 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.1515, allocations: 4 kB / 0.6487 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1515, allocations: 7.938 kB / 0.6487 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.1544, allocations: 1.9 MB / 0.6506 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/0.1551, allocations: 303 kB / 0.6508 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.1554, allocations: 27.98 kB / 0.6509 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.1561, allocations: 47.94 kB / 0.6509 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.1562, allocations: 56.83 kB / 0.651 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.1563, allocations: 35.98 kB / 0.651 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001577/0.1579, allocations: 0.9964 MB / 0.652 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1579, allocations: 0 / 0.652 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002817/0.1607, allocations: 0.9744 MB / 0.6529 GB, free: 12.67 MB / 0.5606 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.0007742/0.1615, allocations: 369 kB / 0.6533 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003675/0.1652, allocations: 2.231 MB / 0.6555 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1652, allocations: 0 / 0.6555 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.1659, allocations: 0.4935 MB / 0.6559 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.1689, allocations: 0.6942 MB / 0.6566 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005999/0.1749, allocations: 3.507 MB / 0.66 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.1764, allocations: 1.101 MB / 0.6611 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002236/0.1786, allocations: 0.8547 MB / 0.662 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.1791, allocations: 128.5 kB / 0.6621 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.1791, allocations: 0 / 0.6621 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.05018/0.2292, allocations: 30.74 MB / 0.6921 GB, free: 5.098 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5131151005625725] Failed to read output from testmodel.py, exit status != 0: 0.23863087967038155 0.583219893 0.501176769 Calling exit ...