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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001072/0.001072, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001089/0.001089, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.359/1.359, 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/package.mo): time 0.799/0.799, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3963, allocations: 80.19 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02431/0.4207, allocations: 28.55 MB / 0.6094 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.4322, allocations: 7.893 MB / 0.6171 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.4337, allocations: 39.75 kB / 0.6171 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.4349, allocations: 409.2 kB / 0.6175 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.4376, allocations: 0.9987 MB / 0.6185 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.4405, allocations: 1.082 MB / 0.6195 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005174/0.4456, allocations: 4.923 MB / 0.6243 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.4484, allocations: 2.285 MB / 0.6266 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.452, allocations: 1.79 MB / 0.6283 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.4541, allocations: 1.463 MB / 0.6298 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.4545, allocations: 235.9 kB / 0.63 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.4571, allocations: 1.303 MB / 0.6313 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.4576, allocations: 0.5609 MB / 0.6318 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.459, allocations: 1.155 MB / 0.6329 GB, free: 9.422 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.4631, allocations: 3.691 MB / 0.6365 GB, free: 5.723 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4631, allocations: 0 / 0.6365 GB, free: 5.723 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4631, allocations: 0 / 0.6365 GB, free: 5.723 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.4632, allocations: 0 / 0.6365 GB, free: 5.723 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.004668/0.4678, allocations: 2.557 MB / 0.639 GB, free: 3.109 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4679, allocations: 8.031 kB / 0.639 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007843/0.4687, allocations: 230.5 kB / 0.6393 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.4719, allocations: 1.808 MB / 0.641 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/0.472, allocations: 118.7 kB / 0.6411 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.4723, allocations: 151.9 kB / 0.6413 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.4752, allocations: 1.994 MB / 0.6432 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.4753, allocations: 7.938 kB / 0.6432 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.4754, allocations: 56 kB / 0.6433 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.4755, allocations: 43.98 kB / 0.6433 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.4781, allocations: 1.794 MB / 0.6451 GB, free: 12.78 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.01135/0.4895, allocations: 7.602 MB / 0.6525 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.4913, allocations: 1.448 MB / 0.6539 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008248/0.4921, allocations: 0.6603 MB / 0.6546 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006617/0.4987, allocations: 3.854 MB / 0.6583 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4988, allocations: 39.56 kB / 0.6584 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.296e-06/0.4988, allocations: 1.203 kB / 0.6584 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002557/0.5014, allocations: 1.514 MB / 0.6598 GB, free: 13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.5014, allocations: 64.41 kB / 0.6599 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.5037, allocations: 1.645 MB / 0.6615 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.5038, allocations: 49.64 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/0.5044, allocations: 0.7536 MB / 0.6623 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5048, allocations: 319.5 kB / 0.6626 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.5052, allocations: 291.3 kB / 0.6629 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5054, allocations: 369.9 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.5064, allocations: 0.6917 MB / 0.6639 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.5076, allocations: 1.02 MB / 0.6649 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.5096, allocations: 1.624 MB / 0.6665 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.5097, allocations: 4 kB / 0.6665 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003207/0.5129, allocations: 1.944 MB / 0.6684 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.5129, allocations: 15.98 kB / 0.6684 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.513, allocations: 8.062 kB / 0.6684 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.513, allocations: 24.06 kB / 0.6684 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.5142, allocations: 331.5 kB / 0.6688 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/0.5143, allocations: 23.92 kB / 0.6688 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.5156, allocations: 198 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.5157, allocations: 63.98 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001942/0.5177, allocations: 1.284 MB / 0.6703 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001178/0.5189, allocations: 1.016 MB / 0.6713 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/0.521, allocations: 1.62 MB / 0.6729 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.616e-06/0.521, allocations: 4 kB / 0.6729 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003184/0.5242, allocations: 1.951 MB / 0.6748 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5242, allocations: 11.98 kB / 0.6748 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5242, allocations: 12 kB / 0.6748 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5243, allocations: 16 kB / 0.6748 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5255, allocations: 331.5 kB / 0.6751 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.5255, allocations: 20.52 kB / 0.6751 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5268, allocations: 150.9 kB / 0.6753 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5269, allocations: 59.98 kB / 0.6753 GB, free: 12.54 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.0003669/0.5273, allocations: 263.8 kB / 0.6756 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.5276, allocations: 150.1 kB / 0.6757 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.5297, allocations: 1.28 MB / 0.677 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.5297, allocations: 12 kB / 0.677 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5298, allocations: 0 / 0.677 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.5311, allocations: 1.288 MB / 0.6783 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.5356, allocations: 2.951 MB / 0.6811 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5356, allocations: 4 kB / 0.6811 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/0.5364, allocations: 183.9 kB / 0.6813 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.5364, allocations: 4 kB / 0.6813 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.5364, allocations: 27.98 kB / 0.6813 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.5365, allocations: 7.938 kB / 0.6814 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5365, allocations: 4.062 kB / 0.6814 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.539, allocations: 1.917 MB / 0.6832 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/0.5399, allocations: 406.8 kB / 0.6836 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.5401, allocations: 20 kB / 0.6836 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/0.5408, allocations: 59.72 kB / 0.6837 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.5409, allocations: 52.92 kB / 0.6837 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.541, allocations: 31.98 kB / 0.6838 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001668/0.5427, allocations: 1.249 MB / 0.685 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5427, allocations: 0 / 0.685 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00223/0.5449, allocations: 0.9124 MB / 0.6859 GB, free: 1.508 MB / 0.5137 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.0008151/0.5457, allocations: 365.2 kB / 0.6862 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003425/0.5492, allocations: 2.329 MB / 0.6885 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5492, allocations: 0 / 0.6885 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006836/0.5499, allocations: 0.5209 MB / 0.689 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/0.5534, allocations: 0.9339 MB / 0.6899 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.5587, allocations: 3.663 MB / 0.6935 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.5599, allocations: 1.674 MB / 0.6951 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002389/0.5623, allocations: 0.9107 MB / 0.696 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.5626, allocations: 127.4 kB / 0.6962 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.5627, allocations: 0 / 0.6962 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of Templates: time 0.0576/0.6203, allocations: 35.72 MB / 0.731 GB, free: 3.645 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)