Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009132/0.0009134, allocations: 97.97 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.0008599/0.0008598, allocations: 177.3 kB / 15.95 MB, free: 216 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.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 82.32 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2634/0.4183, allocations: 23.94 MB / 0.6106 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007282/0.4256, allocations: 6.86 MB / 0.6173 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.4263, allocations: 28.81 kB / 0.6173 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008581/0.4271, allocations: 403.2 kB / 0.6177 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.4291, allocations: 1.024 MB / 0.6187 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.4315, allocations: 1.098 MB / 0.6198 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002442/0.434, allocations: 2.721 MB / 0.6224 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.4354, allocations: 1.627 MB / 0.624 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.437, allocations: 1.169 MB / 0.6252 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.4378, allocations: 0.9342 MB / 0.6261 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.438, allocations: 79.25 kB / 0.6261 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.4395, allocations: 0.8439 MB / 0.627 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.4398, allocations: 352.5 kB / 0.6273 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.4401, allocations: 425.1 kB / 0.6277 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.4419, allocations: 2.761 MB / 0.6304 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.4419, allocations: 0 / 0.6304 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4419, allocations: 0 / 0.6304 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.306e-05/0.4419, allocations: 3.938 kB / 0.6304 GB, free: 31.94 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.003177/0.4451, allocations: 2.135 MB / 0.6325 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.4452, allocations: 8.938 kB / 0.6325 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.4457, allocations: 234.6 kB / 0.6327 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.448, allocations: 1.642 MB / 0.6343 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.4481, allocations: 110.8 kB / 0.6344 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.4483, allocations: 154 kB / 0.6346 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.4507, allocations: 1.972 MB / 0.6365 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.4507, allocations: 11.16 kB / 0.6365 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.4508, allocations: 53.5 kB / 0.6366 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.4509, allocations: 44.45 kB / 0.6366 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.4529, allocations: 1.786 MB / 0.6384 GB, free: 28.28 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.009504/0.4624, allocations: 7.691 MB / 0.6459 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.4645, allocations: 1.461 MB / 0.6473 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006086/0.4706, allocations: 3.878 MB / 0.6511 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.4706, allocations: 40.67 kB / 0.6511 GB, free: 20.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.295e-06/0.4706, allocations: 0 / 0.6511 GB, free: 20.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002299/0.4729, allocations: 1.51 MB / 0.6526 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.473, allocations: 60.97 kB / 0.6527 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.4751, allocations: 1.684 MB / 0.6543 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.4752, allocations: 52.02 kB / 0.6543 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.4757, allocations: 0.7574 MB / 0.6551 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.476, allocations: 312 kB / 0.6554 GB, free: 18.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.4761, allocations: 29 kB / 0.6554 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4762, allocations: 361.2 kB / 0.6558 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4772, allocations: 0.6862 MB / 0.6564 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.4783, allocations: 1.005 MB / 0.6574 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.4795, allocations: 0.8674 MB / 0.6583 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.4795, allocations: 3.922 kB / 0.6583 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002824/0.4823, allocations: 1.936 MB / 0.6602 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005854/0.4829, allocations: 3.529 MB / 0.6636 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.483, allocations: 9.281 kB / 0.6636 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/0.483, allocations: 20.83 kB / 0.6636 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4843, allocations: 350.6 kB / 0.664 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.4843, allocations: 21.86 kB / 0.664 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.4857, allocations: 225.7 kB / 0.6642 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4858, allocations: 57.31 kB / 0.6643 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.4858, allocations: 3.688 kB / 0.6643 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002428/0.4883, allocations: 1.786 MB / 0.666 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.4883, allocations: 12.16 kB / 0.666 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4883, allocations: 26.72 kB / 0.666 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4896, allocations: 345.1 kB / 0.6664 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.856e-05/0.4896, allocations: 21.67 kB / 0.6664 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.4911, allocations: 194 kB / 0.6666 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.4913, allocations: 61.77 kB / 0.6666 GB, free: 11.65 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.001279/0.4925, allocations: 0.7528 MB / 0.6674 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.4929, allocations: 150.8 kB / 0.6675 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.4949, allocations: 1.279 MB / 0.6688 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.4949, allocations: 8.703 kB / 0.6688 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4949, allocations: 5.375 kB / 0.6688 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.4963, allocations: 1.279 MB / 0.67 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.5008, allocations: 2.963 MB / 0.6729 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.5008, allocations: 1.406 kB / 0.6729 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/0.5016, allocations: 181.2 kB / 0.6731 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.5016, allocations: 4.031 kB / 0.6731 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.5017, allocations: 23.61 kB / 0.6731 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.5017, allocations: 8.719 kB / 0.6731 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5017, allocations: 1.562 kB / 0.6731 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.5041, allocations: 1.977 MB / 0.6751 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009361/0.5051, allocations: 448.2 kB / 0.6755 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5053, allocations: 18.47 kB / 0.6755 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.5061, allocations: 81.39 kB / 0.6756 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.5062, allocations: 51.03 kB / 0.6756 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/0.5063, allocations: 37.59 kB / 0.6757 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001602/0.5079, allocations: 1.26 MB / 0.6769 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5079, allocations: 0 / 0.6769 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002358/0.5103, allocations: 0.917 MB / 0.6778 GB, free: 6.668 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.0006423/0.5109, allocations: 363.3 kB / 0.6781 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003105/0.514, allocations: 2.312 MB / 0.6804 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.514, allocations: 1.5 kB / 0.6804 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.5146, allocations: 0.5162 MB / 0.6809 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.5179, allocations: 0.8494 MB / 0.6817 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.5227, allocations: 4.353 MB / 0.686 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5237, allocations: 1.712 MB / 0.6876 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00223/0.526, allocations: 0.9174 MB / 0.6885 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.5263, allocations: 143.5 kB / 0.6887 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.5263, allocations: 0 / 0.6887 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of Templates: time 0.0464/0.5727, allocations: 33.56 MB / 0.7215 GB, free: 1.461 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: