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.001078/0.001078, 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.33/1.33, 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.0007759/0.0007759, allocations: 74.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.2449/0.2449, allocations: 48.78 MB / 364.3 MB, free: 6.855 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.634e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09733, allocations: 60.25 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/5.888, allocations: 2.972 GB / 3.453 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/5.889, allocations: 83.41 kB / 3.453 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9629/6.851, allocations: 319.5 MB / 3.765 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/6.852, allocations: 0 / 3.765 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.875e-05/6.852, allocations: 39.94 kB / 3.765 GB, free: 42.81 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.02696/6.879, allocations: 6.66 MB / 3.772 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/6.879, allocations: 12.03 kB / 3.772 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/6.885, allocations: 0.7199 MB / 3.773 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/6.894, allocations: 2.822 MB / 3.775 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002479/6.897, allocations: 0.8603 MB / 3.776 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/6.899, allocations: 200.1 kB / 3.776 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/6.92, allocations: 8.368 MB / 3.785 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.437e-05/6.92, allocations: 4 kB / 3.785 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/6.922, allocations: 72.56 kB / 3.785 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/6.922, allocations: 44 kB / 3.785 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/6.954, allocations: 13.09 MB / 3.797 GB, free: 16.09 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.3646/7.319, allocations: 30.22 MB / 3.827 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/7.337, allocations: 7.301 MB / 3.834 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00797/7.345, allocations: 4.595 MB / 3.839 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2232/7.568, allocations: 124.5 MB / 3.96 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.412e-05/7.569, allocations: 58.81 kB / 3.96 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 6.512e-06/7.569, allocations: 0 / 3.96 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.0522/7.621, allocations: 19.04 MB / 3.979 GB, free: 22.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/7.621, allocations: 105.6 kB / 3.979 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/7.622, allocations: 0.489 MB / 3.979 GB, free: 22.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001754/7.623, allocations: 68.73 kB / 3.979 GB, free: 22.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/7.624, allocations: 486.4 kB / 3.98 GB, free: 21.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/7.626, allocations: 0.8515 MB / 3.981 GB, free: 21.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/7.627, allocations: 43.03 kB / 3.981 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002927/7.628, allocations: 447.6 kB / 3.981 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007265/7.635, allocations: 4.679 MB / 3.986 GB, free: 19.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007596/7.643, allocations: 4.968 MB / 3.991 GB, free: 16.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006309/7.649, allocations: 3.659 MB / 3.994 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/7.649, allocations: 4 kB / 3.994 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.03096/7.68, allocations: 14.39 MB / 4.008 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3198/8, allocations: 1.488 MB / 4.01 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/8, allocations: 5.266 kB / 4.01 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1224/8.122, allocations: 43.14 MB / 4.052 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/8.123, allocations: 195.3 kB / 4.052 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03065/8.154, allocations: 15.23 MB / 4.067 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/8.165, allocations: 2.16 MB / 4.069 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/8.167, allocations: 299.1 kB / 4.069 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/8.167, allocations: 3.438 kB / 4.069 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05976/8.227, allocations: 22.72 MB / 4.091 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/8.227, allocations: 4.312 kB / 4.092 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1165/8.344, allocations: 42.69 MB / 4.133 GB, free: 90.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/8.345, allocations: 203.6 kB / 4.133 GB, free: 89.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03612/8.381, allocations: 14.79 MB / 4.148 GB, free: 77.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/8.392, allocations: 2.163 MB / 4.15 GB, free: 76.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00196/8.394, allocations: 294.5 kB / 4.15 GB, free: 75.86 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 () * 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.003074/8.398, allocations: 208.5 kB / 4.15 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/8.399, allocations: 130.8 kB / 4.151 GB, free: 75.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03088/8.43, allocations: 25.6 MB / 4.176 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0307/8.461, allocations: 23.96 MB / 4.199 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-05/8.461, allocations: 8 kB / 4.199 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-05/8.461, allocations: 16.7 kB / 4.199 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4149/8.876, allocations: 42.67 MB / 4.241 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/8.876, allocations: 3.406 kB / 4.241 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01294/8.889, allocations: 2.668 MB / 4.243 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006708/8.896, allocations: 1.66 MB / 4.245 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002669/8.898, allocations: 199.4 kB / 4.245 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/8.918, allocations: 27.31 MB / 4.272 GB, free: 76.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/8.918, allocations: 9.906 kB / 4.272 GB, free: 76.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02821/8.946, allocations: 15.82 MB / 4.287 GB, free: 69.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/8.95, allocations: 1.275 MB / 4.288 GB, free: 69.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002356/8.953, allocations: 63.59 kB / 4.288 GB, free: 69.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01117/8.964, allocations: 2.141 MB / 4.291 GB, free: 69.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002061/8.966, allocations: 344.1 kB / 4.291 GB, free: 69.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001821/8.968, allocations: 198.2 kB / 4.291 GB, free: 69.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006051/8.968, allocations: 388.1 kB / 4.291 GB, free: 69.01 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/8.968, allocations: 0 / 4.291 GB, free: 69.01 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01524/8.984, allocations: 2.832 MB / 4.294 GB, free: 68.86 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 () * 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.01073/8.994, allocations: 1.531 MB / 4.296 GB, free: 68.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0385/9.033, allocations: 17.4 MB / 4.313 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/9.033, allocations: 0 / 4.313 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/9.048, allocations: 7.866 MB / 4.32 GB, free: 57.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/9.053, allocations: 0.4981 MB / 4.321 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/9.071, allocations: 8.664 MB / 4.329 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/9.073, allocations: 1.678 MB / 4.331 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008699/9.082, allocations: 2.444 MB / 4.333 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005387/9.087, allocations: 361.2 kB / 4.334 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.433e-06/9.087, allocations: 0 / 4.334 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.6166/9.704, allocations: 257.8 MB / 4.585 GB, free: 18 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)