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.0009041/0.0009041, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008814/0.0008814, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8288/0.8288, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 12.7 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2771/0.4272, allocations: 23.95 MB / 0.6106 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007594/0.4349, allocations: 6.858 MB / 0.6173 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007437/0.4356, allocations: 36.75 kB / 0.6173 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009086/0.4365, allocations: 397.8 kB / 0.6177 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.4387, allocations: 1.026 MB / 0.6187 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.4413, allocations: 1.087 MB / 0.6198 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.444, allocations: 2.716 MB / 0.6224 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.4455, allocations: 1.622 MB / 0.624 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.4471, allocations: 1.172 MB / 0.6251 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.448, allocations: 0.9383 MB / 0.6261 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.4482, allocations: 78.94 kB / 0.6261 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.4499, allocations: 0.8433 MB / 0.627 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.4501, allocations: 353.1 kB / 0.6273 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.4505, allocations: 423.1 kB / 0.6277 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.4523, allocations: 2.76 MB / 0.6304 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.4523, allocations: 0 / 0.6304 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4523, allocations: 0 / 0.6304 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.4523, allocations: 0 / 0.6304 GB, free: 31.88 MB / 0.4981 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.003221/0.4555, allocations: 2.14 MB / 0.6325 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4556, allocations: 9.375 kB / 0.6325 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.4562, allocations: 232.6 kB / 0.6327 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.4585, allocations: 1.649 MB / 0.6343 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.4585, allocations: 110.3 kB / 0.6344 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.4587, allocations: 156 kB / 0.6346 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.461, allocations: 1.972 MB / 0.6365 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.4611, allocations: 0 / 0.6365 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4612, allocations: 65.58 kB / 0.6366 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.4613, allocations: 47.42 kB / 0.6366 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4633, allocations: 1.783 MB / 0.6384 GB, free: 28.21 MB / 0.4981 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.008771/0.4721, allocations: 7.697 MB / 0.6459 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.474, allocations: 1.45 MB / 0.6473 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005869/0.4799, allocations: 3.876 MB / 0.6511 GB, free: 20.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4799, allocations: 45.25 kB / 0.6511 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.085e-06/0.4799, allocations: 3.938 kB / 0.6511 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.00233/0.4823, allocations: 1.509 MB / 0.6526 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.4823, allocations: 61.59 kB / 0.6527 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.4845, allocations: 1.684 MB / 0.6543 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/0.4846, allocations: 47.17 kB / 0.6543 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.4851, allocations: 0.7568 MB / 0.6551 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.4853, allocations: 314.9 kB / 0.6554 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.4854, allocations: 29.91 kB / 0.6554 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.4855, allocations: 361.2 kB / 0.6558 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009577/0.4864, allocations: 0.6782 MB / 0.6564 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.4875, allocations: 1.006 MB / 0.6574 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4887, allocations: 0.8681 MB / 0.6582 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.4887, allocations: 2.531 kB / 0.6582 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002759/0.4914, allocations: 1.94 MB / 0.6601 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005265/0.492, allocations: 3.529 MB / 0.6636 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.492, allocations: 9.719 kB / 0.6636 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/0.492, allocations: 21.7 kB / 0.6636 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4933, allocations: 350 kB / 0.664 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.4933, allocations: 20.91 kB / 0.664 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4946, allocations: 222.5 kB / 0.6642 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4947, allocations: 61.45 kB / 0.6642 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.4947, allocations: 5.688 kB / 0.6642 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002336/0.4971, allocations: 1.783 MB / 0.666 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4971, allocations: 9.25 kB / 0.666 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4971, allocations: 21.19 kB / 0.666 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4983, allocations: 349 kB / 0.6664 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.4983, allocations: 22.55 kB / 0.6664 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.4993, allocations: 198.2 kB / 0.6666 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.4994, allocations: 60.44 kB / 0.6666 GB, free: 11.59 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.5005, allocations: 0.754 MB / 0.6674 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.5008, allocations: 153.6 kB / 0.6675 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.5026, allocations: 1.282 MB / 0.6688 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5026, allocations: 9.266 kB / 0.6688 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5026, allocations: 1.344 kB / 0.6688 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.5039, allocations: 1.28 MB / 0.67 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.5079, allocations: 2.965 MB / 0.6729 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.508, allocations: 1.219 kB / 0.6729 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/0.5087, allocations: 181.8 kB / 0.6731 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.5087, allocations: 5.344 kB / 0.6731 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.5087, allocations: 21.89 kB / 0.6731 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.5088, allocations: 4.531 kB / 0.6731 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5088, allocations: 5.5 kB / 0.6731 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.511, allocations: 1.974 MB / 0.675 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007105/0.5117, allocations: 444.1 kB / 0.6755 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.5119, allocations: 24.55 kB / 0.6755 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.5127, allocations: 79.78 kB / 0.6756 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.5128, allocations: 52.8 kB / 0.6756 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.5128, allocations: 37.25 kB / 0.6757 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001461/0.5143, allocations: 1.261 MB / 0.6769 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5143, allocations: 0 / 0.6769 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002305/0.5166, allocations: 0.9158 MB / 0.6778 GB, free: 6.602 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006447/0.5173, allocations: 362.7 kB / 0.6781 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003025/0.5203, allocations: 2.312 MB / 0.6804 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5203, allocations: 0 / 0.6804 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.5209, allocations: 0.5184 MB / 0.6809 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.524, allocations: 0.8538 MB / 0.6817 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.5286, allocations: 4.346 MB / 0.686 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009333/0.5295, allocations: 1.712 MB / 0.6876 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00219/0.5317, allocations: 0.9257 MB / 0.6885 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.532, allocations: 136.8 kB / 0.6887 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.532, allocations: 3.938 kB / 0.6887 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of Templates: time 0.04552/0.5775, allocations: 33.57 MB / 0.7215 GB, free: 1.426 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: