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.001151/0.001151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001369/0.001369, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9789/0.9789, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.11 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 80.93 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3291/0.4868, allocations: 28.33 MB / 0.6116 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0097/0.4966, allocations: 7.848 MB / 0.6192 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.498, allocations: 29.59 kB / 0.6193 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.4992, allocations: 347.5 kB / 0.6196 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.502, allocations: 0.9337 MB / 0.6205 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.5045, allocations: 0.9725 MB / 0.6214 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004283/0.5088, allocations: 4.933 MB / 0.6263 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.5113, allocations: 2.283 MB / 0.6285 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.5153, allocations: 1.799 MB / 0.6302 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.5174, allocations: 1.486 MB / 0.6317 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.5178, allocations: 230.6 kB / 0.6319 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.5205, allocations: 1.317 MB / 0.6332 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005333/0.521, allocations: 0.552 MB / 0.6337 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.5226, allocations: 1.157 MB / 0.6349 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.5267, allocations: 3.652 MB / 0.6384 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5267, allocations: 0 / 0.6384 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5267, allocations: 0 / 0.6384 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.976e-05/0.5268, allocations: 2.594 kB / 0.6384 GB, free: 26.53 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.004406/0.5312, allocations: 2.556 MB / 0.6409 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5313, allocations: 8.812 kB / 0.6409 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/0.5321, allocations: 232 kB / 0.6412 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.5346, allocations: 1.78 MB / 0.6429 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.5347, allocations: 110.2 kB / 0.643 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.5349, allocations: 152.2 kB / 0.6432 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.5384, allocations: 1.998 MB / 0.6451 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.5384, allocations: 9.172 kB / 0.6451 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.5386, allocations: 58.78 kB / 0.6452 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/0.5387, allocations: 35.91 kB / 0.6452 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.5416, allocations: 1.795 MB / 0.647 GB, free: 22.47 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.01233/0.5539, allocations: 7.591 MB / 0.6544 GB, free: 18.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.5559, allocations: 1.442 MB / 0.6558 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/0.5568, allocations: 0.6624 MB / 0.6564 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006667/0.5635, allocations: 3.836 MB / 0.6602 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.5636, allocations: 49.39 kB / 0.6602 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.705e-06/0.5636, allocations: 0 / 0.6602 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003464/0.567, allocations: 1.508 MB / 0.6617 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.5671, allocations: 69.36 kB / 0.6618 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.5697, allocations: 1.602 MB / 0.6633 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.5699, allocations: 48.3 kB / 0.6634 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005939/0.5705, allocations: 0.7651 MB / 0.6641 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.5708, allocations: 316 kB / 0.6644 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.5713, allocations: 292.3 kB / 0.6647 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5714, allocations: 365.3 kB / 0.665 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.5726, allocations: 0.701 MB / 0.6657 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.5738, allocations: 1.017 MB / 0.6667 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.5759, allocations: 1.624 MB / 0.6683 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.5759, allocations: 2.312 kB / 0.6683 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003371/0.5793, allocations: 1.95 MB / 0.6702 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.5793, allocations: 9.25 kB / 0.6702 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5793, allocations: 9.344 kB / 0.6702 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.674e-05/0.5794, allocations: 19.84 kB / 0.6703 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.5807, allocations: 335.3 kB / 0.6706 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.5807, allocations: 22.06 kB / 0.6706 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.5823, allocations: 213.2 kB / 0.6708 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.5825, allocations: 61.14 kB / 0.6709 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002388/0.5849, allocations: 1.285 MB / 0.6721 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001403/0.5863, allocations: 1.019 MB / 0.6731 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002157/0.5885, allocations: 1.621 MB / 0.6747 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.015e-06/0.5885, allocations: 3.281 kB / 0.6747 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00385/0.5923, allocations: 1.952 MB / 0.6766 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5924, allocations: 8.75 kB / 0.6766 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.5924, allocations: 7.906 kB / 0.6766 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.5924, allocations: 15.56 kB / 0.6766 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.5938, allocations: 335.9 kB / 0.677 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.25e-05/0.5938, allocations: 21.45 kB / 0.677 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.5957, allocations: 169.3 kB / 0.6771 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.5958, allocations: 56.36 kB / 0.6772 GB, free: 6.613 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005271/0.5963, allocations: 264.5 kB / 0.6774 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.5968, allocations: 151.5 kB / 0.6776 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.5995, allocations: 1.283 MB / 0.6788 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.5995, allocations: 8.094 kB / 0.6788 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5995, allocations: 1.469 kB / 0.6788 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001823/0.6014, allocations: 1.293 MB / 0.6801 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/0.6068, allocations: 2.945 MB / 0.683 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6068, allocations: 1.188 kB / 0.683 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.6076, allocations: 181.3 kB / 0.6832 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6076, allocations: 4.156 kB / 0.6832 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.6077, allocations: 29.23 kB / 0.6832 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.6077, allocations: 4.875 kB / 0.6832 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6077, allocations: 5.375 kB / 0.6832 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.6103, allocations: 1.918 MB / 0.6851 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/0.611, allocations: 398.8 kB / 0.6855 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.6113, allocations: 19.22 kB / 0.6855 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.6121, allocations: 74.08 kB / 0.6855 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6122, allocations: 54.98 kB / 0.6856 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.6123, allocations: 34.3 kB / 0.6856 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001658/0.614, allocations: 1.21 MB / 0.6868 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.614, allocations: 0 / 0.6868 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002861/0.6168, allocations: 0.9121 MB / 0.6877 GB, free: 1.238 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 (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.0008674/0.6177, allocations: 361.6 kB / 0.688 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004711/0.6224, allocations: 2.832 MB / 0.6908 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6225, allocations: 3.938 kB / 0.6908 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.6232, allocations: 0.5209 MB / 0.6913 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/0.6271, allocations: 0.9292 MB / 0.6922 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.6334, allocations: 4.288 MB / 0.6964 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.6348, allocations: 1.688 MB / 0.6981 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002745/0.6375, allocations: 0.9034 MB / 0.6989 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.6379, allocations: 131.4 kB / 0.6991 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of SimCode: time 1.113e-06/0.6379, allocations: 0 / 0.6991 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of Templates: time 0.06178/0.6997, allocations: 35.18 MB / 0.7334 GB, free: 3.418 MB / 0.545 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)