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.001908/0.001908, allocations: 93.47 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002036/0.002036, allocations: 169.2 kB / 23.53 MB, free: 0.8867 MB / 18.57 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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 1/1, allocations: 115 MB / 375.3 MB, free: 7.562 MB / 346.7 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.034e-06/2.034e-06, allocations: 2.625 kB / 480.8 MB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.827e-05, allocations: 3.219 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0324/0.03243, allocations: 29.65 MB / 0.4985 GB, free: 8.398 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.05001, allocations: 8.963 MB / 0.5072 GB, free: 0.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.05169, allocations: 57.19 kB / 0.5073 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.05305, allocations: 410 kB / 0.5076 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.05675, allocations: 1.112 MB / 0.5087 GB, free: 15.63 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.06213, allocations: 1.394 MB / 0.5101 GB, free: 14.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007608/0.06974, allocations: 5.182 MB / 0.5152 GB, free: 9.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.07237, allocations: 1.631 MB / 0.5168 GB, free: 8.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006091/0.07846, allocations: 2.683 MB / 0.5194 GB, free: 5.371 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.08181, allocations: 1.485 MB / 0.5208 GB, free: 3.883 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005065/0.08232, allocations: 232 kB / 0.521 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.08544, allocations: 1.162 MB / 0.5222 GB, free: 2.492 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008028/0.08625, allocations: 0.5917 MB / 0.5228 GB, free: 1.898 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.08787, allocations: 0.8303 MB / 0.5236 GB, free: 1.066 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007456/0.09533, allocations: 3.884 MB / 0.5274 GB, free: 13.17 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.09534, allocations: 4 kB / 0.5274 GB, free: 13.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.09534, allocations: 0 / 0.5274 GB, free: 13.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.09545, allocations: 4 kB / 0.5274 GB, free: 13.16 MB / 458.7 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.006921/0.1024, allocations: 2.901 MB / 0.5302 GB, free: 10.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1024, allocations: 8.031 kB / 0.5302 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.1036, allocations: 379.3 kB / 0.5306 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.1076, allocations: 1.712 MB / 0.5322 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.1077, allocations: 118.7 kB / 0.5324 GB, free: 7.965 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.1081, allocations: 159.9 kB / 0.5325 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.1122, allocations: 2.217 MB / 0.5347 GB, free: 5.457 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/0.1122, allocations: 4 kB / 0.5347 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.1124, allocations: 63.98 kB / 0.5347 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-05/0.1124, allocations: 40 kB / 0.5348 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.1153, allocations: 1.54 MB / 0.5363 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/0.1316, allocations: 8.568 MB / 0.5446 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.1338, allocations: 1.265 MB / 0.5459 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/0.1347, allocations: 0.5652 MB / 0.5464 GB, free: 9.082 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007124/0.1418, allocations: 2.42 MB / 0.5488 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.1419, allocations: 46.39 kB / 0.5488 GB, free: 6.582 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 2.525e-06/0.1419, allocations: 0 / 0.5488 GB, free: 6.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.002815/0.1447, allocations: 1.374 MB / 0.5502 GB, free: 5.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.1447, allocations: 60.41 kB / 0.5502 GB, free: 5.137 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.1478, allocations: 1.89 MB / 0.5521 GB, free: 3.211 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.1479, allocations: 49.7 kB / 0.5521 GB, free: 3.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.149, allocations: 0.9719 MB / 0.5531 GB, free: 2.172 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.1495, allocations: 369.2 kB / 0.5534 GB, free: 1.809 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000614/0.1501, allocations: 389.1 kB / 0.5538 GB, free: 1.422 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.1504, allocations: 480.8 kB / 0.5543 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.1518, allocations: 0.6164 MB / 0.5549 GB, free: 336 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.1536, allocations: 1.335 MB / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.1564, allocations: 1.767 MB / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.1564, allocations: 4 kB / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003812/0.1602, allocations: 1.91 MB / 0.5598 GB, free: 10.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.1602, allocations: 8 kB / 0.5598 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.1603, allocations: 12.09 kB / 0.5598 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.1603, allocations: 20 kB / 0.5598 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.1617, allocations: 355.5 kB / 0.5601 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/0.1617, allocations: 23.94 kB / 0.5602 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.1634, allocations: 198.8 kB / 0.5604 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.1635, allocations: 67.92 kB / 0.5604 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002625/0.1662, allocations: 1.193 MB / 0.5616 GB, free: 8.977 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00183/0.168, allocations: 1.331 MB / 0.5629 GB, free: 7.406 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002721/0.1707, allocations: 1.759 MB / 0.5646 GB, free: 5.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.227e-06/0.1707, allocations: 4 kB / 0.5646 GB, free: 5.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.003728/0.1744, allocations: 1.909 MB / 0.5665 GB, free: 3.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1745, allocations: 8 kB / 0.5665 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.1745, allocations: 12.88 kB / 0.5665 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.1745, allocations: 20 kB / 0.5665 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.1759, allocations: 355.4 kB / 0.5668 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.1759, allocations: 27.92 kB / 0.5669 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.1772, allocations: 155.2 kB / 0.567 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.1774, allocations: 67.98 kB / 0.5671 GB, free: 2.887 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (184): * Single equations (assignments): 184 * 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.0005007/0.1779, allocations: 347.6 kB / 0.5674 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.1783, allocations: 175 kB / 0.5676 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.1809, allocations: 1.166 MB / 0.5687 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.181, allocations: 8 kB / 0.5687 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.181, allocations: 4 kB / 0.5687 GB, free: 1.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001708/0.1827, allocations: 1.16 MB / 0.5699 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005652/0.1883, allocations: 2.905 MB / 0.5727 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.1883, allocations: 4 kB / 0.5727 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.1892, allocations: 179.8 kB / 0.5729 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.1892, allocations: 12.06 kB / 0.5729 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.1893, allocations: 31.97 kB / 0.5729 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.1893, allocations: 4 kB / 0.5729 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1893, allocations: 0 / 0.5729 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.1926, allocations: 1.804 MB / 0.5747 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008971/0.1935, allocations: 286.7 kB / 0.575 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.1937, allocations: 16 kB / 0.575 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.1944, allocations: 48.06 kB / 0.575 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.1946, allocations: 64.83 kB / 0.5751 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.1946, allocations: 35.98 kB / 0.5751 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001841/0.1965, allocations: 1.099 MB / 0.5762 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.1965, allocations: 0 / 0.5762 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003004/0.1995, allocations: 0.9939 MB / 0.5772 GB, free: 8.348 MB / 0.4948 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.0008543/0.2003, allocations: 374.6 kB / 0.5775 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004345/0.2047, allocations: 2.318 MB / 0.5798 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2047, allocations: 4.188 kB / 0.5798 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.2055, allocations: 0.4991 MB / 0.5803 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/0.2088, allocations: 0.732 MB / 0.581 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.2155, allocations: 3.4 MB / 0.5843 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.2168, allocations: 1.012 MB / 0.5853 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002675/0.2195, allocations: 0.7669 MB / 0.586 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.2199, allocations: 124.5 kB / 0.5862 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of SimCode: time 2.094e-06/0.2199, allocations: 0 / 0.5862 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.06185/0.2818, allocations: 31.21 MB / 0.6166 GB, free: 464 kB / 0.5261 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.74489191302564]