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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 99.53 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 190 kB / 17.42 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2537/0.2537, allocations: 48.84 MB / 319.5 MB, free: 11.32 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.88 kB / 389.4 MB, free: 49.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08566, allocations: 59.16 MB / 448.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01718/0.1029, allocations: 16.47 MB / 465 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.1179, allocations: 14.82 MB / 479.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1181, allocations: 0 / 479.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.1186, allocations: 119.4 kB / 479.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.1191, allocations: 246.7 kB / 480.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.1306, allocations: 4.369 MB / 484.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1318, allocations: 1.276 MB / 485.8 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.1319, allocations: 36.67 kB / 485.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/0.1325, allocations: 466.7 kB / 486.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.1331, allocations: 466.8 kB / 486.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1332, allocations: 40 kB / 486.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0099/0.1431, allocations: 6.305 MB / 493.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.1433, allocations: 175.5 kB / 493.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.1437, allocations: 235.2 kB / 493.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.1504, allocations: 3.945 MB / 497.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1504, allocations: 0 / 497.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1504, allocations: 0 / 497.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1504, allocations: 0 / 497.4 MB, free: 9.199 MB / 382.1 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.004982/0.1554, allocations: 1.498 MB / 498.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1554, allocations: 12.03 kB / 499 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.1569, allocations: 156.4 kB / 499.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.1574, allocations: 351.8 kB / 499.5 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.1577, allocations: 122.8 kB / 499.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.1578, allocations: 40.12 kB / 499.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.1627, allocations: 1.876 MB / 0.4897 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1627, allocations: 0 / 0.4897 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1628, allocations: 16 kB / 0.4898 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.1628, allocations: 16.5 kB / 0.4898 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006979/0.1698, allocations: 2.652 MB / 0.4924 GB, free: 2.344 MB / 382.1 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.004248/0.1741, allocations: 4.82 MB / 0.4971 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.178, allocations: 1.361 MB / 0.4984 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.1804, allocations: 0.9849 MB / 0.4994 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2962/0.4767, allocations: 75.96 MB / 0.5735 GB, free: 44.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.4767, allocations: 40.7 kB / 0.5736 GB, free: 44.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.4768, allocations: 1.969 kB / 0.5736 GB, free: 44.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.02011/0.4969, allocations: 5.852 MB / 0.5793 GB, free: 39.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.497, allocations: 59.19 kB / 0.5793 GB, free: 39.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.4972, allocations: 150.8 kB / 0.5795 GB, free: 38.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.4973, allocations: 33.7 kB / 0.5795 GB, free: 38.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4974, allocations: 142 kB / 0.5797 GB, free: 38.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.4977, allocations: 161.1 kB / 0.5798 GB, free: 38.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/0.4982, allocations: 229.8 kB / 0.58 GB, free: 38.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.4983, allocations: 332.5 kB / 0.5803 GB, free: 38.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.5013, allocations: 1.117 MB / 0.5814 GB, free: 36.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/0.5045, allocations: 1.204 MB / 0.5826 GB, free: 35.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/0.5106, allocations: 1.975 MB / 0.5845 GB, free: 33.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5106, allocations: 0 / 0.5845 GB, free: 33.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006893/0.5175, allocations: 2.331 MB / 0.5868 GB, free: 31.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5176, allocations: 15.94 kB / 0.5868 GB, free: 31.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.5176, allocations: 0 / 0.5868 GB, free: 31.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.5176, allocations: 8 kB / 0.5868 GB, free: 31.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.5201, allocations: 496.6 kB / 0.5873 GB, free: 30.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5201, allocations: 4 kB / 0.5873 GB, free: 30.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.5219, allocations: 266.2 kB / 0.5876 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.5221, allocations: 83.86 kB / 0.5877 GB, free: 30.56 MB / 414.1 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.0003721/0.5225, allocations: 175.7 kB / 0.5878 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.5228, allocations: 24.97 kB / 0.5878 GB, free: 30.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009225/0.532, allocations: 7.118 MB / 0.5948 GB, free: 23.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008063/0.5401, allocations: 6.562 MB / 0.6012 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5401, allocations: 0 / 0.6012 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5401, allocations: 7.984 kB / 0.6012 GB, free: 16.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.5512, allocations: 10.44 MB / 0.6114 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5512, allocations: 4 kB / 0.6114 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/0.5535, allocations: 494 kB / 0.6119 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.5536, allocations: 5.594 kB / 0.6119 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.5537, allocations: 47.91 kB / 0.6119 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.5537, allocations: 4 kB / 0.6119 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5537, allocations: 0 / 0.6119 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009378/0.5631, allocations: 4.495 MB / 0.6163 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.5635, allocations: 283.8 kB / 0.6166 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.5637, allocations: 18.31 kB / 0.6166 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.5653, allocations: 271.6 kB / 0.6169 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.5655, allocations: 79.17 kB / 0.617 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.5656, allocations: 57 kB / 0.617 GB, free: 160 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.5657, allocations: 114.4 kB / 0.6171 GB, free: 48 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5657, allocations: 0 / 0.6171 GB, free: 48 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002631/0.5684, allocations: 0.9652 MB / 0.6181 GB, free: 15.14 MB / 430.1 MB 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.0039/0.5723, allocations: 0.9978 MB / 0.619 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007218/0.5795, allocations: 2.647 MB / 0.6216 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5795, allocations: 4 kB / 0.6216 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003564/0.5831, allocations: 1.538 MB / 0.6231 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/0.5839, allocations: 109.1 kB / 0.6232 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.5888, allocations: 2.467 MB / 0.6256 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.5893, allocations: 0.9341 MB / 0.6265 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002271/0.5916, allocations: 1.295 MB / 0.6278 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007986/0.5924, allocations: 159.2 kB / 0.628 GB, free: 5.125 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5924, allocations: 4 kB / 0.628 GB, free: 5.121 MB / 430.1 MB Notification: Performance of Templates: time 0.05577/0.6481, allocations: 43.1 MB / 0.6701 GB, free: 10.03 MB / 478.1 MB 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)