Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 95.92 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4052/0.4052, allocations: 48.83 MB / 366.7 MB, free: 46.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 51.92 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 59.16 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.2191/0.3352, allocations: 41 MB / 0.5242 GB, free: 37.43 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.3514, allocations: 16.2 MB / 0.54 GB, free: 26.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.3523, allocations: 10.25 kB / 0.54 GB, free: 26.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.3532, allocations: 190.2 kB / 0.5402 GB, free: 26.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.3649, allocations: 3.727 MB / 0.5438 GB, free: 24.42 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.3684, allocations: 1.052 MB / 0.5448 GB, free: 23.86 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.3708, allocations: 2.141 MB / 0.5469 GB, free: 23.13 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008923/0.3717, allocations: 482 kB / 0.5474 GB, free: 22.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.3728, allocations: 499.1 kB / 0.5479 GB, free: 22.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.3741, allocations: 0.6322 MB / 0.5485 GB, free: 22.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.3744, allocations: 42.56 kB / 0.5485 GB, free: 22.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.3885, allocations: 6.203 MB / 0.5546 GB, free: 20.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.3892, allocations: 326.2 kB / 0.5549 GB, free: 19.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3903, allocations: 499.2 kB / 0.5554 GB, free: 19.53 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009359/0.3997, allocations: 4.386 MB / 0.5597 GB, free: 16.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3997, allocations: 0 / 0.5597 GB, free: 16.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3997, allocations: 1.188 kB / 0.5597 GB, free: 16.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.775e-05/0.3998, allocations: 0 / 0.5597 GB, free: 16.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.005886/0.4057, allocations: 1.769 MB / 0.5614 GB, free: 15.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4057, allocations: 16.8 kB / 0.5614 GB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.4071, allocations: 253 kB / 0.5616 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.4087, allocations: 0.618 MB / 0.5623 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.4088, allocations: 64.44 kB / 0.5623 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.4091, allocations: 96.16 kB / 0.5624 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005244/0.4143, allocations: 2.218 MB / 0.5646 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.4144, allocations: 4.5 kB / 0.5646 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.4145, allocations: 32.03 kB / 0.5646 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.4145, allocations: 46.58 kB / 0.5646 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/0.4196, allocations: 2.207 MB / 0.5668 GB, free: 12.34 MB / 394.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.005685/0.4253, allocations: 4.835 MB / 0.5715 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.4287, allocations: 1.402 MB / 0.5729 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.4292, allocations: 374.8 kB / 0.5733 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1318/0.5609, allocations: 63.97 MB / 0.6357 GB, free: 56 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.561, allocations: 39.12 kB / 0.6358 GB, free: 4 kB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 2.274e-06/0.561, allocations: 0 / 0.6358 GB, free: 4 kB / 458.7 MB Notification: Performance of matching and sorting (n=67): time 0.009894/0.5709, allocations: 2.878 MB / 0.6386 GB, free: 13.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.571, allocations: 59.97 kB / 0.6386 GB, free: 13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.5717, allocations: 0.4902 MB / 0.6391 GB, free: 12.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.5718, allocations: 41.7 kB / 0.6391 GB, free: 12.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.5721, allocations: 379.6 kB / 0.6395 GB, free: 12.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.5724, allocations: 240.6 kB / 0.6397 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/0.5729, allocations: 270.4 kB / 0.64 GB, free: 11.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5731, allocations: 370.7 kB / 0.6403 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.5742, allocations: 0.6293 MB / 0.641 GB, free: 10.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.5755, allocations: 0.7599 MB / 0.6417 GB, free: 9.758 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.578, allocations: 1.341 MB / 0.643 GB, free: 8.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.578, allocations: 0 / 0.643 GB, free: 8.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004424/0.5824, allocations: 2.246 MB / 0.6452 GB, free: 6.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5825, allocations: 7.938 kB / 0.6452 GB, free: 6.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5825, allocations: 4 kB / 0.6452 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/0.5864, allocations: 1.733 MB / 0.6469 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.5868, allocations: 91.89 kB / 0.647 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.5909, allocations: 2.399 MB / 0.6493 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.592, allocations: 131.3 kB / 0.6495 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.5922, allocations: 87.91 kB / 0.6496 GB, free: 1.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001372/0.5936, allocations: 0.8358 MB / 0.6504 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/0.5947, allocations: 0.753 MB / 0.6511 GB, free: 8 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002054/0.5967, allocations: 1.334 MB / 0.6524 GB, free: 14.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/0.5968, allocations: 3.938 kB / 0.6524 GB, free: 14.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.004032/0.6008, allocations: 2.191 MB / 0.6545 GB, free: 12.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6009, allocations: 4 kB / 0.6546 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6009, allocations: 4 kB / 0.6546 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/0.6048, allocations: 1.73 MB / 0.6562 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.6052, allocations: 95.14 kB / 0.6563 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.6095, allocations: 2.407 MB / 0.6587 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.6108, allocations: 119.4 kB / 0.6588 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.611, allocations: 87.91 kB / 0.6589 GB, free: 7.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0004107/0.6114, allocations: 228.1 kB / 0.6591 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.6117, allocations: 63.25 kB / 0.6592 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.6219, allocations: 10.16 MB / 0.6691 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.6219, allocations: 19.98 kB / 0.6691 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.6219, allocations: 7.922 kB / 0.6691 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.622, allocations: 4 kB / 0.6691 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.6262, allocations: 4.726 MB / 0.6737 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6262, allocations: 4 kB / 0.6737 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/0.627, allocations: 151.7 kB / 0.6739 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.6286, allocations: 417.1 kB / 0.6743 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.6288, allocations: 19.97 kB / 0.6743 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/0.6336, allocations: 4.185 MB / 0.6784 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6337, allocations: 3.938 kB / 0.6784 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3899/1.024, allocations: 74.86 MB / 0.7515 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/1.024, allocations: 264.4 kB / 0.7517 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/1.024, allocations: 19.98 kB / 0.7518 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007666/1.025, allocations: 75.78 kB / 0.7518 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.025, allocations: 63.38 kB / 0.7519 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/1.025, allocations: 23.98 kB / 0.7519 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003526/1.026, allocations: 342.8 kB / 0.7522 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/1.026, allocations: 0 / 0.7522 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01269/1.038, allocations: 3.93 MB / 0.7561 GB, free: 149 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,8,76.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0211/1.06, allocations: 2.096 MB / 0.7581 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004953/1.065, allocations: 2.543 MB / 0.7606 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.065, allocations: 0 / 0.7606 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/1.066, allocations: 1.091 MB / 0.7617 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.068, allocations: 302.2 kB / 0.762 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/1.074, allocations: 4.371 MB / 0.7662 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.074, allocations: 1.199 MB / 0.7674 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001403/1.076, allocations: 442.4 kB / 0.7678 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/1.076, allocations: 75.41 kB / 0.7679 GB, free: 137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/1.076, allocations: 0 / 0.7679 GB, free: 137 MB / 0.5105 GB Notification: Performance of Templates: time 0.3805/1.457, allocations: 183.4 MB / 0.947 GB, free: 136.2 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)