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.001139/0.001139, allocations: 103.8 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.001093/0.001093, allocations: 190.4 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.301/1.301, 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.7731/0.7731, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.89 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3964, allocations: 80.91 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02127/0.4177, allocations: 28.55 MB / 0.6136 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.4284, allocations: 7.899 MB / 0.6214 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.4297, allocations: 35.75 kB / 0.6214 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.4309, allocations: 417.2 kB / 0.6218 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.4336, allocations: 0.9948 MB / 0.6228 GB, free: 4.758 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.4364, allocations: 1.076 MB / 0.6238 GB, free: 3.691 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005191/0.4416, allocations: 4.917 MB / 0.6286 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.4442, allocations: 2.296 MB / 0.6309 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.448, allocations: 1.784 MB / 0.6326 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.4501, allocations: 1.455 MB / 0.634 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.4504, allocations: 231.9 kB / 0.6342 GB, free: 8.953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.453, allocations: 1.311 MB / 0.6355 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.4535, allocations: 0.5531 MB / 0.6361 GB, free: 7.086 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.455, allocations: 1.155 MB / 0.6372 GB, free: 5.926 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.4591, allocations: 3.693 MB / 0.6408 GB, free: 2.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4591, allocations: 0 / 0.6408 GB, free: 2.223 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4591, allocations: 4 kB / 0.6408 GB, free: 2.219 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.981e-05/0.4592, allocations: 0 / 0.6408 GB, free: 2.219 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.004813/0.464, allocations: 2.565 MB / 0.6433 GB, free: 15.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4641, allocations: 9.109 kB / 0.6433 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/0.4649, allocations: 230.5 kB / 0.6435 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.468, allocations: 1.803 MB / 0.6453 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.4681, allocations: 114.7 kB / 0.6454 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.4683, allocations: 151.9 kB / 0.6455 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.4712, allocations: 1.99 MB / 0.6475 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.4712, allocations: 3.938 kB / 0.6475 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.4714, allocations: 60 kB / 0.6475 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.4714, allocations: 47.98 kB / 0.6476 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.4739, allocations: 1.79 MB / 0.6493 GB, free: 9.285 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.01082/0.4847, allocations: 7.606 MB / 0.6568 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.4864, allocations: 1.448 MB / 0.6582 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007799/0.4872, allocations: 0.6684 MB / 0.6588 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006104/0.4933, allocations: 3.85 MB / 0.6626 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4934, allocations: 47.5 kB / 0.6626 GB, free: 11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.926e-06/0.4934, allocations: 1.203 kB / 0.6626 GB, free: 11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002425/0.4958, allocations: 1.51 MB / 0.6641 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.4959, allocations: 64.41 kB / 0.6642 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.4981, allocations: 1.641 MB / 0.6658 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.4982, allocations: 49.7 kB / 0.6658 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.4989, allocations: 0.7537 MB / 0.6666 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.4992, allocations: 323.4 kB / 0.6669 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.4996, allocations: 295.3 kB / 0.6672 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4997, allocations: 365.9 kB / 0.6675 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009499/0.5007, allocations: 0.6956 MB / 0.6682 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5019, allocations: 1.02 MB / 0.6692 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.5039, allocations: 1.62 MB / 0.6708 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5039, allocations: 4 kB / 0.6708 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00297/0.5068, allocations: 1.951 MB / 0.6727 GB, free: 420 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5069, allocations: 11.98 kB / 0.6727 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.5069, allocations: 8 kB / 0.6727 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.5069, allocations: 16 kB / 0.6727 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.5082, allocations: 331.5 kB / 0.673 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.5082, allocations: 23.92 kB / 0.673 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.5095, allocations: 202.6 kB / 0.6732 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5096, allocations: 59.98 kB / 0.6733 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001884/0.5115, allocations: 1.28 MB / 0.6745 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001154/0.5127, allocations: 1.024 MB / 0.6755 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001898/0.5146, allocations: 1.624 MB / 0.6771 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.5146, allocations: 0 / 0.6771 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002996/0.5176, allocations: 1.952 MB / 0.679 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5176, allocations: 10.97 kB / 0.679 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5177, allocations: 11.98 kB / 0.6791 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5177, allocations: 16 kB / 0.6791 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5188, allocations: 335.5 kB / 0.6794 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.5189, allocations: 23.92 kB / 0.6794 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.52, allocations: 146.9 kB / 0.6796 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.5201, allocations: 59.98 kB / 0.6796 GB, free: 9.035 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.0003485/0.5205, allocations: 260.7 kB / 0.6799 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.5208, allocations: 154.1 kB / 0.68 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5228, allocations: 1.278 MB / 0.6813 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.5228, allocations: 8 kB / 0.6813 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5228, allocations: 0 / 0.6813 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.5242, allocations: 1.288 MB / 0.6825 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.5284, allocations: 2.959 MB / 0.6854 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5285, allocations: 0 / 0.6854 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.5292, allocations: 183.8 kB / 0.6856 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5293, allocations: 4 kB / 0.6856 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.5293, allocations: 27.98 kB / 0.6856 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.5293, allocations: 7.938 kB / 0.6856 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5293, allocations: 4.125 kB / 0.6856 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.5318, allocations: 1.913 MB / 0.6875 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/0.5326, allocations: 402.8 kB / 0.6879 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.5328, allocations: 28 kB / 0.6879 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.5335, allocations: 55.81 kB / 0.688 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.5336, allocations: 48.92 kB / 0.688 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.5337, allocations: 35.98 kB / 0.688 GB, free: 172 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001637/0.5354, allocations: 1.238 MB / 0.6893 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5354, allocations: 0 / 0.6893 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002284/0.5377, allocations: 0.9124 MB / 0.6901 GB, free: 14.02 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.0008026/0.5385, allocations: 382.3 kB / 0.6905 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003357/0.5418, allocations: 2.321 MB / 0.6928 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5419, allocations: 4 kB / 0.6928 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.5425, allocations: 0.517 MB / 0.6933 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/0.5461, allocations: 0.9266 MB / 0.6942 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.5512, allocations: 3.67 MB / 0.6978 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.5524, allocations: 1.674 MB / 0.6994 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00235/0.5548, allocations: 0.9186 MB / 0.7003 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.5551, allocations: 131.4 kB / 0.7004 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.5551, allocations: 0 / 0.7004 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of Templates: time 0.05478/0.6099, allocations: 35.71 MB / 0.7353 GB, free: 72 kB / 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)