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.001261/0.001261, allocations: 180.8 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 92.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5342/0.5342, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.589e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.405/8.55, allocations: 2.937 GB / 3.411 GB, free: 68.66 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/8.55, allocations: 80.33 kB / 3.411 GB, free: 68.64 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/10.08, allocations: 303.5 MB / 3.708 GB, free: 61.23 MB / 0.5108 GB Notification: Performance of FrontEnd: time 4.328e-06/10.08, allocations: 0 / 3.708 GB, free: 61.23 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.625e-05/10.08, allocations: 45.11 kB / 3.708 GB, free: 61.22 MB / 0.5108 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.01806/10.1, allocations: 3.39 MB / 3.711 GB, free: 60.37 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/10.1, allocations: 10.56 kB / 3.711 GB, free: 60.37 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/10.1, allocations: 368.5 kB / 3.711 GB, free: 60.28 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/10.11, allocations: 1.357 MB / 3.713 GB, free: 59.96 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/10.11, allocations: 61.91 kB / 3.713 GB, free: 59.96 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/10.11, allocations: 118.3 kB / 3.713 GB, free: 59.96 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/10.12, allocations: 3.693 MB / 3.717 GB, free: 59.95 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/10.13, allocations: 3.078 MB / 3.72 GB, free: 59.76 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/10.13, allocations: 0 / 3.72 GB, free: 59.76 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006164/10.13, allocations: 7.891 kB / 3.72 GB, free: 59.76 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/10.13, allocations: 75.52 kB / 3.72 GB, free: 59.75 MB / 0.5108 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.01634/10.15, allocations: 8.937 MB / 3.728 GB, free: 55.91 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/10.15, allocations: 1.452 MB / 3.73 GB, free: 55.88 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/10.15, allocations: 0.9433 MB / 3.731 GB, free: 55.86 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1232/10.28, allocations: 63.97 MB / 3.793 GB, free: 32.48 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/10.28, allocations: 1.175 MB / 3.794 GB, free: 32.32 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=137): time 6.322e-06/10.28, allocations: 0 / 3.794 GB, free: 32.32 MB / 0.5265 GB Notification: Performance of matching and sorting (n=137): time 0.01653/10.3, allocations: 4.56 MB / 3.799 GB, free: 32.11 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/10.3, allocations: 252.1 kB / 3.799 GB, free: 31.83 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/10.3, allocations: 1.074 MB / 3.8 GB, free: 31.63 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0005827/10.3, allocations: 29.2 kB / 3.8 GB, free: 31.6 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/10.3, allocations: 1.025 MB / 3.801 GB, free: 30.96 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/10.3, allocations: 495 kB / 3.802 GB, free: 30.66 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/10.3, allocations: 0 / 3.802 GB, free: 30.66 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0003408/10.3, allocations: 466 kB / 3.802 GB, free: 30.35 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/10.31, allocations: 1.367 MB / 3.803 GB, free: 30.34 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/10.31, allocations: 2.668 MB / 3.806 GB, free: 28.68 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005127/10.31, allocations: 1.97 MB / 3.808 GB, free: 28.6 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-05/10.31, allocations: 14.28 kB / 3.808 GB, free: 28.6 MB / 0.5265 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01821/10.33, allocations: 6.098 MB / 3.814 GB, free: 28.36 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.009348/10.34, allocations: 17.1 MB / 3.831 GB, free: 26.41 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/10.34, allocations: 44.03 kB / 3.831 GB, free: 26.41 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/10.35, allocations: 2.515 MB / 3.833 GB, free: 26.34 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/10.36, allocations: 0.6792 MB / 3.834 GB, free: 26.34 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/10.38, allocations: 12.52 MB / 3.846 GB, free: 24.77 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/10.38, allocations: 348.3 kB / 3.846 GB, free: 24.61 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/10.38, allocations: 228.4 kB / 3.846 GB, free: 24.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/10.38, allocations: 3.938 kB / 3.847 GB, free: 24.6 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01786/10.4, allocations: 5.837 MB / 3.852 GB, free: 24.12 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/10.4, allocations: 42.47 kB / 3.852 GB, free: 24.12 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009833/10.41, allocations: 2.52 MB / 3.855 GB, free: 23.82 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/10.41, allocations: 0.6689 MB / 3.855 GB, free: 23.72 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/10.44, allocations: 12.52 MB / 3.868 GB, free: 18.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/10.44, allocations: 275.8 kB / 3.868 GB, free: 17.95 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/10.44, allocations: 222.1 kB / 3.868 GB, free: 17.76 MB / 0.5421 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.00227/10.44, allocations: 364.5 kB / 3.868 GB, free: 17.43 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/10.45, allocations: 142.3 kB / 3.869 GB, free: 17.29 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02472/10.47, allocations: 15.58 MB / 3.884 GB, free: 4.16 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.328e-05/10.47, allocations: 38.69 kB / 3.884 GB, free: 4.133 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/10.47, allocations: 3.953 kB / 3.884 GB, free: 4.129 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-05/10.47, allocations: 6.984 kB / 3.884 GB, free: 4.129 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5607/11.03, allocations: 21.22 MB / 3.905 GB, free: 87.46 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/11.03, allocations: 0 / 3.905 GB, free: 87.46 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/11.03, allocations: 219.9 kB / 3.905 GB, free: 87.46 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02005/11.05, allocations: 2.765 MB / 3.907 GB, free: 87.46 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/11.05, allocations: 48.77 kB / 3.907 GB, free: 87.45 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0386/11.09, allocations: 12.67 MB / 3.92 GB, free: 86.09 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/11.09, allocations: 4.031 kB / 3.92 GB, free: 86.09 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/11.12, allocations: 6.525 MB / 3.926 GB, free: 85.68 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/11.12, allocations: 480.2 kB / 3.927 GB, free: 85.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/11.12, allocations: 22.75 kB / 3.927 GB, free: 85.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/11.12, allocations: 108.4 kB / 3.927 GB, free: 85.49 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/11.12, allocations: 123.5 kB / 3.927 GB, free: 85.49 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005054/11.12, allocations: 60.12 kB / 3.927 GB, free: 85.49 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.001827/11.13, allocations: 0.7232 MB / 3.928 GB, free: 85.38 MB / 0.5421 GB Notification: Performance of sort global known variables: time 5.21e-07/11.13, allocations: 5.812 kB / 3.928 GB, free: 85.38 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01326/11.14, allocations: 1.919 MB / 3.93 GB, free: 85.33 MB / 0.5421 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.009828/11.15, allocations: 1.452 MB / 3.931 GB, free: 85.23 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.01644/11.16, allocations: 6.348 MB / 3.937 GB, free: 84.73 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/11.16, allocations: 0 / 3.937 GB, free: 84.73 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.005207/11.17, allocations: 1.984 MB / 3.939 GB, free: 84.48 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/11.17, allocations: 317.4 kB / 3.939 GB, free: 84.48 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/11.18, allocations: 4.123 MB / 3.943 GB, free: 83.82 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/11.18, allocations: 1.639 MB / 3.945 GB, free: 83.09 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0117/11.2, allocations: 8.795 MB / 3.954 GB, free: 82.95 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/11.2, allocations: 189.2 kB / 3.954 GB, free: 82.94 MB / 0.5421 GB Notification: Performance of SimCode: time 1.212e-06/11.2, allocations: 0 / 3.954 GB, free: 82.94 MB / 0.5421 GB Notification: Performance of Templates: time 0.1091/11.31, allocations: 79.35 MB / 4.031 GB, free: 68.96 MB / 0.5421 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)