Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 181.3 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.905/1.905, 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.001011/0.001011, allocations: 83.5 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.6091/0.6091, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.552e-05, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 60.25 MB / 485.6 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.357/7.527, allocations: 2.978 GB / 3.453 GB, free: 88.72 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/7.527, allocations: 79.06 kB / 3.453 GB, free: 88.65 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.9984/8.525, allocations: 297.7 MB / 3.743 GB, free: 2.391 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.282e-06/8.526, allocations: 0 / 3.743 GB, free: 2.391 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001124/8.526, allocations: 31.91 kB / 3.743 GB, free: 2.363 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.3103/8.836, allocations: 5.791 MB / 3.749 GB, free: 51.82 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/8.836, allocations: 8.625 kB / 3.749 GB, free: 51.82 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/8.842, allocations: 0.5512 MB / 3.75 GB, free: 51.73 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/8.849, allocations: 1.766 MB / 3.751 GB, free: 51.5 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003657/8.853, allocations: 0.9792 MB / 3.752 GB, free: 51.24 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/8.855, allocations: 109.5 kB / 3.752 GB, free: 51.24 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02395/8.879, allocations: 11.65 MB / 3.764 GB, free: 51.23 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/8.895, allocations: 6.565 MB / 3.77 GB, free: 51.04 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/8.895, allocations: 3.562 kB / 3.77 GB, free: 51.04 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/8.897, allocations: 0 / 3.77 GB, free: 51.04 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/8.897, allocations: 91.12 kB / 3.77 GB, free: 51.04 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.06062/8.958, allocations: 33.48 MB / 3.803 GB, free: 31.74 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/8.968, allocations: 5.444 MB / 3.808 GB, free: 31.7 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008555/8.977, allocations: 4.487 MB / 3.813 GB, free: 31.69 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1465/9.123, allocations: 75.79 MB / 3.887 GB, free: 19.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.54e-05/9.123, allocations: 56.09 kB / 3.887 GB, free: 19.76 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=192): time 4.789e-06/9.123, allocations: 0 / 3.887 GB, free: 19.76 MB / 0.5421 GB Notification: Performance of matching and sorting (n=193): time 0.05751/9.181, allocations: 18.66 MB / 3.905 GB, free: 16.32 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/9.181, allocations: 73.91 kB / 3.905 GB, free: 16.26 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/9.182, allocations: 404 kB / 3.905 GB, free: 16.05 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.002046/9.184, allocations: 25.7 kB / 3.906 GB, free: 16.02 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/9.184, allocations: 0.5228 MB / 3.906 GB, free: 15.66 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/9.186, allocations: 0.6354 MB / 3.907 GB, free: 15.16 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/9.188, allocations: 0 / 3.907 GB, free: 15.16 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0003127/9.188, allocations: 412.7 kB / 3.907 GB, free: 14.81 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007185/9.196, allocations: 4.798 MB / 3.912 GB, free: 12.84 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007592/9.203, allocations: 5.026 MB / 3.917 GB, free: 10.64 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/9.214, allocations: 4.051 MB / 3.921 GB, free: 9.164 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.86e-05/9.215, allocations: 0 / 3.921 GB, free: 9.164 MB / 0.5421 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.3646/9.579, allocations: 28.91 MB / 3.949 GB, free: 82.77 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002632/9.58, allocations: 1.316 MB / 3.95 GB, free: 81.42 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/9.58, allocations: 3.125 kB / 3.95 GB, free: 81.42 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1295/9.709, allocations: 50.25 MB / 3.999 GB, free: 80.12 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/9.711, allocations: 320.8 kB / 3.999 GB, free: 80.11 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03269/9.743, allocations: 16.43 MB / 4.016 GB, free: 79.54 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/9.754, allocations: 1.979 MB / 4.017 GB, free: 79.43 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/9.756, allocations: 309.2 kB / 4.018 GB, free: 79.43 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/9.756, allocations: 9.031 kB / 4.018 GB, free: 79.43 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0763/9.832, allocations: 28.36 MB / 4.045 GB, free: 78.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.74e-05/9.833, allocations: 10.56 kB / 4.045 GB, free: 78.66 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1256/9.958, allocations: 50.24 MB / 4.095 GB, free: 52.37 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/9.96, allocations: 314.7 kB / 4.095 GB, free: 52.15 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02731/9.987, allocations: 16.44 MB / 4.111 GB, free: 39.87 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00963/9.997, allocations: 1.976 MB / 4.113 GB, free: 38.43 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/9.998, allocations: 306 kB / 4.113 GB, free: 38.27 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[10].phase,hex.fluidState[9].phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.001863/10, allocations: 136.8 kB / 4.113 GB, free: 38.15 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/10, allocations: 113.4 kB / 4.113 GB, free: 38.09 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3084/10.31, allocations: 29.06 MB / 4.142 GB, free: 81.81 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02903/10.34, allocations: 26.78 MB / 4.168 GB, free: 81.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/10.34, allocations: 13.97 kB / 4.168 GB, free: 81.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-05/10.34, allocations: 8.203 kB / 4.168 GB, free: 81.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05662/10.39, allocations: 47.76 MB / 4.215 GB, free: 61.07 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/10.4, allocations: 2.906 kB / 4.215 GB, free: 61.07 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01293/10.41, allocations: 2.479 MB / 4.217 GB, free: 61.02 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/10.41, allocations: 1.109 MB / 4.218 GB, free: 60.87 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002649/10.41, allocations: 178.8 kB / 4.218 GB, free: 60.86 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/10.42, allocations: 5.899 MB / 4.224 GB, free: 58.04 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/10.42, allocations: 6.469 kB / 4.224 GB, free: 58.04 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03064/10.45, allocations: 15.31 MB / 4.239 GB, free: 51.32 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004777/10.46, allocations: 1.218 MB / 4.24 GB, free: 50.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002213/10.46, allocations: 22.11 kB / 4.24 GB, free: 50.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/10.47, allocations: 1.943 MB / 4.242 GB, free: 50.83 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002483/10.48, allocations: 331.4 kB / 4.242 GB, free: 50.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002309/10.48, allocations: 198.9 kB / 4.243 GB, free: 50.79 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0005314/10.48, allocations: 308.8 kB / 4.243 GB, free: 50.62 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.4e-07/10.48, allocations: 0 / 4.243 GB, free: 50.62 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01442/10.49, allocations: 2.536 MB / 4.245 GB, free: 50.59 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (Mbal,hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009149/10.5, allocations: 1.361 MB / 4.247 GB, free: 50.44 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.03179/10.53, allocations: 16.77 MB / 4.263 GB, free: 43.84 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/10.53, allocations: 3.5 kB / 4.263 GB, free: 43.84 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/10.54, allocations: 5.897 MB / 4.269 GB, free: 41.29 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004214/10.55, allocations: 408.7 kB / 4.269 GB, free: 41.23 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/10.57, allocations: 7.996 MB / 4.277 GB, free: 38.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/10.57, allocations: 1.645 MB / 4.279 GB, free: 37.89 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.00784/10.58, allocations: 2.453 MB / 4.281 GB, free: 37.86 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00482/10.58, allocations: 385.5 kB / 4.281 GB, free: 37.84 MB / 0.5421 GB Notification: Performance of SimCode: time 9.92e-07/10.58, allocations: 0 / 4.281 GB, free: 37.84 MB / 0.5421 GB Notification: Performance of Templates: time 0.5299/11.11, allocations: 247.4 MB / 4.523 GB, free: 15.38 MB / 0.5577 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)