Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.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.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.855/1.855, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.001104/0.001104, allocations: 78.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3445/0.3445, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.826e-05, allocations: 0 / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1604, allocations: 60.25 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.965/8.126, allocations: 3.006 GB / 3.487 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/8.126, allocations: 79.95 kB / 3.487 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.579/9.705, allocations: 396.6 MB / 3.874 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/9.705, allocations: 0 / 3.874 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001345/9.706, allocations: 63.59 kB / 3.874 GB, free: 21.16 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.05638/9.762, allocations: 12.05 MB / 3.886 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/9.762, allocations: 8.031 kB / 3.886 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/9.776, allocations: 1.191 MB / 3.887 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02156/9.798, allocations: 4.496 MB / 3.892 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01066/9.808, allocations: 3.112 MB / 3.895 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3883/10.2, allocations: 343.2 kB / 3.895 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06989/10.27, allocations: 19.18 MB / 3.914 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/10.27, allocations: 0 / 3.914 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007456/10.27, allocations: 135.2 kB / 3.914 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003152/10.27, allocations: 169.5 kB / 3.914 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07654/10.35, allocations: 31.71 MB / 3.945 GB, free: 37.44 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.1357/10.49, allocations: 74.56 MB / 4.018 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03737/10.52, allocations: 16.02 MB / 4.034 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02239/10.55, allocations: 11.21 MB / 4.045 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5425/11.09, allocations: 124.9 MB / 4.167 GB, free: 65.64 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/11.09, allocations: 81.73 kB / 4.167 GB, free: 65.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 7.053e-06/11.09, allocations: 4.719 kB / 4.167 GB, free: 65.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=483): time 0.1541/11.24, allocations: 48.85 MB / 4.214 GB, free: 64.17 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/11.24, allocations: 126 kB / 4.214 GB, free: 64.07 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/11.24, allocations: 0.6154 MB / 4.215 GB, free: 63.79 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.005436/11.25, allocations: 111.7 kB / 4.215 GB, free: 63.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/11.25, allocations: 0.7386 MB / 4.216 GB, free: 63.24 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005959/11.26, allocations: 1.658 MB / 4.217 GB, free: 62.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004759/11.26, allocations: 78.16 kB / 4.218 GB, free: 62.04 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0005081/11.26, allocations: 0.5214 MB / 4.218 GB, free: 61.63 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01905/11.28, allocations: 11.32 MB / 4.229 GB, free: 56.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02067/11.3, allocations: 11.75 MB / 4.241 GB, free: 51.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/11.32, allocations: 7.902 MB / 4.248 GB, free: 48.72 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/11.32, allocations: 1.125 kB / 4.248 GB, free: 48.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1167/11.43, allocations: 43.04 MB / 4.29 GB, free: 25.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005326/11.44, allocations: 1.937 MB / 4.292 GB, free: 23.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/11.44, allocations: 8.75 kB / 4.292 GB, free: 23.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6422/12.08, allocations: 114.8 MB / 4.404 GB, free: 96.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/12.08, allocations: 0.9232 MB / 4.405 GB, free: 96.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08923/12.17, allocations: 39.98 MB / 4.444 GB, free: 94.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02498/12.2, allocations: 5.46 MB / 4.45 GB, free: 90.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00394/12.2, allocations: 0.7081 MB / 4.45 GB, free: 89.93 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/12.2, allocations: 4 kB / 4.45 GB, free: 89.92 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07916/12.28, allocations: 37.17 MB / 4.487 GB, free: 58.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/12.28, allocations: 7.5 kB / 4.487 GB, free: 58.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6086/12.89, allocations: 112.4 MB / 4.596 GB, free: 97.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/12.89, allocations: 0.9616 MB / 4.597 GB, free: 97.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08646/12.98, allocations: 38.73 MB / 4.635 GB, free: 96.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02518/13, allocations: 5.464 MB / 4.64 GB, free: 95.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005193/13.01, allocations: 0.6931 MB / 4.641 GB, free: 95.78 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * 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 {15 367} Notification: Performance of prepare postOptimizeDAE: time 0.008771/13.02, allocations: 299.5 kB / 4.641 GB, free: 95.68 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004982/13.02, allocations: 224.5 kB / 4.642 GB, free: 95.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1015/13.12, allocations: 58.8 MB / 4.699 GB, free: 48.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4212/13.54, allocations: 57.53 MB / 4.755 GB, free: 96.91 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-05/13.54, allocations: 19.11 kB / 4.755 GB, free: 96.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001818/13.54, allocations: 23.48 kB / 4.755 GB, free: 96.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1511/13.7, allocations: 98.43 MB / 4.851 GB, free: 56.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-05/13.7, allocations: 13.56 kB / 4.851 GB, free: 56.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02804/13.72, allocations: 6.139 MB / 4.857 GB, free: 56.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06164/13.79, allocations: 20.99 MB / 4.878 GB, free: 53.71 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005136/13.79, allocations: 0.5299 MB / 4.878 GB, free: 53.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07049/13.86, allocations: 50.71 MB / 4.928 GB, free: 17.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/13.86, allocations: 9.781 kB / 4.928 GB, free: 17.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4469/14.31, allocations: 44.88 MB / 4.972 GB, free: 94.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01037/14.32, allocations: 2.951 MB / 4.975 GB, free: 93.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004778/14.32, allocations: 124.3 kB / 4.975 GB, free: 93.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02631/14.35, allocations: 5.413 MB / 4.98 GB, free: 93.92 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004955/14.35, allocations: 0.9352 MB / 4.981 GB, free: 93.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003359/14.36, allocations: 0.5407 MB / 4.981 GB, free: 93.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005994/14.36, allocations: 476.7 kB / 4.982 GB, free: 93.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/14.36, allocations: 0 / 4.982 GB, free: 93.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02176/14.38, allocations: 5.202 MB / 4.987 GB, free: 93.81 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 29 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9],hexFV.htilde[10],hexFV.htilde[11],hexFV.htilde[12],hexFV.htilde[13],hexFV.htilde[14],metalTubeFV.Tvol[1],metalTubeFV.Tvol[2],metalTubeFV.Tvol[3],metalTubeFV.Tvol[4],metalTubeFV.Tvol[5],metalTubeFV.Tvol[6],metalTubeFV.Tvol[7],metalTubeFV.Tvol[8],metalTubeFV.Tvol[9],metalTubeFV.Tvol[10],metalTubeFV.Tvol[11],metalTubeFV.Tvol[12],metalTubeFV.Tvol[13],metalTubeFV.Tvol[14]) * Number of discrete variables: 36 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$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.region3boundary,$cse20.region3boundary,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(15,59.6%) 28,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.008204/14.39, allocations: 1.649 MB / 4.989 GB, free: 93.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1178/14.51, allocations: 49.61 MB / 5.037 GB, free: 82.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/14.51, allocations: 5.219 kB / 5.037 GB, free: 82.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02609/14.53, allocations: 15.54 MB / 5.052 GB, free: 75.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007629/14.54, allocations: 1.084 MB / 5.053 GB, free: 75.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/14.58, allocations: 20.03 MB / 5.073 GB, free: 69.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/14.58, allocations: 2.502 MB / 5.075 GB, free: 68.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01326/14.59, allocations: 3.318 MB / 5.079 GB, free: 68.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00801/14.6, allocations: 0.8361 MB / 5.079 GB, free: 68.05 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/14.6, allocations: 0 / 5.079 GB, free: 68.05 MB / 0.573 GB Notification: Performance of Templates: time 1.398/16, allocations: 0.5439 GB / 5.623 GB, free: 90.13 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)