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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 112 kB / 17.33 MB, free: 5.043 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.001254/0.001254, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.458/1.458, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8925/0.8925, allocations: 128.4 MB / 426.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.58 kB / 0.5912 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1852, allocations: 83.25 MB / 0.6725 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03277/0.218, allocations: 28.8 MB / 0.7006 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.232, allocations: 7.928 MB / 0.7083 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.2347, allocations: 43.75 kB / 0.7084 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.2363, allocations: 429.2 kB / 0.7088 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.2399, allocations: 1.049 MB / 0.7098 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003639/0.2435, allocations: 1.094 MB / 0.7109 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007815/0.2513, allocations: 4.939 MB / 0.7157 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.2547, allocations: 1.945 MB / 0.7176 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/0.2598, allocations: 1.924 MB / 0.7195 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.2632, allocations: 1.498 MB / 0.7209 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004609/0.2636, allocations: 228 kB / 0.7212 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.267, allocations: 1.318 MB / 0.7224 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007042/0.2677, allocations: 0.5801 MB / 0.723 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.2697, allocations: 1.159 MB / 0.7241 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006046/0.2757, allocations: 3.707 MB / 0.7278 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2757, allocations: 0 / 0.7278 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2757, allocations: 0 / 0.7278 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.314e-05/0.2758, allocations: 4 kB / 0.7278 GB, free: 11.05 MB / 0.5606 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.006024/0.2819, allocations: 2.627 MB / 0.7303 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.2819, allocations: 8.031 kB / 0.7303 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.2828, allocations: 243.6 kB / 0.7306 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.2861, allocations: 1.809 MB / 0.7323 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2862, allocations: 118.7 kB / 0.7324 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.2864, allocations: 152 kB / 0.7326 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.2898, allocations: 1.99 MB / 0.7345 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.2899, allocations: 11.88 kB / 0.7345 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.29, allocations: 59.98 kB / 0.7346 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.2901, allocations: 39.98 kB / 0.7346 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.293, allocations: 1.798 MB / 0.7364 GB, free: 2.023 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.01269/0.3057, allocations: 7.62 MB / 0.7438 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.3077, allocations: 1.385 MB / 0.7452 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009097/0.3086, allocations: 0.6174 MB / 0.7458 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007307/0.316, allocations: 3.854 MB / 0.7496 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.316, allocations: 39.56 kB / 0.7496 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.076e-06/0.316, allocations: 1.203 kB / 0.7496 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003685/0.3197, allocations: 1.522 MB / 0.7511 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3198, allocations: 64.41 kB / 0.7511 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.3232, allocations: 1.645 MB / 0.7528 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.3234, allocations: 49.7 kB / 0.7528 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.4572/0.7806, allocations: 0.7701 MB / 0.7535 GB, free: 76.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005213/0.7811, allocations: 329.8 kB / 0.7539 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/0.7817, allocations: 294.3 kB / 0.7541 GB, free: 76.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7818, allocations: 366.5 kB / 0.7545 GB, free: 76.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.7831, allocations: 0.6931 MB / 0.7552 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.7845, allocations: 1.021 MB / 0.7562 GB, free: 75.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.7871, allocations: 1.624 MB / 0.7578 GB, free: 75.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.7871, allocations: 1.406 kB / 0.7578 GB, free: 75.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005149/0.7923, allocations: 1.955 MB / 0.7597 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.7923, allocations: 12.22 kB / 0.7597 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.7923, allocations: 9.453 kB / 0.7597 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.167e-05/0.7924, allocations: 16.12 kB / 0.7597 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.7944, allocations: 339.6 kB / 0.76 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-05/0.7945, allocations: 21.03 kB / 0.76 GB, free: 74.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.7966, allocations: 202.8 kB / 0.7602 GB, free: 74.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.7969, allocations: 66.36 kB / 0.7603 GB, free: 74.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003364/0.8002, allocations: 1.284 MB / 0.7616 GB, free: 73.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002436/0.8026, allocations: 1.016 MB / 0.7625 GB, free: 73.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002652/0.8053, allocations: 1.62 MB / 0.7641 GB, free: 72.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.258e-06/0.8053, allocations: 2.25 kB / 0.7641 GB, free: 72.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00374/0.8091, allocations: 1.958 MB / 0.766 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.8091, allocations: 8.656 kB / 0.7661 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.8091, allocations: 10.48 kB / 0.7661 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.8091, allocations: 20.47 kB / 0.7661 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.8104, allocations: 338.1 kB / 0.7664 GB, free: 71.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.8104, allocations: 26.89 kB / 0.7664 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8118, allocations: 146.4 kB / 0.7666 GB, free: 71.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.8119, allocations: 62.53 kB / 0.7666 GB, free: 71.5 MB / 0.5762 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.0004679/0.8124, allocations: 256.7 kB / 0.7669 GB, free: 71.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.8127, allocations: 158.7 kB / 0.767 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.815, allocations: 1.287 MB / 0.7683 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.815, allocations: 13.38 kB / 0.7683 GB, free: 70.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.815, allocations: 0 / 0.7683 GB, free: 70.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/0.8167, allocations: 1.286 MB / 0.7696 GB, free: 69.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.8216, allocations: 2.956 MB / 0.7724 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.8216, allocations: 1.562 kB / 0.7724 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007843/0.8224, allocations: 194.1 kB / 0.7726 GB, free: 68.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.8224, allocations: 3.969 kB / 0.7726 GB, free: 68.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.8224, allocations: 24.27 kB / 0.7727 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.8224, allocations: 8.125 kB / 0.7727 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8224, allocations: 1.062 kB / 0.7727 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.8253, allocations: 1.92 MB / 0.7745 GB, free: 67.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008206/0.8261, allocations: 410.5 kB / 0.7749 GB, free: 67.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.8263, allocations: 31.42 kB / 0.775 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.8271, allocations: 44.38 kB / 0.775 GB, free: 67.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.8272, allocations: 49.2 kB / 0.775 GB, free: 67.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.8273, allocations: 39.97 kB / 0.7751 GB, free: 67.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00187/0.8291, allocations: 1.237 MB / 0.7763 GB, free: 67.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8291, allocations: 0 / 0.7763 GB, free: 67.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002854/0.832, allocations: 0.9252 MB / 0.7772 GB, free: 66.94 MB / 0.5762 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.0008416/0.8328, allocations: 381.1 kB / 0.7776 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003933/0.8368, allocations: 2.23 MB / 0.7797 GB, free: 66.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.8368, allocations: 0 / 0.7797 GB, free: 66.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007426/0.8375, allocations: 0.4942 MB / 0.7802 GB, free: 65.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/0.8413, allocations: 0.9157 MB / 0.7811 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.8464, allocations: 3.718 MB / 0.7847 GB, free: 63.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8474, allocations: 1.678 MB / 0.7864 GB, free: 62.17 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002359/0.8498, allocations: 0.9234 MB / 0.7873 GB, free: 61.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.8502, allocations: 138.8 kB / 0.7874 GB, free: 61.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/0.8502, allocations: 3.938 kB / 0.7874 GB, free: 61.76 MB / 0.5762 GB Notification: Performance of Templates: time 0.04843/0.8986, allocations: 36.51 MB / 0.8231 GB, free: 25.76 MB / 0.5762 GB 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]