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.001177/0.001177, allocations: 100.4 kB / 16.35 MB, free: 5.824 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.001278/0.001278, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7998/0.7998, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3609, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02239/0.3833, allocations: 28.55 MB / 0.6136 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3948, allocations: 7.892 MB / 0.6213 GB, free: 6.066 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3963, allocations: 31.81 kB / 0.6214 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3975, allocations: 413.2 kB / 0.6218 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.4007, allocations: 0.9987 MB / 0.6227 GB, free: 4.625 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.4035, allocations: 1.084 MB / 0.6238 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.409, allocations: 4.915 MB / 0.6286 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.4119, allocations: 2.293 MB / 0.6308 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.416, allocations: 1.791 MB / 0.6326 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.4189, allocations: 1.463 MB / 0.634 GB, free: 9.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004353/0.4194, allocations: 231.9 kB / 0.6342 GB, free: 8.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.4224, allocations: 1.314 MB / 0.6355 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006063/0.423, allocations: 0.5531 MB / 0.6361 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.4248, allocations: 1.155 MB / 0.6372 GB, free: 5.777 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.4295, allocations: 3.687 MB / 0.6408 GB, free: 2.082 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4296, allocations: 0 / 0.6408 GB, free: 2.082 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4296, allocations: 0 / 0.6408 GB, free: 2.082 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.64e-05/0.4296, allocations: 0 / 0.6408 GB, free: 2.082 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.005015/0.4346, allocations: 2.565 MB / 0.6433 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4347, allocations: 9.109 kB / 0.6433 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/0.4355, allocations: 234.4 kB / 0.6435 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.4388, allocations: 1.803 MB / 0.6453 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.4389, allocations: 114.7 kB / 0.6454 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.4391, allocations: 151.9 kB / 0.6456 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.442, allocations: 1.994 MB / 0.6475 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.4421, allocations: 0 / 0.6475 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.4422, allocations: 60 kB / 0.6476 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-05/0.4423, allocations: 47.92 kB / 0.6476 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.4449, allocations: 1.79 MB / 0.6493 GB, free: 9.145 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.01142/0.4563, allocations: 7.606 MB / 0.6568 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.4581, allocations: 1.444 MB / 0.6582 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.459, allocations: 0.6664 MB / 0.6588 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006542/0.4655, allocations: 3.85 MB / 0.6626 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4656, allocations: 47.56 kB / 0.6626 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.946e-06/0.4656, allocations: 5.141 kB / 0.6626 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002455/0.4681, allocations: 1.51 MB / 0.6641 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4681, allocations: 64.41 kB / 0.6642 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.4703, allocations: 1.641 MB / 0.6658 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.4704, allocations: 49.7 kB / 0.6658 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.471, allocations: 0.7459 MB / 0.6666 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.4713, allocations: 319.4 kB / 0.6669 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.4717, allocations: 295.3 kB / 0.6671 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4719, allocations: 373.8 kB / 0.6675 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009773/0.4729, allocations: 0.6956 MB / 0.6682 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4742, allocations: 1.02 MB / 0.6692 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.4764, allocations: 1.628 MB / 0.6708 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4764, allocations: 0 / 0.6708 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003367/0.4798, allocations: 1.944 MB / 0.6727 GB, free: 292 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.4799, allocations: 12 kB / 0.6727 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.4799, allocations: 8 kB / 0.6727 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/0.4799, allocations: 19.94 kB / 0.6727 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.4812, allocations: 335.5 kB / 0.673 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/0.4812, allocations: 23.92 kB / 0.673 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4825, allocations: 198.1 kB / 0.6732 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.4827, allocations: 59.98 kB / 0.6733 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001827/0.4845, allocations: 1.284 MB / 0.6745 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001175/0.4857, allocations: 1.016 MB / 0.6755 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001953/0.4876, allocations: 1.624 MB / 0.6771 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.74e-06/0.4877, allocations: 0 / 0.6771 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003212/0.4909, allocations: 1.955 MB / 0.679 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4909, allocations: 8 kB / 0.679 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4909, allocations: 8 kB / 0.6791 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.491, allocations: 16.78 kB / 0.6791 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4921, allocations: 339.5 kB / 0.6794 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.4922, allocations: 27.92 kB / 0.6794 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4933, allocations: 146.9 kB / 0.6796 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4935, allocations: 59.98 kB / 0.6796 GB, free: 8.898 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.0003486/0.4938, allocations: 260.7 kB / 0.6799 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.4941, allocations: 150.2 kB / 0.68 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.4962, allocations: 1.286 MB / 0.6813 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.4962, allocations: 8 kB / 0.6813 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4962, allocations: 0 / 0.6813 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/0.4977, allocations: 1.284 MB / 0.6825 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.5025, allocations: 2.955 MB / 0.6854 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5025, allocations: 4.031 kB / 0.6854 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.5033, allocations: 191.7 kB / 0.6856 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/0.5033, allocations: 4 kB / 0.6856 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.506e-05/0.5034, allocations: 23.98 kB / 0.6856 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.5034, allocations: 7.938 kB / 0.6856 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5034, allocations: 0 / 0.6856 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.506, allocations: 1.921 MB / 0.6875 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/0.5069, allocations: 398.8 kB / 0.6879 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.5072, allocations: 24 kB / 0.6879 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009297/0.5082, allocations: 51.88 kB / 0.688 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.5083, allocations: 48.94 kB / 0.688 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/0.5084, allocations: 40.09 kB / 0.688 GB, free: 32 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002057/0.5104, allocations: 1.234 MB / 0.6893 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5104, allocations: 0 / 0.6893 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003171/0.5136, allocations: 0.9163 MB / 0.6901 GB, free: 13.88 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.001057/0.5147, allocations: 376.3 kB / 0.6905 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003937/0.5186, allocations: 2.332 MB / 0.6928 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5187, allocations: 0 / 0.6928 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.5194, allocations: 0.517 MB / 0.6933 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/0.5234, allocations: 0.9171 MB / 0.6942 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/0.5294, allocations: 3.674 MB / 0.6978 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.5311, allocations: 1.682 MB / 0.6994 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00263/0.5337, allocations: 0.91 MB / 0.7003 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.5342, allocations: 131.4 kB / 0.7004 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.5342, allocations: 0 / 0.7004 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.05958/0.5938, allocations: 35.71 MB / 0.7353 GB, free: 15.93 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)