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.001813/0.001813, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.002106/0.002107, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7293/0.7293, allocations: 132.2 MB / 422.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 60.92 kB / 0.5019 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4434, allocations: 80.21 MB / 0.5802 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03273/0.4762, allocations: 28.36 MB / 0.6079 GB, free: 68 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.4897, allocations: 7.838 MB / 0.6156 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.4917, allocations: 35.25 kB / 0.6156 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.4933, allocations: 341.9 kB / 0.6159 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.4971, allocations: 0.9348 MB / 0.6168 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.5007, allocations: 0.9721 MB / 0.6178 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007713/0.5084, allocations: 4.953 MB / 0.6226 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003714/0.5121, allocations: 2.261 MB / 0.6248 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.5174, allocations: 1.803 MB / 0.6266 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.5204, allocations: 1.482 MB / 0.628 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.5211, allocations: 228 kB / 0.6283 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.5248, allocations: 1.322 MB / 0.6296 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009317/0.5257, allocations: 0.5492 MB / 0.6301 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.5285, allocations: 1.159 MB / 0.6312 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.5332, allocations: 2.947 MB / 0.6341 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5333, allocations: 0 / 0.6341 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.5333, allocations: 0 / 0.6341 GB, free: 10.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001375/0.5334, allocations: 0 / 0.6341 GB, free: 10.52 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.007644/0.5411, allocations: 2.561 MB / 0.6366 GB, free: 7.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.5412, allocations: 12.03 kB / 0.6366 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.5426, allocations: 230.5 kB / 0.6368 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.5464, allocations: 1.776 MB / 0.6386 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.5465, allocations: 114.7 kB / 0.6387 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/0.5471, allocations: 155.9 kB / 0.6388 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.5516, allocations: 1.998 MB / 0.6408 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.5517, allocations: 0 / 0.6408 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.5519, allocations: 60 kB / 0.6408 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.552, allocations: 36 kB / 0.6409 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.5554, allocations: 1.798 MB / 0.6426 GB, free: 1.609 MB / 478.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.01331/0.5688, allocations: 7.594 MB / 0.65 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.5708, allocations: 1.444 MB / 0.6514 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/0.5717, allocations: 0.665 MB / 0.6521 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006661/0.5784, allocations: 3.835 MB / 0.6558 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.5785, allocations: 47.55 kB / 0.6559 GB, free: 3.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.515e-06/0.5785, allocations: 0 / 0.6559 GB, free: 3.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002773/0.5812, allocations: 1.514 MB / 0.6574 GB, free: 1.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.5813, allocations: 64.41 kB / 0.6574 GB, free: 1.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.5838, allocations: 1.606 MB / 0.659 GB, free: 164 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.5839, allocations: 49.7 kB / 0.659 GB, free: 108 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006867/0.5846, allocations: 0.7497 MB / 0.6598 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.585, allocations: 315.5 kB / 0.6601 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.5854, allocations: 295.3 kB / 0.6604 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5856, allocations: 369.8 kB / 0.6607 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.5866, allocations: 0.6878 MB / 0.6614 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.5879, allocations: 1.028 MB / 0.6624 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.59, allocations: 1.624 MB / 0.664 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.59, allocations: 4 kB / 0.664 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003231/0.5932, allocations: 1.944 MB / 0.6659 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.5933, allocations: 8 kB / 0.6659 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.5933, allocations: 8 kB / 0.6659 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.5934, allocations: 20.06 kB / 0.6659 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.5946, allocations: 339.4 kB / 0.6662 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/0.5947, allocations: 27.86 kB / 0.6663 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.5962, allocations: 218 kB / 0.6665 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.5964, allocations: 63.98 kB / 0.6665 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00222/0.5986, allocations: 1.282 MB / 0.6678 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001526/0.6001, allocations: 1.02 MB / 0.6688 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002463/0.6026, allocations: 1.616 MB / 0.6704 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-05/0.6026, allocations: 7.984 kB / 0.6704 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003564/0.6062, allocations: 1.948 MB / 0.6723 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.6062, allocations: 10.03 kB / 0.6723 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.6063, allocations: 12 kB / 0.6723 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6063, allocations: 16 kB / 0.6723 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.6075, allocations: 335.5 kB / 0.6726 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.378e-05/0.6075, allocations: 23.92 kB / 0.6726 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.6093, allocations: 163 kB / 0.6728 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.6095, allocations: 63.92 kB / 0.6729 GB, free: 1.402 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.0004887/0.61, allocations: 259.8 kB / 0.6731 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005983/0.6106, allocations: 150.1 kB / 0.6732 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.6129, allocations: 1.279 MB / 0.6745 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.6129, allocations: 15.98 kB / 0.6745 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6129, allocations: 0 / 0.6745 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.6144, allocations: 1.288 MB / 0.6758 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.6193, allocations: 2.935 MB / 0.6786 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6194, allocations: 0 / 0.6786 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.6202, allocations: 187.7 kB / 0.6788 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.6202, allocations: 4 kB / 0.6788 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.6203, allocations: 32.17 kB / 0.6789 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.6203, allocations: 11.94 kB / 0.6789 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6203, allocations: 3.938 kB / 0.6789 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.6231, allocations: 1.913 MB / 0.6807 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009889/0.6241, allocations: 398.9 kB / 0.6811 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/0.6246, allocations: 24 kB / 0.6811 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6257, allocations: 79.75 kB / 0.6812 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6258, allocations: 52.92 kB / 0.6813 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.6259, allocations: 35.98 kB / 0.6813 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001911/0.6278, allocations: 1.203 MB / 0.6825 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6278, allocations: 4 kB / 0.6825 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00291/0.6307, allocations: 0.9123 MB / 0.6834 GB, free: 6.402 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.0009121/0.6317, allocations: 351.7 kB / 0.6837 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0047/0.6364, allocations: 2.832 MB / 0.6865 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.6364, allocations: 4 kB / 0.6865 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.6371, allocations: 0.5209 MB / 0.687 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/0.6412, allocations: 0.9126 MB / 0.6879 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/0.6475, allocations: 4.27 MB / 0.692 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.6488, allocations: 1.634 MB / 0.6936 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/0.6495, allocations: 143.4 kB / 0.6938 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.293e-06/0.6496, allocations: 0 / 0.6938 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.04902/0.6986, allocations: 32.32 MB / 0.7253 GB, free: 11.62 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)