Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 175.4 kB / 17.4 MB, free: 4.395 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.3/1.3, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0007505/0.0007505, allocations: 97.47 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3836/0.3836, allocations: 48.78 MB / 369 MB, free: 47.38 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.000356, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.201/5.307, allocations: 2.972 GB / 3.461 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/5.307, allocations: 89 kB / 3.461 GB, free: 47.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.122/6.429, allocations: 320.5 MB / 3.774 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/6.429, allocations: 7.875 kB / 3.774 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001009/6.429, allocations: 38.59 kB / 3.774 GB, free: 61.9 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.02819/6.458, allocations: 6.759 MB / 3.78 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/6.458, allocations: 11.58 kB / 3.78 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/6.464, allocations: 0.7142 MB / 3.781 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009867/6.474, allocations: 2.849 MB / 3.784 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002922/6.477, allocations: 0.8605 MB / 3.785 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/6.479, allocations: 193.5 kB / 3.785 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03636/6.516, allocations: 12.3 MB / 3.797 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.379e-05/6.516, allocations: 6.094 kB / 3.797 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/6.518, allocations: 72.5 kB / 3.797 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/6.518, allocations: 41.69 kB / 3.797 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05689/6.575, allocations: 20.99 MB / 3.818 GB, free: 59.52 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.05411/6.629, allocations: 30.28 MB / 3.847 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02779/6.657, allocations: 11.08 MB / 3.858 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0186/6.676, allocations: 8.45 MB / 3.866 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.447/7.123, allocations: 124 MB / 3.987 GB, free: 42.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.02e-05/7.123, allocations: 61.44 kB / 3.987 GB, free: 42.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 6.752e-06/7.123, allocations: 0 / 3.987 GB, free: 42.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.1331/7.256, allocations: 44.76 MB / 4.031 GB, free: 38.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/7.256, allocations: 108.5 kB / 4.031 GB, free: 38.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/7.257, allocations: 0.5531 MB / 4.032 GB, free: 38.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002337/7.26, allocations: 72.2 kB / 4.032 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/7.26, allocations: 487.8 kB / 4.032 GB, free: 38.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002502/7.262, allocations: 0.8455 MB / 4.033 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002481/7.265, allocations: 42.75 kB / 4.033 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004194/7.265, allocations: 443.1 kB / 4.034 GB, free: 37.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01945/7.285, allocations: 8.544 MB / 4.042 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0202/7.305, allocations: 8.841 MB / 4.051 GB, free: 37.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0382/7.343, allocations: 15.06 MB / 4.065 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/7.343, allocations: 0.9375 kB / 4.065 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.07157/7.415, allocations: 25.92 MB / 4.091 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/7.415, allocations: 214.3 kB / 4.091 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/7.415, allocations: 4 kB / 4.091 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4169/7.832, allocations: 52.24 MB / 4.142 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/7.833, allocations: 189 kB / 4.142 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06573/7.899, allocations: 26.58 MB / 4.168 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/7.91, allocations: 2.156 MB / 4.17 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/7.912, allocations: 297.4 kB / 4.17 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/7.912, allocations: 3.719 kB / 4.17 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1162/8.028, allocations: 34.24 MB / 4.204 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-05/8.028, allocations: 3.75 kB / 4.204 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1872/8.215, allocations: 50.64 MB / 4.253 GB, free: 86.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/8.216, allocations: 205.3 kB / 4.253 GB, free: 85.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06173/8.278, allocations: 26.14 MB / 4.279 GB, free: 65.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/8.289, allocations: 2.162 MB / 4.281 GB, free: 64.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/8.29, allocations: 293.5 kB / 4.281 GB, free: 64.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {9 196} Notification: Performance of prepare postOptimizeDAE: time 0.002114/8.292, allocations: 0.5525 MB / 4.282 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/8.293, allocations: 136 kB / 4.282 GB, free: 63.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05261/8.346, allocations: 32.68 MB / 4.314 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3082/8.654, allocations: 31.02 MB / 4.344 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/8.654, allocations: 13.73 kB / 4.344 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/8.654, allocations: 14.67 kB / 4.344 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07872/8.733, allocations: 49.76 MB / 4.393 GB, free: 92.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/8.733, allocations: 5.5 kB / 4.393 GB, free: 92.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01212/8.745, allocations: 2.67 MB / 4.395 GB, free: 92.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006337/8.751, allocations: 1.656 MB / 4.397 GB, free: 91.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002289/8.754, allocations: 204.5 kB / 4.397 GB, free: 91.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/8.772, allocations: 27.35 MB / 4.424 GB, free: 67.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/8.772, allocations: 5.906 kB / 4.424 GB, free: 67.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06188/8.834, allocations: 27.21 MB / 4.451 GB, free: 60.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004177/8.838, allocations: 1.271 MB / 4.452 GB, free: 60.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/8.84, allocations: 62.69 kB / 4.452 GB, free: 60.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01015/8.85, allocations: 2.142 MB / 4.454 GB, free: 60.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002/8.852, allocations: 342.1 kB / 4.454 GB, free: 60.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001001/8.853, allocations: 199.5 kB / 4.455 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005176/8.853, allocations: 399.1 kB / 4.455 GB, free: 59.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/8.853, allocations: 0 / 4.455 GB, free: 59.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01168/8.865, allocations: 2.828 MB / 4.458 GB, free: 59.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 22 ($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.region3boundary,$cse13.region3boundary,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(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,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007642/8.873, allocations: 1.535 MB / 4.459 GB, free: 59.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.06882/8.942, allocations: 28.97 MB / 4.487 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/8.942, allocations: 8.062 kB / 4.487 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02379/8.965, allocations: 11.73 MB / 4.499 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008099/8.974, allocations: 0.5433 MB / 4.499 GB, free: 29.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/9.003, allocations: 14.32 MB / 4.513 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/9.005, allocations: 1.643 MB / 4.515 GB, free: 16.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.2564/9.261, allocations: 2.429 MB / 4.517 GB, free: 98.24 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004874/9.266, allocations: 371.3 kB / 4.518 GB, free: 98.24 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/9.266, allocations: 0 / 4.518 GB, free: 98.24 MB / 0.5573 GB Notification: Performance of Templates: time 0.5265/9.792, allocations: 257.9 MB / 4.77 GB, free: 80.07 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)