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.001577/0.001577, allocations: 108.9 kB / 16.27 MB, free: 6.414 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.001488/0.001488, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7978/0.7978, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.88 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3126, allocations: 80.91 MB / 0.5851 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02081/0.3334, allocations: 28.55 MB / 0.6129 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3449, allocations: 7.897 MB / 0.6207 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.3461, allocations: 35.75 kB / 0.6207 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3473, allocations: 413.2 kB / 0.6211 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.3499, allocations: 1.006 MB / 0.6221 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.3526, allocations: 1.062 MB / 0.6231 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005476/0.3581, allocations: 4.915 MB / 0.6279 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.3612, allocations: 2.281 MB / 0.6301 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.3652, allocations: 1.79 MB / 0.6319 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.3674, allocations: 1.455 MB / 0.6333 GB, free: 9.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.3678, allocations: 232 kB / 0.6335 GB, free: 8.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.3707, allocations: 1.314 MB / 0.6348 GB, free: 7.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.3715, allocations: 0.5491 MB / 0.6353 GB, free: 7.078 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.3731, allocations: 1.163 MB / 0.6365 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.3777, allocations: 3.65 MB / 0.64 GB, free: 2.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3778, allocations: 0 / 0.64 GB, free: 2.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3778, allocations: 0 / 0.64 GB, free: 2.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.09e-05/0.3778, allocations: 0 / 0.64 GB, free: 2.25 MB / 478.1 MB 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.005021/0.3828, allocations: 2.561 MB / 0.6425 GB, free: 15.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3829, allocations: 13.11 kB / 0.6426 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/0.3837, allocations: 226.5 kB / 0.6428 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.3866, allocations: 1.733 MB / 0.6445 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.3868, allocations: 110.7 kB / 0.6446 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.387, allocations: 155.9 kB / 0.6447 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.3903, allocations: 1.994 MB / 0.6467 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.3903, allocations: 7.938 kB / 0.6467 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.3905, allocations: 56 kB / 0.6467 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.3905, allocations: 36 kB / 0.6468 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.3934, allocations: 1.802 MB / 0.6485 GB, free: 9.383 MB / 494.1 MB 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.01223/0.4056, allocations: 7.649 MB / 0.656 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.4077, allocations: 1.44 MB / 0.6574 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009019/0.4086, allocations: 0.6755 MB / 0.6581 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006533/0.4151, allocations: 3.851 MB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.4152, allocations: 47.5 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.4152, allocations: 0 / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002634/0.4179, allocations: 1.518 MB / 0.6633 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4179, allocations: 60.41 kB / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.4203, allocations: 1.649 MB / 0.665 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.4204, allocations: 49.7 kB / 0.6651 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.4211, allocations: 0.7459 MB / 0.6658 GB, free: 7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.4215, allocations: 319.4 kB / 0.6661 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/0.4219, allocations: 295.3 kB / 0.6664 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4221, allocations: 369.8 kB / 0.6667 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4232, allocations: 0.6878 MB / 0.6674 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.4246, allocations: 1.024 MB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.4268, allocations: 1.624 MB / 0.67 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4268, allocations: 4 kB / 0.67 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003268/0.4301, allocations: 1.947 MB / 0.6719 GB, free: 484 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4301, allocations: 9 kB / 0.6719 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4302, allocations: 8 kB / 0.6719 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.4302, allocations: 20 kB / 0.6719 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4314, allocations: 331.5 kB / 0.6722 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/0.4315, allocations: 23.92 kB / 0.6723 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.4327, allocations: 198.2 kB / 0.6724 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.4328, allocations: 63.98 kB / 0.6725 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00195/0.4348, allocations: 1.28 MB / 0.6738 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001319/0.4361, allocations: 1.02 MB / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002186/0.4383, allocations: 1.62 MB / 0.6763 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.753e-06/0.4383, allocations: 4 kB / 0.6763 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003182/0.4415, allocations: 1.951 MB / 0.6782 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4415, allocations: 14.5 kB / 0.6783 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4415, allocations: 8 kB / 0.6783 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4416, allocations: 16 kB / 0.6783 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.4427, allocations: 335.6 kB / 0.6786 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.4428, allocations: 23.92 kB / 0.6786 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.4439, allocations: 151.4 kB / 0.6788 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.444, allocations: 63.98 kB / 0.6788 GB, free: 9.086 MB / 0.5137 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.0003654/0.4444, allocations: 259.8 kB / 0.6791 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.4447, allocations: 146.2 kB / 0.6792 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.447, allocations: 1.285 MB / 0.6805 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.447, allocations: 8 kB / 0.6805 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.447, allocations: 0 / 0.6805 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/0.4485, allocations: 1.284 MB / 0.6817 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.4529, allocations: 2.963 MB / 0.6846 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4529, allocations: 0 / 0.6846 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.4537, allocations: 179.8 kB / 0.6848 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.4537, allocations: 4 kB / 0.6848 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.4538, allocations: 31.98 kB / 0.6848 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4538, allocations: 7.938 kB / 0.6848 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4538, allocations: 0 / 0.6848 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.4566, allocations: 1.913 MB / 0.6867 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/0.4573, allocations: 402.9 kB / 0.6871 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.4575, allocations: 20 kB / 0.6871 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.4583, allocations: 51.81 kB / 0.6872 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4584, allocations: 56.94 kB / 0.6872 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.251e-05/0.4585, allocations: 39.97 kB / 0.6873 GB, free: 232 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001822/0.4603, allocations: 1.234 MB / 0.6885 GB, free: 15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.4603, allocations: 0 / 0.6885 GB, free: 15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002366/0.4627, allocations: 0.9124 MB / 0.6894 GB, free: 14.08 MB / 0.5294 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.0008976/0.4636, allocations: 373.6 kB / 0.6897 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.4685, allocations: 2.832 MB / 0.6925 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4685, allocations: 0 / 0.6925 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.4693, allocations: 0.5209 MB / 0.693 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.4732, allocations: 0.9277 MB / 0.6939 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.4791, allocations: 3.684 MB / 0.6975 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.4805, allocations: 1.638 MB / 0.6991 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.4811, allocations: 143.4 kB / 0.6992 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.4811, allocations: 0 / 0.6992 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.0497/0.5308, allocations: 32.61 MB / 0.7311 GB, free: 3.5 MB / 0.5606 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)