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.001543/0.001543, allocations: 176.3 kB / 17.4 MB, free: 4.426 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.455/1.455, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.001013/0.001013, allocations: 91.84 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4577/0.4577, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.821, allocations: 2.938 GB / 3.427 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/6.821, allocations: 87.56 kB / 3.427 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.15/7.971, allocations: 307.4 MB / 3.727 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/7.971, allocations: 0 / 3.727 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.093e-05/7.971, allocations: 37.44 kB / 3.727 GB, free: 60.29 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.01371/7.984, allocations: 3.472 MB / 3.73 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/7.984, allocations: 11.03 kB / 3.73 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/7.987, allocations: 367.4 kB / 3.731 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/7.992, allocations: 1.366 MB / 3.732 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/7.992, allocations: 150.5 kB / 3.732 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008432/7.993, allocations: 185.2 kB / 3.732 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009751/8.003, allocations: 4.624 MB / 3.737 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/8.003, allocations: 2.812 kB / 3.737 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/8.003, allocations: 78.81 kB / 3.737 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/8.003, allocations: 79.48 kB / 3.737 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/8.014, allocations: 5.039 MB / 3.742 GB, free: 58.77 MB / 0.5105 GB 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.01493/8.029, allocations: 9.221 MB / 3.751 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/8.035, allocations: 2.197 MB / 3.753 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/8.036, allocations: 0.9894 MB / 3.754 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1091/8.145, allocations: 63.73 MB / 3.816 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005374/8.151, allocations: 1.905 MB / 3.818 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 4.629e-06/8.151, allocations: 1.406 kB / 3.818 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.03139/8.182, allocations: 8.735 MB / 3.827 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/8.182, allocations: 245.5 kB / 3.827 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/8.184, allocations: 1.374 MB / 3.828 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/8.185, allocations: 52.78 kB / 3.828 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/8.185, allocations: 1.014 MB / 3.829 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/8.186, allocations: 0.5031 MB / 3.83 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/8.186, allocations: 52.44 kB / 3.83 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002459/8.186, allocations: 474.9 kB / 3.83 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/8.189, allocations: 1.439 MB / 3.832 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/8.191, allocations: 2.761 MB / 3.834 GB, free: 27.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03215/8.223, allocations: 10.82 MB / 3.845 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-05/8.223, allocations: 11.72 kB / 3.845 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01533/8.239, allocations: 6.374 MB / 3.851 GB, free: 25.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008977/8.24, allocations: 1.388 MB / 3.852 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-05/8.24, allocations: 49.69 kB / 3.852 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009269/8.249, allocations: 2.548 MB / 3.855 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/8.251, allocations: 0.6796 MB / 3.856 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/8.273, allocations: 13.18 MB / 3.869 GB, free: 33.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/8.276, allocations: 419.1 kB / 3.869 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006596/8.277, allocations: 230 kB / 3.869 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/8.277, allocations: 6.719 kB / 3.869 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01431/8.291, allocations: 6.169 MB / 3.875 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/8.291, allocations: 43.94 kB / 3.875 GB, free: 30.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009433/8.301, allocations: 2.552 MB / 3.878 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/8.303, allocations: 0.6618 MB / 3.878 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/8.325, allocations: 13.19 MB / 3.891 GB, free: 17.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/8.328, allocations: 335.1 kB / 3.892 GB, free: 17.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007125/8.329, allocations: 225 kB / 3.892 GB, free: 17.16 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 = 100000.0 unit = "J/kg" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.00213/8.331, allocations: 0.8682 MB / 3.893 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/8.332, allocations: 146.2 kB / 3.893 GB, free: 16.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/8.354, allocations: 15.16 MB / 3.908 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/8.354, allocations: 39.11 kB / 3.908 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/8.354, allocations: 0 / 3.908 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/8.354, allocations: 7.5 kB / 3.908 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3503/8.704, allocations: 21.17 MB / 3.928 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/8.704, allocations: 0 / 3.928 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/8.706, allocations: 216.7 kB / 3.928 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/8.716, allocations: 2.806 MB / 3.931 GB, free: 83.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003228/8.717, allocations: 62.16 kB / 3.931 GB, free: 83.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/8.737, allocations: 13.18 MB / 3.944 GB, free: 82.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/8.737, allocations: 0.875 kB / 3.944 GB, free: 82.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/8.752, allocations: 6.704 MB / 3.951 GB, free: 81.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/8.753, allocations: 499.7 kB / 3.951 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/8.753, allocations: 48.27 kB / 3.951 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/8.755, allocations: 133.5 kB / 3.951 GB, free: 81.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/8.756, allocations: 123.2 kB / 3.951 GB, free: 81.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/8.756, allocations: 52.25 kB / 3.952 GB, free: 81.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001166/8.757, allocations: 0.8481 MB / 3.952 GB, free: 81.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.422e-06/8.757, allocations: 0 / 3.952 GB, free: 81.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01038/8.767, allocations: 2.053 MB / 3.954 GB, free: 81.48 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) * Number of clocked states: 0 () * 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.006186/8.773, allocations: 1.365 MB / 3.956 GB, free: 81.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0139/8.787, allocations: 6.759 MB / 3.962 GB, free: 80.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/8.787, allocations: 0 / 3.962 GB, free: 80.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004496/8.792, allocations: 2.077 MB / 3.964 GB, free: 80.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/8.795, allocations: 478.2 kB / 3.965 GB, free: 80.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/8.806, allocations: 5.811 MB / 3.97 GB, free: 78.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/8.808, allocations: 1.607 MB / 3.972 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01102/8.819, allocations: 8.772 MB / 3.981 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/8.82, allocations: 206.4 kB / 3.981 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/8.82, allocations: 0 / 3.981 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.1157/8.936, allocations: 88.17 MB / 4.067 GB, free: 53.14 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)