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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8565/0.8565, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 403.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009869/0.0009868, allocations: 113.8 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009632/0.0009632, allocations: 47.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1447, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02609/0.1709, allocations: 28.43 MB / 0.6679 GB, free: 10.25 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1827, allocations: 7.956 MB / 0.6757 GB, free: 2.273 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1842, allocations: 31.81 kB / 0.6757 GB, free: 2.242 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1853, allocations: 334.1 kB / 0.676 GB, free: 1.914 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.188, allocations: 0.9417 MB / 0.677 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.1905, allocations: 0.9211 MB / 0.6779 GB, free: 56 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005607/0.1961, allocations: 6.111 MB / 0.6838 GB, free: 9.93 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.1985, allocations: 1.858 MB / 0.6856 GB, free: 8.035 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.2013, allocations: 1.416 MB / 0.687 GB, free: 6.613 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.2034, allocations: 1.377 MB / 0.6884 GB, free: 5.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.2037, allocations: 104 kB / 0.6885 GB, free: 5.129 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.2062, allocations: 1.158 MB / 0.6896 GB, free: 3.969 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004105/0.2066, allocations: 422.3 kB / 0.69 GB, free: 3.555 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.2079, allocations: 1.011 MB / 0.691 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3123/0.5202, allocations: 3.528 MB / 0.6944 GB, free: 21.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5202, allocations: 0.9688 kB / 0.6944 GB, free: 21.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5202, allocations: 0 / 0.6944 GB, free: 21.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.5204, allocations: 0 / 0.6944 GB, free: 21.31 MB / 490.7 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.006424/0.5268, allocations: 2.561 MB / 0.6969 GB, free: 20.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5269, allocations: 8.812 kB / 0.6969 GB, free: 20.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.5279, allocations: 237.3 kB / 0.6972 GB, free: 20.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.5315, allocations: 1.763 MB / 0.6989 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.5316, allocations: 117.2 kB / 0.699 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.5319, allocations: 155.5 kB / 0.6992 GB, free: 19.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.5355, allocations: 1.994 MB / 0.7011 GB, free: 19.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.5356, allocations: 5.656 kB / 0.7011 GB, free: 19.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.5357, allocations: 60.05 kB / 0.7012 GB, free: 19.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/0.5358, allocations: 41.77 kB / 0.7012 GB, free: 19.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.5388, allocations: 1.796 MB / 0.703 GB, free: 19.61 MB / 490.7 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.01232/0.5511, allocations: 7.585 MB / 0.7104 GB, free: 16.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.5532, allocations: 1.447 MB / 0.7118 GB, free: 16.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.5541, allocations: 0.6602 MB / 0.7124 GB, free: 16.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006903/0.561, allocations: 3.841 MB / 0.7162 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.5611, allocations: 47.34 kB / 0.7162 GB, free: 14.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=88): time 2.565e-06/0.5611, allocations: 0 / 0.7162 GB, free: 14.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.002699/0.5638, allocations: 1.511 MB / 0.7177 GB, free: 14.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5638, allocations: 60.66 kB / 0.7178 GB, free: 14.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.5665, allocations: 1.61 MB / 0.7193 GB, free: 14.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002044/0.5667, allocations: 51.58 kB / 0.7194 GB, free: 14.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.5674, allocations: 0.7562 MB / 0.7201 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.5677, allocations: 310.8 kB / 0.7204 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.5682, allocations: 298.9 kB / 0.7207 GB, free: 13.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.5683, allocations: 361.1 kB / 0.721 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5693, allocations: 0.6917 MB / 0.7217 GB, free: 13.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.5706, allocations: 1.026 MB / 0.7227 GB, free: 12.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.5729, allocations: 1.622 MB / 0.7243 GB, free: 11.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.5729, allocations: 0 / 0.7243 GB, free: 11.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003152/0.576, allocations: 1.954 MB / 0.7262 GB, free: 10.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5761, allocations: 10 kB / 0.7262 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.5761, allocations: 7.562 kB / 0.7262 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/0.5761, allocations: 19.84 kB / 0.7262 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.5773, allocations: 337.6 kB / 0.7266 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.5774, allocations: 22.98 kB / 0.7266 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.5788, allocations: 216.4 kB / 0.7268 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.579, allocations: 61.56 kB / 0.7269 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001593/0.5806, allocations: 1.282 MB / 0.7281 GB, free: 10.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/0.5816, allocations: 1.015 MB / 0.7291 GB, free: 9.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001678/0.5833, allocations: 1.622 MB / 0.7307 GB, free: 8.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/0.5833, allocations: 4.031 kB / 0.7307 GB, free: 8.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002651/0.586, allocations: 1.954 MB / 0.7326 GB, free: 7.586 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.586, allocations: 13.8 kB / 0.7326 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.586, allocations: 12.22 kB / 0.7326 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.586, allocations: 17.25 kB / 0.7326 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.5871, allocations: 327 kB / 0.7329 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.5872, allocations: 24.69 kB / 0.733 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5884, allocations: 167.5 kB / 0.7331 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5885, allocations: 60.92 kB / 0.7332 GB, free: 7.402 MB / 490.7 MB 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.0003207/0.5888, allocations: 267.8 kB / 0.7334 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.5891, allocations: 148 kB / 0.7336 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.5909, allocations: 1.287 MB / 0.7348 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5909, allocations: 8.125 kB / 0.7348 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5909, allocations: 3.984 kB / 0.7348 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.5921, allocations: 1.285 MB / 0.7361 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.596, allocations: 2.94 MB / 0.739 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.596, allocations: 3.906 kB / 0.739 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/0.5967, allocations: 180.9 kB / 0.7392 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5968, allocations: 3.969 kB / 0.7392 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.5968, allocations: 27.7 kB / 0.7392 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.5968, allocations: 11.59 kB / 0.7392 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5968, allocations: 0 / 0.7392 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03325/0.6301, allocations: 13.67 MB / 0.7525 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.6309, allocations: 410.7 kB / 0.7529 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.6311, allocations: 16 kB / 0.7529 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008813/0.632, allocations: 84.84 kB / 0.753 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6321, allocations: 56.86 kB / 0.7531 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.6322, allocations: 35.98 kB / 0.7531 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001694/0.6339, allocations: 1.21 MB / 0.7543 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6339, allocations: 0 / 0.7543 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003935/0.6379, allocations: 1.412 MB / 0.7557 GB, free: 3.449 MB / 0.4948 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.0008321/0.6387, allocations: 353.7 kB / 0.756 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004112/0.6428, allocations: 2.334 MB / 0.7583 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.6429, allocations: 0 / 0.7583 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.6437, allocations: 0.5183 MB / 0.7588 GB, free: 392 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/0.6484, allocations: 0.8715 MB / 0.7597 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/0.6549, allocations: 4.953 MB / 0.7645 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.6562, allocations: 1.702 MB / 0.7661 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003154/0.6594, allocations: 0.9706 MB / 0.7671 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/0.66, allocations: 143.4 kB / 0.7672 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.66, allocations: 1.75 kB / 0.7672 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of Templates: time 0.06403/0.724, allocations: 42.38 MB / 0.8086 GB, free: 13.79 MB / 0.5573 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)