Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001252/0.001252, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.497/1.497, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4302/0.4302, allocations: 48.77 MB / 320.4 MB, free: 3.816 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.0005431/0.0005432, allocations: 18.97 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1121, allocations: 60.27 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D): time 0.2552/0.3673, allocations: 37.16 MB / 488.6 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.378, allocations: 9.516 MB / 498.1 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.3787, allocations: 13.66 kB / 498.1 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.3794, allocations: 176 kB / 498.3 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009117/0.3803, allocations: 374.6 kB / 498.7 MB, free: 19.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.3962, allocations: 3.896 MB / 0.4908 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005803/0.402, allocations: 5.321 MB / 0.496 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.4047, allocations: 1.732 MB / 0.4977 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.4076, allocations: 1.544 MB / 0.4992 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004715/0.4123, allocations: 2.866 MB / 0.502 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002018/0.4143, allocations: 321.9 kB / 0.5023 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.429, allocations: 6.175 MB / 0.5083 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004014/0.4331, allocations: 1.917 MB / 0.5102 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003041/0.4362, allocations: 0.7144 MB / 0.5109 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4463, allocations: 7.302 MB / 0.518 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4464, allocations: 7.938 kB / 0.518 GB, free: 14.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4464, allocations: 0 / 0.518 GB, free: 14.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00023/0.4466, allocations: 0 / 0.518 GB, free: 14.37 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03035/0.477, allocations: 10.3 MB / 0.5281 GB, free: 4.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.477, allocations: 12.02 kB / 0.5281 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.4812, allocations: 0.7655 MB / 0.5288 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/0.4877, allocations: 2.767 MB / 0.5315 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.4881, allocations: 382.3 kB / 0.5319 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.4901, allocations: 0.5 MB / 0.5324 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.52, allocations: 12 MB / 0.5441 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/0.5203, allocations: 3.938 kB / 0.5441 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/0.5224, allocations: 212 kB / 0.5443 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/0.5227, allocations: 218.4 kB / 0.5445 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04008/0.5628, allocations: 14.15 MB / 0.5584 GB, free: 4.879 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.03664/0.5995, allocations: 24.23 MB / 0.582 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009937/0.6094, allocations: 4.462 MB / 0.5864 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.6126, allocations: 1.993 MB / 0.5883 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3739/0.9865, allocations: 64.63 MB / 0.6514 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.563e-05/0.9867, allocations: 63.34 kB / 0.6515 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=240): time 5.49e-06/0.9867, allocations: 0 / 0.6515 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=240): time 0.09743/1.084, allocations: 23.05 MB / 0.674 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/1.084, allocations: 76.25 kB / 0.6741 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008394/1.093, allocations: 3.98 MB / 0.678 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/1.094, allocations: 68.05 kB / 0.678 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.096, allocations: 3.135 MB / 0.6811 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/1.099, allocations: 0.9799 MB / 0.682 GB, free: 127 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006959/1.099, allocations: 170.2 kB / 0.6822 GB, free: 127 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0004153/1.1, allocations: 0.72 MB / 0.6829 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005549/1.105, allocations: 3.758 MB / 0.6866 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008112/1.113, allocations: 8.893 MB / 0.6953 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007644/1.121, allocations: 5.385 MB / 0.7005 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/1.121, allocations: 52 kB / 0.7006 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02599/1.147, allocations: 15.18 MB / 0.7154 GB, free: 95.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.003737/1.151, allocations: 5.386 MB / 0.7207 GB, free: 87.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003427/1.151, allocations: 180.8 kB / 0.7208 GB, free: 87.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03008/1.182, allocations: 10.3 MB / 0.7309 GB, free: 77.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004785/1.186, allocations: 1.747 MB / 0.7326 GB, free: 75.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.202, allocations: 9.055 MB / 0.7414 GB, free: 66.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00698/1.209, allocations: 1.271 MB / 0.7427 GB, free: 65.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.211, allocations: 0.6443 MB / 0.7433 GB, free: 64.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.211, allocations: 4 kB / 0.7433 GB, free: 64.55 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02822/1.239, allocations: 14.73 MB / 0.7577 GB, free: 49.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000612/1.24, allocations: 182.5 kB / 0.7579 GB, free: 49.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03036/1.27, allocations: 10.29 MB / 0.7679 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004704/1.275, allocations: 1.735 MB / 0.7696 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/1.291, allocations: 9.056 MB / 0.7785 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006311/1.297, allocations: 0.9442 MB / 0.7794 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.299, allocations: 0.6326 MB / 0.78 GB, free: 26.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,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 (943): * Single equations (assignments): 942 * 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: 0 * Non-linear torn systems: 1 {13 142} Notification: Performance of prepare postOptimizeDAE: time 0.004205/1.303, allocations: 1.844 MB / 0.7818 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.304, allocations: 351.5 kB / 0.7821 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04603/1.35, allocations: 31.19 MB / 0.8126 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.925e-05/1.35, allocations: 67.92 kB / 0.8127 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/1.35, allocations: 4 kB / 0.8127 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.012e-05/1.35, allocations: 12.61 kB / 0.8127 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3105/1.661, allocations: 42.64 MB / 0.8543 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/1.661, allocations: 5.688 kB / 0.8543 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.664, allocations: 385.8 kB / 0.8547 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0272/1.691, allocations: 7.015 MB / 0.8616 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/1.692, allocations: 121.9 kB / 0.8617 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06643/1.759, allocations: 28.52 MB / 0.8895 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.759, allocations: 1.312 kB / 0.8895 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03484/1.793, allocations: 13.66 MB / 0.9029 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002877/1.796, allocations: 0.879 MB / 0.9037 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000841/1.797, allocations: 87.97 kB / 0.9038 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.8, allocations: 249.5 kB / 0.904 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009077/1.801, allocations: 243 kB / 0.9043 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.801, allocations: 99.89 kB / 0.9044 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002654/1.804, allocations: 2.32 MB / 0.9066 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.804, allocations: 0 / 0.9066 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01378/1.817, allocations: 3.25 MB / 0.9098 GB, free: 120.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.004227/1.822, allocations: 1.02 MB / 0.9108 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02767/1.849, allocations: 16.13 MB / 0.9265 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.849, allocations: 6.031 kB / 0.9266 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008661/1.858, allocations: 4.256 MB / 0.9307 GB, free: 99.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.862, allocations: 0.6675 MB / 0.9314 GB, free: 98.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.879, allocations: 13.03 MB / 0.9441 GB, free: 85.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.881, allocations: 2.691 MB / 0.9467 GB, free: 82.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01184/1.893, allocations: 5.755 MB / 0.9523 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.894, allocations: 287.3 kB / 0.9526 GB, free: 76.63 MB / 0.5294 GB Notification: Performance of SimCode: time 2.054e-06/1.894, allocations: 4 kB / 0.9526 GB, free: 76.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.4155/2.31, allocations: 173.7 MB / 1.122 GB, free: 93.29 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1) Environment - environmentSimulation: