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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 119 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 187.7 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8524/0.8524, allocations: 128.4 MB / 432.4 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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 0.001905/0.001905, allocations: 63.83 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4386, allocations: 83.26 MB / 0.68 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03143/0.47, allocations: 28.8 MB / 0.7081 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.4835, allocations: 7.929 MB / 0.7159 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.4853, allocations: 38.12 kB / 0.7159 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.4866, allocations: 428.8 kB / 0.7163 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.4902, allocations: 1.058 MB / 0.7174 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.4934, allocations: 1.076 MB / 0.7184 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006547/0.5, allocations: 4.926 MB / 0.7232 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.5029, allocations: 1.941 MB / 0.7251 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.5079, allocations: 1.92 MB / 0.727 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.5106, allocations: 1.498 MB / 0.7285 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004928/0.5111, allocations: 235.9 kB / 0.7287 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.5144, allocations: 1.318 MB / 0.73 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007372/0.5152, allocations: 0.5723 MB / 0.7305 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.5171, allocations: 1.163 MB / 0.7317 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006074/0.5232, allocations: 3.71 MB / 0.7353 GB, free: 6.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5232, allocations: 0 / 0.7353 GB, free: 6.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5232, allocations: 0 / 0.7353 GB, free: 6.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.471e-05/0.5233, allocations: 3.938 kB / 0.7353 GB, free: 6.434 MB / 0.545 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.005762/0.529, allocations: 2.625 MB / 0.7379 GB, free: 3.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5291, allocations: 16.03 kB / 0.7379 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.53, allocations: 235.6 kB / 0.7381 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.5334, allocations: 1.812 MB / 0.7399 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5335, allocations: 118.7 kB / 0.74 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.5338, allocations: 148 kB / 0.7401 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.5372, allocations: 1.994 MB / 0.7421 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.5372, allocations: 3.984 kB / 0.7421 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.5374, allocations: 60 kB / 0.7421 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.853e-05/0.5374, allocations: 43.94 kB / 0.7422 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.5404, allocations: 1.798 MB / 0.7439 GB, free: 13.41 MB / 0.5606 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.01257/0.553, allocations: 7.611 MB / 0.7514 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.555, allocations: 1.389 MB / 0.7527 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/0.556, allocations: 0.6225 MB / 0.7533 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006954/0.5629, allocations: 3.854 MB / 0.7571 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.563, allocations: 47.5 kB / 0.7571 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.604e-06/0.563, allocations: 0 / 0.7571 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002718/0.5657, allocations: 1.514 MB / 0.7586 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.5657, allocations: 64.41 kB / 0.7587 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.5683, allocations: 1.653 MB / 0.7603 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.5684, allocations: 46.91 kB / 0.7603 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/0.5692, allocations: 0.7671 MB / 0.7611 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.5696, allocations: 333.2 kB / 0.7614 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.57, allocations: 295.5 kB / 0.7617 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5702, allocations: 365.9 kB / 0.762 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.5714, allocations: 0.6917 MB / 0.7627 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.5728, allocations: 1.028 MB / 0.7637 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.5751, allocations: 1.62 MB / 0.7653 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5751, allocations: 3.938 kB / 0.7653 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0035/0.5786, allocations: 1.96 MB / 0.7672 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.5787, allocations: 8 kB / 0.7672 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.5787, allocations: 15.94 kB / 0.7672 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/0.5787, allocations: 16.03 kB / 0.7672 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.58, allocations: 335.5 kB / 0.7676 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.58, allocations: 15.94 kB / 0.7676 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.5814, allocations: 210.7 kB / 0.7678 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5815, allocations: 59.98 kB / 0.7678 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002039/0.5835, allocations: 1.284 MB / 0.7691 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001403/0.5849, allocations: 1.024 MB / 0.7701 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002273/0.5872, allocations: 1.616 MB / 0.7717 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/0.5872, allocations: 3.938 kB / 0.7717 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003425/0.5907, allocations: 1.96 MB / 0.7736 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5907, allocations: 10.03 kB / 0.7736 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5907, allocations: 8 kB / 0.7736 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5907, allocations: 16 kB / 0.7736 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.592, allocations: 335.5 kB / 0.7739 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.592, allocations: 20.47 kB / 0.774 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5933, allocations: 155.2 kB / 0.7741 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5934, allocations: 59.98 kB / 0.7742 GB, free: 13.2 MB / 0.5919 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.0004015/0.5938, allocations: 259.8 kB / 0.7744 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.5942, allocations: 155 kB / 0.7746 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.5965, allocations: 1.287 MB / 0.7758 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5965, allocations: 12 kB / 0.7758 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5965, allocations: 0 / 0.7758 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/0.5982, allocations: 1.288 MB / 0.7771 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.603, allocations: 2.967 MB / 0.78 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.603, allocations: 0 / 0.78 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.6038, allocations: 191.9 kB / 0.7802 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.6038, allocations: 4 kB / 0.7802 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.6038, allocations: 27.94 kB / 0.7802 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.6039, allocations: 7.984 kB / 0.7802 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6039, allocations: 0 / 0.7802 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.6067, allocations: 1.918 MB / 0.7821 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/0.6075, allocations: 407.7 kB / 0.7825 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.6077, allocations: 28.11 kB / 0.7825 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/0.6085, allocations: 55.89 kB / 0.7825 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6086, allocations: 52.92 kB / 0.7826 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.6087, allocations: 39.92 kB / 0.7826 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001847/0.6105, allocations: 1.242 MB / 0.7839 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6105, allocations: 4 kB / 0.7839 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002419/0.6129, allocations: 0.9203 MB / 0.7848 GB, free: 2.121 MB / 0.5919 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.0008862/0.6138, allocations: 364 kB / 0.7851 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.6175, allocations: 2.216 MB / 0.7873 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6175, allocations: 8.125 kB / 0.7873 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.6183, allocations: 0.4974 MB / 0.7878 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/0.6222, allocations: 0.913 MB / 0.7886 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.6283, allocations: 3.699 MB / 0.7923 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.6298, allocations: 1.637 MB / 0.7939 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.6305, allocations: 147.4 kB / 0.794 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of SimCode: time 1.543e-06/0.6305, allocations: 0 / 0.794 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.05258/0.6831, allocations: 32.96 MB / 0.8262 GB, free: 7.82 MB / 0.6387 GB " [Timeout remaining time 659] 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: 13.180979683063924] Failed to read output from testmodel.py, exit status != 0: 0.6923141030129045 0.704950548 0.178739794 Calling exit ...