Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.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.TestWaterFlow1DFEM_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.735/1.735, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009247/0.0009248, allocations: 94.62 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3648/0.3648, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.151e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.093/8.244, allocations: 2.938 GB / 3.419 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/8.245, allocations: 79.95 kB / 3.419 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.398/9.642, allocations: 306.2 MB / 3.718 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/9.642, allocations: 0 / 3.718 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001025/9.642, allocations: 38.81 kB / 3.718 GB, free: 70.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 496 * Number of variables: 496 Notification: Performance of Generate backend data structure: time 0.01684/9.659, allocations: 3.399 MB / 3.722 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/9.659, allocations: 9.844 kB / 3.722 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/9.662, allocations: 365.1 kB / 3.722 GB, free: 69.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005344/9.668, allocations: 1.347 MB / 3.723 GB, free: 69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/9.668, allocations: 149.9 kB / 3.723 GB, free: 69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008277/9.669, allocations: 189.8 kB / 3.724 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/9.68, allocations: 4.616 MB / 3.728 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.791e-05/9.68, allocations: 6.781 kB / 3.728 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005043/9.68, allocations: 82.95 kB / 3.728 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/9.68, allocations: 80.34 kB / 3.728 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/9.694, allocations: 5.04 MB / 3.733 GB, free: 68.77 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01683/9.711, allocations: 9.208 MB / 3.742 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/9.717, allocations: 2.244 MB / 3.744 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/9.718, allocations: 0.9735 MB / 3.745 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1142/9.833, allocations: 63.98 MB / 3.808 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006585/9.839, allocations: 1.947 MB / 3.81 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=137): time 7.684e-06/9.839, allocations: 3.969 kB / 3.81 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137): time 0.01979/9.859, allocations: 5.352 MB / 3.815 GB, free: 25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/9.859, allocations: 257.4 kB / 3.815 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/9.862, allocations: 1.21 MB / 3.816 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005938/9.862, allocations: 48.55 kB / 3.816 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/9.863, allocations: 1.013 MB / 3.817 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009801/9.864, allocations: 0.5052 MB / 3.818 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005011/9.865, allocations: 55.84 kB / 3.818 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000277/9.865, allocations: 469.4 kB / 3.818 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/9.867, allocations: 1.419 MB / 3.82 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/9.871, allocations: 2.722 MB / 3.822 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/9.874, allocations: 1.899 MB / 3.824 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.697e-05/9.874, allocations: 18.56 kB / 3.824 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01659/9.891, allocations: 6.311 MB / 3.83 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.008725/9.899, allocations: 17.09 MB / 3.847 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/9.9, allocations: 40.03 kB / 3.847 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/9.911, allocations: 2.557 MB / 3.85 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/9.914, allocations: 0.68 MB / 3.85 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/9.939, allocations: 13.13 MB / 3.863 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/9.943, allocations: 412 kB / 3.864 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/9.944, allocations: 224.8 kB / 3.864 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/9.944, allocations: 2.844 kB / 3.864 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01811/9.962, allocations: 6.123 MB / 3.87 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/9.962, allocations: 44 kB / 3.87 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/9.972, allocations: 2.554 MB / 3.872 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/9.975, allocations: 0.6667 MB / 3.873 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02649/10, allocations: 13.13 MB / 3.886 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/10.01, allocations: 330.9 kB / 3.886 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/10.01, allocations: 223.3 kB / 3.886 GB, free: 11.48 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: hex.h[6]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))) start = hex.hstart[6] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[5]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[5] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[4]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[4] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[3]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[3] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[2]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[2] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[1]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))) start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 196 * Number of states: 0 () * Number of discrete variables: 15 (hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,$whenCondition1,MassFlowRate.a,MassFlowRate.b,MassFlowRate.last,$PRE.MassFlowRate.nextEvent,MassFlowRate.nextEvent,MassFlowRate.nextEventScaled,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 1 * 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 {6 49} Notification: Performance of prepare postOptimizeDAE: time 0.00203/10.01, allocations: 447.9 kB / 3.887 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008248/10.01, allocations: 150.2 kB / 3.887 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4565/10.47, allocations: 16.03 MB / 3.902 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/10.47, allocations: 42.78 kB / 3.903 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/10.47, allocations: 4.125 kB / 3.903 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.655e-05/10.47, allocations: 10.77 kB / 3.903 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/10.5, allocations: 21.58 MB / 3.924 GB, free: 92.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/10.5, allocations: 1.5 kB / 3.924 GB, free: 92.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/10.51, allocations: 209.9 kB / 3.924 GB, free: 92.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01158/10.52, allocations: 2.795 MB / 3.927 GB, free: 92.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007554/10.52, allocations: 66.28 kB / 3.927 GB, free: 92.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/10.54, allocations: 13.12 MB / 3.939 GB, free: 90.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/10.54, allocations: 0 / 3.939 GB, free: 90.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/10.56, allocations: 6.666 MB / 3.946 GB, free: 90.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/10.56, allocations: 491.5 kB / 3.946 GB, free: 90.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007737/10.56, allocations: 50.05 kB / 3.946 GB, free: 90.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/10.56, allocations: 130.7 kB / 3.947 GB, free: 90.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/10.56, allocations: 125.4 kB / 3.947 GB, free: 90.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/10.57, allocations: 52.7 kB / 3.947 GB, free: 90.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00159/10.57, allocations: 0.843 MB / 3.948 GB, free: 90.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.21e-07/10.57, allocations: 0 / 3.948 GB, free: 90.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01257/10.58, allocations: 2.045 MB / 3.95 GB, free: 90.17 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6]) * Number of discrete variables: 22 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$whenCondition1,MassFlowRate.a,MassFlowRate.b,MassFlowRate.last,MassFlowRate.nextEvent,MassFlowRate.nextEventScaled) * Number of discrete states: 6 (MassFlowRate.nextEvent,MassFlowRate.last,MassFlowRate.nextEventScaled,MassFlowRate.b,MassFlowRate.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * 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 {6 54} Notification: Performance of Backend phase and start with SimCode phase: time 0.009362/10.59, allocations: 1.36 MB / 3.951 GB, free: 90.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01833/10.61, allocations: 6.675 MB / 3.957 GB, free: 89.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/10.61, allocations: 3.812 kB / 3.957 GB, free: 89.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004502/10.61, allocations: 2.059 MB / 3.959 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/10.61, allocations: 444.4 kB / 3.96 GB, free: 88.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/10.62, allocations: 4.214 MB / 3.964 GB, free: 87.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/10.62, allocations: 1.636 MB / 3.966 GB, free: 86.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01023/10.63, allocations: 8.833 MB / 3.974 GB, free: 86.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009967/10.63, allocations: 190.8 kB / 3.974 GB, free: 86.55 MB / 0.5417 GB Notification: Performance of SimCode: time 1.382e-06/10.63, allocations: 0 / 3.974 GB, free: 86.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.1207/10.76, allocations: 89.03 MB / 4.061 GB, free: 48.53 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe 2>&1)