Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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 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 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 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(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001293/0.001293, allocations: 183.1 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4926/0.4926, allocations: 48.76 MB / 320.4 MB, free: 3.848 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005476/0.0005477, allocations: 12 kB / 391.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 60.25 MB / 451.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast): time 0.2923/0.4296, allocations: 39.63 MB / 491 MB, free: 25.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.4337, allocations: 1.927 MB / 493 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007409/0.4345, allocations: 14.19 kB / 493 MB, free: 24.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000948/0.4355, allocations: 224.7 kB / 493.2 MB, free: 24.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4367, allocations: 334.2 kB / 493.5 MB, free: 24.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.439, allocations: 0.5299 MB / 494 MB, free: 23.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003558/0.4426, allocations: 2.094 MB / 496.1 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.4449, allocations: 1.159 MB / 497.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.4471, allocations: 0.905 MB / 498.2 MB, free: 22.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.4501, allocations: 1.181 MB / 499.4 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005687/0.4506, allocations: 131.1 kB / 499.5 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08802/0.5387, allocations: 48.48 MB / 0.5351 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00205/0.5408, allocations: 0.9938 MB / 0.5361 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.5421, allocations: 0.5006 MB / 0.5366 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.5451, allocations: 2.498 MB / 0.539 GB, free: 9.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5451, allocations: 0 / 0.539 GB, free: 9.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5451, allocations: 0 / 0.539 GB, free: 9.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.994e-05/0.5452, allocations: 0 / 0.539 GB, free: 9.059 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01076/0.5559, allocations: 3.711 MB / 0.5427 GB, free: 5.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.556, allocations: 12.02 kB / 0.5427 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.557, allocations: 249.2 kB / 0.5429 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/0.561, allocations: 1.452 MB / 0.5443 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.5612, allocations: 176.5 kB / 0.5445 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005039/0.5617, allocations: 267.6 kB / 0.5448 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/0.5677, allocations: 3.847 MB / 0.5485 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.5678, allocations: 0 / 0.5485 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.568, allocations: 88 kB / 0.5486 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.5682, allocations: 156.9 kB / 0.5487 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007911/0.5761, allocations: 5.614 MB / 0.5542 GB, free: 9.301 MB / 430.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.02345/0.5996, allocations: 16.67 MB / 0.5705 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.609, allocations: 4.814 MB / 0.5752 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/0.6228, allocations: 9.733 MB / 0.5847 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.6229, allocations: 56.56 kB / 0.5848 GB, free: 7.629 MB / 462.1 MB Notification: Performance of pre-optimization done (n=234): time 4.158e-06/0.6229, allocations: 0 / 0.5848 GB, free: 7.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.02261/0.6455, allocations: 9.051 MB / 0.5936 GB, free: 14.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.6456, allocations: 73.41 kB / 0.5937 GB, free: 14.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.6471, allocations: 0.7934 MB / 0.5945 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.6475, allocations: 65.7 kB / 0.5945 GB, free: 13.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/0.6481, allocations: 0.8455 MB / 0.5953 GB, free: 12.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009311/0.6491, allocations: 0.8435 MB / 0.5962 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.6493, allocations: 56 kB / 0.5962 GB, free: 11.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003418/0.6497, allocations: 464.1 kB / 0.5967 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.6524, allocations: 1.403 MB / 0.598 GB, free: 9.945 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.6555, allocations: 2.04 MB / 0.6 GB, free: 7.637 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.6582, allocations: 1.728 MB / 0.6017 GB, free: 5.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.6582, allocations: 4 kB / 0.6017 GB, free: 5.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008258/0.6665, allocations: 4.491 MB / 0.6061 GB, free: 1.281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003794/0.6703, allocations: 7.138 MB / 0.6131 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-05/0.6703, allocations: 20 kB / 0.6131 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004895/0.6752, allocations: 1.28 MB / 0.6143 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.6775, allocations: 482 kB / 0.6148 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009724/0.6873, allocations: 11.61 MB / 0.6261 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.6902, allocations: 381.2 kB / 0.6265 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.6904, allocations: 114 kB / 0.6266 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6904, allocations: 4 kB / 0.6266 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007609/0.6981, allocations: 4.3 MB / 0.6308 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/0.6981, allocations: 16 kB / 0.6308 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/0.7026, allocations: 1.28 MB / 0.6321 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.7045, allocations: 483.2 kB / 0.6325 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2624/0.967, allocations: 11.6 MB / 0.6439 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.9701, allocations: 343.6 kB / 0.6442 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.9704, allocations: 110.6 kB / 0.6443 GB, free: 156.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (281): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001503/0.9719, allocations: 0.7393 MB / 0.645 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.9724, allocations: 145.8 kB / 0.6452 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.9846, allocations: 5.569 MB / 0.6506 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.9847, allocations: 26.3 kB / 0.6506 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/0.9847, allocations: 16.38 kB / 0.6506 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/0.9848, allocations: 16.45 kB / 0.6507 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.9886, allocations: 2.488 MB / 0.6531 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.9886, allocations: 1.75 kB / 0.6531 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.9899, allocations: 322.5 kB / 0.6534 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008985/0.9989, allocations: 2.701 MB / 0.656 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003736/0.9993, allocations: 92 kB / 0.6561 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0247/1.024, allocations: 12.41 MB / 0.6682 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.024, allocations: 0 / 0.6682 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.039, allocations: 7.183 MB / 0.6753 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.041, allocations: 0.5886 MB / 0.6758 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/1.041, allocations: 60.7 kB / 0.6759 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.043, allocations: 195.4 kB / 0.6761 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008254/1.044, allocations: 179.8 kB / 0.6762 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.044, allocations: 84.41 kB / 0.6763 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007286/1.045, allocations: 0.5186 MB / 0.6768 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.045, allocations: 0 / 0.6768 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006135/1.051, allocations: 1.587 MB / 0.6784 GB, free: 146.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * 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 (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006372/1.052, allocations: 208.9 kB / 0.6786 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0188/1.07, allocations: 7.041 MB / 0.6855 GB, free: 144 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.07, allocations: 0 / 0.6855 GB, free: 144 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006374/1.077, allocations: 2.706 MB / 0.6881 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005133/1.082, allocations: 0.8821 MB / 0.689 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.092, allocations: 6.879 MB / 0.6957 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.093, allocations: 1.686 MB / 0.6973 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004247/1.098, allocations: 1.305 MB / 0.6986 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/1.098, allocations: 159.4 kB / 0.6988 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/1.098, allocations: 0 / 0.6988 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.06738/1.166, allocations: 53.85 MB / 0.7513 GB, free: 78.51 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1) Environment - environmentSimulation: