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.001164/0.001164, allocations: 76.94 kB / 20.72 MB, free: 3.762 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.001024/0.001024, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.6311/0.6311, allocations: 115 MB / 376 MB, free: 7.465 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 1.904e-06/1.904e-06, allocations: 0 / 428.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.59e-05, allocations: 10.25 kB / 428.8 MB, free: 2.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01326/0.01329, allocations: 10.35 MB / 439.1 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00887/0.02216, allocations: 5.702 MB / 444.8 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009357/0.0231, allocations: 55.56 kB / 444.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.02372, allocations: 250 kB / 445.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.02528, allocations: 0.8776 MB / 446 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.02761, allocations: 1.23 MB / 447.2 MB, free: 224 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2755/0.3032, allocations: 5.101 MB / 452.3 MB, free: 17.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.3065, allocations: 1.678 MB / 454 MB, free: 17.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.3112, allocations: 2.421 MB / 456.4 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.3141, allocations: 1.442 MB / 457.9 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008796/0.3149, allocations: 228.9 kB / 458.1 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.3173, allocations: 1.036 MB / 459.1 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.3178, allocations: 0.5868 MB / 459.7 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.3191, allocations: 0.8281 MB / 460.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.3222, allocations: 2.432 MB / 463 MB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3222, allocations: 0 / 463 MB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3222, allocations: 0 / 463 MB, free: 15.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.254e-05/0.3223, allocations: 0 / 463 MB, free: 15.12 MB / 410.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.003158/0.3255, allocations: 2.28 MB / 465.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3255, allocations: 10.22 kB / 465.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006403/0.3261, allocations: 303.1 kB / 465.5 MB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.3277, allocations: 1.121 MB / 466.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.3278, allocations: 115.2 kB / 466.8 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.3279, allocations: 164.6 kB / 466.9 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3291, allocations: 1.297 MB / 468.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3291, allocations: 7.844 kB / 468.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/0.3292, allocations: 56.56 kB / 468.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.3293, allocations: 47.3 kB / 468.4 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.33, allocations: 0.5044 MB / 468.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.3343, allocations: 3.927 MB / 472.8 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.3349, allocations: 0.5779 MB / 473.4 MB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.3351, allocations: 196.7 kB / 473.6 MB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002059/0.3372, allocations: 1.378 MB / 474.9 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3372, allocations: 51.55 kB / 475 MB, free: 5.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 3.276e-06/0.3372, allocations: 5.234 kB / 475 MB, free: 5.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.0007011/0.3379, allocations: 0.5246 MB / 475.5 MB, free: 4.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.3379, allocations: 61.59 kB / 475.6 MB, free: 4.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/0.3387, allocations: 1.123 MB / 476.7 MB, free: 3.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/0.3388, allocations: 49.7 kB / 476.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.3391, allocations: 0.6413 MB / 477.4 MB, free: 3.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3392, allocations: 331.7 kB / 477.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.3395, allocations: 282.3 kB / 478 MB, free: 2.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.3395, allocations: 302.2 kB / 478.3 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.3398, allocations: 187.6 kB / 478.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3401, allocations: 0.6464 MB / 479.1 MB, free: 1.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.3408, allocations: 0.7947 MB / 479.9 MB, free: 352 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3408, allocations: 0 / 479.9 MB, free: 352 kB / 410.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001035/0.3419, allocations: 0.7826 MB / 480.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.3419, allocations: 16.61 kB / 480.7 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.3419, allocations: 9.406 kB / 480.7 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.3419, allocations: 23.94 kB / 480.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/0.3428, allocations: 366.8 kB / 481.1 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.3428, allocations: 26.08 kB / 481.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.3433, allocations: 139.4 kB / 481.3 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.3434, allocations: 53.28 kB / 481.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004869/0.3439, allocations: 289.7 kB / 481.6 MB, free: 14.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005167/0.3444, allocations: 0.6409 MB / 482.2 MB, free: 13.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008638/0.3452, allocations: 0.7801 MB / 483 MB, free: 13.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.138e-05/0.3453, allocations: 4.594 kB / 483 MB, free: 13.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.001011/0.3463, allocations: 0.7804 MB / 483.8 MB, free: 12.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3463, allocations: 8 kB / 483.8 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3463, allocations: 15.94 kB / 483.8 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3463, allocations: 16 kB / 483.8 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.347, allocations: 361.3 kB / 484.2 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.3471, allocations: 24.53 kB / 484.2 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.3475, allocations: 119.2 kB / 484.3 MB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.3476, allocations: 53.86 kB / 484.4 MB, free: 11.87 MB / 426.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.000249/0.3478, allocations: 264.7 kB / 484.6 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.348, allocations: 114.3 kB / 484.7 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.3489, allocations: 0.5712 MB / 485.3 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3489, allocations: 12.59 kB / 485.3 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3489, allocations: 0 / 485.3 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004458/0.3493, allocations: 0.5854 MB / 485.9 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3512, allocations: 1.361 MB / 487.3 MB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3512, allocations: 4 kB / 487.3 MB, free: 9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.3517, allocations: 202.2 kB / 487.5 MB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.3517, allocations: 7.469 kB / 487.5 MB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.3518, allocations: 23.98 kB / 487.5 MB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3518, allocations: 4 kB / 487.5 MB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3518, allocations: 1.156 kB / 487.5 MB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.3526, allocations: 0.7307 MB / 488.2 MB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.3529, allocations: 199 kB / 488.4 MB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.353, allocations: 25.94 kB / 488.5 MB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.3533, allocations: 24.73 kB / 488.5 MB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.3534, allocations: 57.58 kB / 488.5 MB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.3535, allocations: 23.98 kB / 488.6 MB, free: 7.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007447/0.3542, allocations: 0.5514 MB / 489.1 MB, free: 7.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 489.1 MB, free: 7.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001894/0.3561, allocations: 0.9673 MB / 490.1 MB, free: 6.25 MB / 426.7 MB 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.000521/0.3566, allocations: 246.8 kB / 490.3 MB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3579, allocations: 0.9573 MB / 491.3 MB, free: 5.199 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.659e-05/0.3579, allocations: 21.38 kB / 491.3 MB, free: 5.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.3582, allocations: 206.8 kB / 491.5 MB, free: 4.992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.3598, allocations: 0.7224 MB / 492.2 MB, free: 4.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.3637, allocations: 2.755 MB / 495 MB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3641, allocations: 412.4 kB / 495.4 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009739/0.3651, allocations: 310.7 kB / 495.7 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.3661, allocations: 0.5067 MB / 496.2 MB, free: 472 kB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3661, allocations: 0.5 kB / 496.2 MB, free: 472 kB / 426.7 MB Notification: Performance of Templates: time 0.04209/0.4082, allocations: 33.08 MB / 0.5169 GB, free: 332 kB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.417803023941815]