Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.231/1.231, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.000958/0.000958, allocations: 105.7 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3549/0.3549, allocations: 48.84 MB / 366.7 MB, free: 46.58 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 55.92 kB / 436.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.0908, allocations: 59.15 MB / 495.8 MB, free: 120 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.1771/0.2679, allocations: 16.45 MB / 0.5002 GB, free: 47.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2824, allocations: 14.82 MB / 0.5147 GB, free: 44.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.2826, allocations: 1.062 kB / 0.5147 GB, free: 44.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.2831, allocations: 128.6 kB / 0.5148 GB, free: 44.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.2836, allocations: 241.2 kB / 0.515 GB, free: 44 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.2952, allocations: 4.377 MB / 0.5193 GB, free: 42.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.2964, allocations: 1.277 MB / 0.5206 GB, free: 42.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.2965, allocations: 27.25 kB / 0.5206 GB, free: 42.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.2972, allocations: 473 kB / 0.521 GB, free: 42.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.2978, allocations: 469 kB / 0.5215 GB, free: 42.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.298, allocations: 37.09 kB / 0.5215 GB, free: 42.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.3086, allocations: 6.297 MB / 0.5277 GB, free: 40.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.309, allocations: 179.4 kB / 0.5278 GB, free: 40.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.3094, allocations: 238.2 kB / 0.5281 GB, free: 40.42 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007804/0.3172, allocations: 3.941 MB / 0.5319 GB, free: 39.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3173, allocations: 0 / 0.5319 GB, free: 39.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3173, allocations: 2.688 kB / 0.5319 GB, free: 39.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3173, allocations: 0 / 0.5319 GB, free: 39.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005077/0.3224, allocations: 1.499 MB / 0.5334 GB, free: 38.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3224, allocations: 9.531 kB / 0.5334 GB, free: 38.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.3237, allocations: 164.3 kB / 0.5335 GB, free: 38.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.3243, allocations: 344.3 kB / 0.5339 GB, free: 37.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.3246, allocations: 129.6 kB / 0.534 GB, free: 37.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.3247, allocations: 33.75 kB / 0.534 GB, free: 37.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/0.329, allocations: 1.88 MB / 0.5359 GB, free: 36.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3291, allocations: 1.156 kB / 0.5359 GB, free: 36.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.3292, allocations: 11.88 kB / 0.5359 GB, free: 36.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.3292, allocations: 10.66 kB / 0.5359 GB, free: 36.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006805/0.336, allocations: 2.654 MB / 0.5385 GB, free: 35.34 MB / 394.7 MB 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.00334/0.3394, allocations: 4.82 MB / 0.5432 GB, free: 30.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.3431, allocations: 1.361 MB / 0.5445 GB, free: 29.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/0.3456, allocations: 0.9848 MB / 0.5455 GB, free: 29.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1567/0.5022, allocations: 75.98 MB / 0.6197 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.5023, allocations: 34.89 kB / 0.6197 GB, free: 15.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.5023, allocations: 0 / 0.6197 GB, free: 15.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=43): time 0.02377/0.5261, allocations: 5.859 MB / 0.6254 GB, free: 9.516 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.5262, allocations: 55.41 kB / 0.6255 GB, free: 9.449 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.5263, allocations: 148.2 kB / 0.6256 GB, free: 9.297 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5264, allocations: 37.7 kB / 0.6257 GB, free: 9.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.5265, allocations: 148.6 kB / 0.6258 GB, free: 9.105 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5267, allocations: 149.8 kB / 0.6259 GB, free: 8.957 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004824/0.5272, allocations: 221.8 kB / 0.6262 GB, free: 8.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5273, allocations: 338.8 kB / 0.6265 GB, free: 8.391 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/0.5312, allocations: 1.113 MB / 0.6276 GB, free: 7.277 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.5352, allocations: 1.211 MB / 0.6287 GB, free: 6.035 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00752/0.5428, allocations: 1.968 MB / 0.6307 GB, free: 4.031 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5428, allocations: 4 kB / 0.6307 GB, free: 4.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008513/0.5513, allocations: 2.338 MB / 0.633 GB, free: 1.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5514, allocations: 4 kB / 0.633 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5514, allocations: 4.5 kB / 0.633 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5514, allocations: 4 kB / 0.633 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.5541, allocations: 495.5 kB / 0.6334 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.5541, allocations: 11.94 kB / 0.6335 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.5561, allocations: 260.1 kB / 0.6337 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.5563, allocations: 79.86 kB / 0.6338 GB, free: 0.8398 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.5567, allocations: 178.5 kB / 0.6339 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5569, allocations: 28.5 kB / 0.634 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.5686, allocations: 7.11 MB / 0.6409 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0105/0.5792, allocations: 6.568 MB / 0.6473 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5792, allocations: 0.6875 kB / 0.6473 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5792, allocations: 3.984 kB / 0.6473 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.594, allocations: 10.46 MB / 0.6576 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.594, allocations: 0 / 0.6576 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/0.5966, allocations: 495.2 kB / 0.658 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.5966, allocations: 7.219 kB / 0.658 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.5968, allocations: 47.91 kB / 0.6581 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.5968, allocations: 4 kB / 0.6581 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5968, allocations: 3.938 kB / 0.6581 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.435/1.032, allocations: 91.92 MB / 0.7479 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005384/1.032, allocations: 281.6 kB / 0.7481 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.032, allocations: 20.03 kB / 0.7481 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.034, allocations: 268 kB / 0.7484 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.034, allocations: 77.53 kB / 0.7485 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.035, allocations: 54.19 kB / 0.7485 GB, free: 154 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.04e-05/1.035, allocations: 111.9 kB / 0.7486 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 0.7486 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008753/1.043, allocations: 3.39 MB / 0.7519 GB, free: 152.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01826/1.062, allocations: 2.266 MB / 0.7542 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007414/1.069, allocations: 2.64 MB / 0.7567 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.069, allocations: 4 kB / 0.7567 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.073, allocations: 1.539 MB / 0.7582 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/1.074, allocations: 111.8 kB / 0.7583 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/1.079, allocations: 3.465 MB / 0.7617 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/1.079, allocations: 0.9852 MB / 0.7627 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002442/1.082, allocations: 1.394 MB / 0.764 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.083, allocations: 203.1 kB / 0.7642 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/1.083, allocations: 0 / 0.7642 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.3184/1.402, allocations: 167.3 MB / 0.9277 GB, free: 152.6 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)