Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 104.6 kB / 16.41 MB, free: 6.449 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.001299/0.001299, allocations: 189.4 kB / 17.34 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8316/0.8316, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.8 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02891/0.1793, allocations: 28.57 MB / 0.6932 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1916, allocations: 7.882 MB / 0.7009 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.1933, allocations: 43.69 kB / 0.7009 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.1949, allocations: 409.2 kB / 0.7013 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.1983, allocations: 1.003 MB / 0.7023 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.2016, allocations: 1.065 MB / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006359/0.208, allocations: 4.922 MB / 0.7081 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.2113, allocations: 2.285 MB / 0.7104 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.2156, allocations: 1.828 MB / 0.7122 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.2185, allocations: 1.459 MB / 0.7136 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008409/0.2194, allocations: 232 kB / 0.7138 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.2232, allocations: 1.311 MB / 0.7151 GB, free: 2.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.2243, allocations: 0.5491 MB / 0.7156 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.227, allocations: 1.163 MB / 0.7168 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.2328, allocations: 3.693 MB / 0.7204 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2328, allocations: 0 / 0.7204 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2329, allocations: 0 / 0.7204 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.803e-05/0.2329, allocations: 0 / 0.7204 GB, free: 13.24 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.005059/0.238, allocations: 2.556 MB / 0.7229 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.238, allocations: 13.11 kB / 0.7229 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/0.2389, allocations: 234.4 kB / 0.7231 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.2417, allocations: 1.806 MB / 0.7249 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.2418, allocations: 110.7 kB / 0.725 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.242, allocations: 156 kB / 0.7251 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.2451, allocations: 1.997 MB / 0.7271 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.2451, allocations: 3.984 kB / 0.7271 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.2453, allocations: 60 kB / 0.7271 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.2453, allocations: 36 kB / 0.7272 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.2479, allocations: 1.798 MB / 0.7289 GB, free: 4.301 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.01053/0.2585, allocations: 7.586 MB / 0.7363 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.2602, allocations: 1.452 MB / 0.7377 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008245/0.2611, allocations: 0.664 MB / 0.7384 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005922/0.267, allocations: 3.859 MB / 0.7422 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2671, allocations: 43.56 kB / 0.7422 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.695e-06/0.2671, allocations: 0 / 0.7422 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002376/0.2695, allocations: 1.514 MB / 0.7437 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2695, allocations: 68.41 kB / 0.7437 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.2719, allocations: 1.645 MB / 0.7454 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.272, allocations: 49.7 kB / 0.7454 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.2727, allocations: 0.7575 MB / 0.7461 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.273, allocations: 311.5 kB / 0.7464 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.2734, allocations: 295.4 kB / 0.7467 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2736, allocations: 361.9 kB / 0.7471 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.2746, allocations: 0.6956 MB / 0.7477 GB, free: 304 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3631/0.6377, allocations: 1.013 MB / 0.7487 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.6403, allocations: 1.626 MB / 0.7503 GB, free: 77.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.6403, allocations: 1.562 kB / 0.7503 GB, free: 77.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003247/0.6436, allocations: 1.948 MB / 0.7522 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.6436, allocations: 10.34 kB / 0.7522 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.6436, allocations: 9.969 kB / 0.7522 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/0.6437, allocations: 15.22 kB / 0.7523 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.645, allocations: 339.6 kB / 0.7526 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/0.645, allocations: 21.38 kB / 0.7526 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.6463, allocations: 198.9 kB / 0.7528 GB, free: 76.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6465, allocations: 63.58 kB / 0.7529 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002088/0.6486, allocations: 1.286 MB / 0.7541 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001367/0.65, allocations: 1.018 MB / 0.7551 GB, free: 75.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002465/0.6524, allocations: 1.613 MB / 0.7567 GB, free: 75.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.437e-05/0.6525, allocations: 2.938 kB / 0.7567 GB, free: 75.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003742/0.6562, allocations: 1.947 MB / 0.7586 GB, free: 74.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6563, allocations: 11.25 kB / 0.7586 GB, free: 74.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.6563, allocations: 9.062 kB / 0.7586 GB, free: 74.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.6563, allocations: 18.39 kB / 0.7586 GB, free: 74.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.6577, allocations: 334.9 kB / 0.7589 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.6577, allocations: 21.23 kB / 0.759 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.659, allocations: 151.2 kB / 0.7591 GB, free: 74.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6592, allocations: 60.3 kB / 0.7592 GB, free: 74.3 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.0003774/0.6596, allocations: 273 kB / 0.7594 GB, free: 74.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.6599, allocations: 152 kB / 0.7596 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.6622, allocations: 1.275 MB / 0.7608 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.6622, allocations: 13.17 kB / 0.7608 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6622, allocations: 0 / 0.7608 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.6637, allocations: 1.288 MB / 0.7621 GB, free: 72.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.6684, allocations: 2.952 MB / 0.765 GB, free: 71.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6684, allocations: 2.797 kB / 0.765 GB, free: 71.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/0.6692, allocations: 195 kB / 0.7652 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.6692, allocations: 4.328 kB / 0.7652 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.6693, allocations: 26.47 kB / 0.7652 GB, free: 71.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.6693, allocations: 5 kB / 0.7652 GB, free: 71.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6693, allocations: 1.5 kB / 0.7652 GB, free: 71.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.6722, allocations: 1.917 MB / 0.7671 GB, free: 70.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.6731, allocations: 404.2 kB / 0.7674 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.6734, allocations: 24.61 kB / 0.7675 GB, free: 70.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.6742, allocations: 48.08 kB / 0.7675 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.6743, allocations: 50.34 kB / 0.7676 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.6744, allocations: 37.84 kB / 0.7676 GB, free: 70.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001753/0.6762, allocations: 1.241 MB / 0.7688 GB, free: 69.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6762, allocations: 1.094 kB / 0.7688 GB, free: 69.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002822/0.679, allocations: 0.9129 MB / 0.7697 GB, free: 69.69 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.0008874/0.6799, allocations: 375.3 kB / 0.7701 GB, free: 69.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.6836, allocations: 2.333 MB / 0.7723 GB, free: 68.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6836, allocations: 1.219 kB / 0.7723 GB, free: 68.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.6844, allocations: 0.5214 MB / 0.7728 GB, free: 68.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/0.6887, allocations: 0.9173 MB / 0.7737 GB, free: 68.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.694, allocations: 3.645 MB / 0.7773 GB, free: 66.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.6948, allocations: 1.634 MB / 0.7789 GB, free: 65.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.6954, allocations: 148.8 kB / 0.779 GB, free: 65.26 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.6954, allocations: 0 / 0.779 GB, free: 65.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.03704/0.7325, allocations: 32.82 MB / 0.8111 GB, free: 34.36 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)