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.001293/0.001293, 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.001348/0.001348, allocations: 192.1 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7677/0.7677, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 60.03 kB / 0.5013 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.2 MB / 0.5796 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3057/0.456, allocations: 28.35 MB / 0.6073 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009227/0.4654, allocations: 7.84 MB / 0.6149 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.4665, allocations: 32.28 kB / 0.615 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009872/0.4675, allocations: 347.9 kB / 0.6153 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.4697, allocations: 0.9289 MB / 0.6162 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.4721, allocations: 0.9717 MB / 0.6172 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.4758, allocations: 4.944 MB / 0.622 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.4779, allocations: 2.266 MB / 0.6242 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.4812, allocations: 1.809 MB / 0.626 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.4828, allocations: 1.495 MB / 0.6274 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.4831, allocations: 226.7 kB / 0.6276 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.4852, allocations: 1.317 MB / 0.6289 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.4856, allocations: 0.5495 MB / 0.6295 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4866, allocations: 1.154 MB / 0.6306 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.4898, allocations: 3.654 MB / 0.6342 GB, free: 29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4899, allocations: 0 / 0.6342 GB, free: 29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4899, allocations: 0 / 0.6342 GB, free: 29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.045e-05/0.4899, allocations: 6.625 kB / 0.6342 GB, free: 28.99 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.003939/0.4939, allocations: 2.56 MB / 0.6367 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4939, allocations: 8.062 kB / 0.6367 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007342/0.4946, allocations: 227.6 kB / 0.6369 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.4971, allocations: 1.774 MB / 0.6386 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.4972, allocations: 113.4 kB / 0.6387 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.4974, allocations: 148 kB / 0.6389 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.5001, allocations: 2.003 MB / 0.6408 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.5001, allocations: 1.938 kB / 0.6408 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.5003, allocations: 60.52 kB / 0.6409 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/0.5003, allocations: 46.61 kB / 0.6409 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5031, allocations: 1.796 MB / 0.6427 GB, free: 24.99 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.01247/0.5156, allocations: 7.586 MB / 0.6501 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.5181, allocations: 1.446 MB / 0.6515 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009832/0.5191, allocations: 0.6636 MB / 0.6522 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007334/0.5264, allocations: 3.832 MB / 0.6559 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.5265, allocations: 47.94 kB / 0.6559 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.136e-06/0.5265, allocations: 0 / 0.6559 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002698/0.5292, allocations: 1.516 MB / 0.6574 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.5293, allocations: 65.12 kB / 0.6575 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.5316, allocations: 1.603 MB / 0.6591 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.5317, allocations: 52.58 kB / 0.6591 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.5324, allocations: 0.7573 MB / 0.6598 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.5328, allocations: 310 kB / 0.6601 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/0.5332, allocations: 300.9 kB / 0.6604 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5334, allocations: 361 kB / 0.6608 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5344, allocations: 0.6938 MB / 0.6614 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5357, allocations: 1.017 MB / 0.6624 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.5378, allocations: 1.629 MB / 0.664 GB, free: 13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5378, allocations: 2.531 kB / 0.664 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003256/0.541, allocations: 1.947 MB / 0.6659 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.5411, allocations: 10.31 kB / 0.6659 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.5411, allocations: 8.938 kB / 0.666 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.5411, allocations: 15.97 kB / 0.666 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.5424, allocations: 334.8 kB / 0.6663 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.198e-05/0.5425, allocations: 21.61 kB / 0.6663 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.5441, allocations: 223.5 kB / 0.6665 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.5442, allocations: 57.19 kB / 0.6666 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002109/0.5463, allocations: 1.285 MB / 0.6678 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.5477, allocations: 1.019 MB / 0.6688 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002129/0.5498, allocations: 1.623 MB / 0.6704 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.584e-06/0.5498, allocations: 2.719 kB / 0.6704 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003298/0.5531, allocations: 1.951 MB / 0.6723 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5531, allocations: 9.594 kB / 0.6723 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5532, allocations: 8.438 kB / 0.6723 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5532, allocations: 15.69 kB / 0.6723 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.5544, allocations: 334.1 kB / 0.6727 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.5544, allocations: 27.33 kB / 0.6727 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.5559, allocations: 169 kB / 0.6729 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.556, allocations: 64.41 kB / 0.6729 GB, free: 9.262 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.0004119/0.5564, allocations: 262.1 kB / 0.6732 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.5568, allocations: 151.5 kB / 0.6733 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5588, allocations: 1.281 MB / 0.6746 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.5588, allocations: 12.23 kB / 0.6746 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.5588, allocations: 1.375 kB / 0.6746 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.5602, allocations: 1.286 MB / 0.6758 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/0.5648, allocations: 2.939 MB / 0.6787 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5648, allocations: 5.156 kB / 0.6787 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.5656, allocations: 184.4 kB / 0.6789 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.5656, allocations: 3.719 kB / 0.6789 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.5657, allocations: 27.58 kB / 0.6789 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.5657, allocations: 4.781 kB / 0.6789 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.5657, allocations: 5.156 kB / 0.6789 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.5682, allocations: 1.919 MB / 0.6808 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/0.5689, allocations: 392.3 kB / 0.6812 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.5691, allocations: 25.08 kB / 0.6812 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.5699, allocations: 74.11 kB / 0.6813 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.57, allocations: 62.89 kB / 0.6813 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.5701, allocations: 30.77 kB / 0.6814 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001642/0.5718, allocations: 1.206 MB / 0.6825 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5718, allocations: 4 kB / 0.6825 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00276/0.5745, allocations: 0.9138 MB / 0.6834 GB, free: 4.25 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.0008027/0.5754, allocations: 354.6 kB / 0.6838 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003944/0.5793, allocations: 2.826 MB / 0.6865 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5793, allocations: 0.875 kB / 0.6865 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.5799, allocations: 0.5211 MB / 0.687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/0.5835, allocations: 0.9231 MB / 0.6879 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.5898, allocations: 4.297 MB / 0.6921 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.5914, allocations: 1.682 MB / 0.6938 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002935/0.5943, allocations: 0.9128 MB / 0.6947 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.5947, allocations: 139.3 kB / 0.6948 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.372e-06/0.5947, allocations: 0 / 0.6948 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.05837/0.6531, allocations: 35.18 MB / 0.7292 GB, free: 7.453 MB / 0.545 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)