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.0009313/0.0009314, allocations: 96.23 kB / 16.3 MB, free: 5.586 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.0009063/0.0009064, allocations: 184.5 kB / 17.2 MB, free: 5.52 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.271/1.271, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2534/0.2534, allocations: 48.78 MB / 320.4 MB, free: 11.31 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.0004851/0.0004855, allocations: 13.52 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08279, allocations: 60.27 MB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01439/0.09722, allocations: 13.35 MB / 464.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1101, allocations: 11.74 MB / 476.5 MB, free: 436 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1103, allocations: 4 kB / 476.5 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.1107, allocations: 127.5 kB / 476.6 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.1112, allocations: 203.3 kB / 476.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.1227, allocations: 4.281 MB / 481.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000995/0.1238, allocations: 0.6057 MB / 481.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.1238, allocations: 28.75 kB / 481.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009161/0.1248, allocations: 486.8 kB / 482.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.1255, allocations: 399.1 kB / 482.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.1257, allocations: 36 kB / 482.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/0.1371, allocations: 6.255 MB / 488.9 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.1375, allocations: 167.6 kB / 489.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.1378, allocations: 81.58 kB / 489.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004842/0.1426, allocations: 2.62 MB / 491.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1426, allocations: 0 / 491.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1426, allocations: 0 / 491.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1427, allocations: 8 kB / 491.8 MB, free: 1.121 MB / 366.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.005128/0.1478, allocations: 1.463 MB / 493.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1478, allocations: 12.03 kB / 493.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.1493, allocations: 163.5 kB / 493.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.15, allocations: 338.5 kB / 493.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.1504, allocations: 150.2 kB / 493.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.1505, allocations: 31.94 kB / 493.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.1558, allocations: 2.04 MB / 495.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1558, allocations: 4 kB / 496 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1559, allocations: 16 kB / 496 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.156, allocations: 8.562 kB / 496 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007767/0.1637, allocations: 2.991 MB / 499 MB, free: 9.781 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.00474/0.1685, allocations: 4.839 MB / 0.492 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.1728, allocations: 1.518 MB / 0.4935 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3209/0.4937, allocations: 76.73 MB / 0.5684 GB, free: 52.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.4938, allocations: 38.39 kB / 0.5685 GB, free: 52.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.4938, allocations: 0 / 0.5685 GB, free: 52.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.0228/0.5166, allocations: 6.758 MB / 0.5751 GB, free: 45.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.5167, allocations: 55.41 kB / 0.5751 GB, free: 45.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5168, allocations: 160 kB / 0.5753 GB, free: 45.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.517, allocations: 29.7 kB / 0.5753 GB, free: 45.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.5171, allocations: 152.9 kB / 0.5754 GB, free: 45.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.5173, allocations: 150.7 kB / 0.5756 GB, free: 45.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5174, allocations: 12 kB / 0.5756 GB, free: 45.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.5174, allocations: 334.6 kB / 0.5759 GB, free: 44.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.5211, allocations: 1.281 MB / 0.5772 GB, free: 43.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/0.5247, allocations: 1.373 MB / 0.5785 GB, free: 42.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/0.5282, allocations: 1.136 MB / 0.5796 GB, free: 41.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5282, allocations: 4 kB / 0.5796 GB, free: 41.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007681/0.5359, allocations: 2.674 MB / 0.5822 GB, free: 38.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5359, allocations: 8.312 kB / 0.5822 GB, free: 38.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.536, allocations: 4 kB / 0.5822 GB, free: 38.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.536, allocations: 4 kB / 0.5822 GB, free: 38.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.5386, allocations: 0.5813 MB / 0.5828 GB, free: 37.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5386, allocations: 7.984 kB / 0.5828 GB, free: 37.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.5406, allocations: 343.6 kB / 0.5831 GB, free: 37.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.5408, allocations: 83.86 kB / 0.5832 GB, free: 37.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003844/0.5412, allocations: 184.7 kB / 0.5834 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.5413, allocations: 23.5 kB / 0.5834 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.5515, allocations: 7.453 MB / 0.5907 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008988/0.5605, allocations: 6.896 MB / 0.5974 GB, free: 22.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.5606, allocations: 0 / 0.5974 GB, free: 22.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5606, allocations: 9.203 kB / 0.5974 GB, free: 22.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.5728, allocations: 10.78 MB / 0.608 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.5728, allocations: 0 / 0.608 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/0.5754, allocations: 0.5928 MB / 0.6086 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.5754, allocations: 0 / 0.6086 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.5755, allocations: 43.91 kB / 0.6086 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.5756, allocations: 7.953 kB / 0.6086 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5756, allocations: 0 / 0.6086 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.5862, allocations: 4.978 MB / 0.6135 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.5868, allocations: 283.8 kB / 0.6137 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.5869, allocations: 21.44 kB / 0.6138 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.5887, allocations: 355.5 kB / 0.6141 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.5889, allocations: 80.78 kB / 0.6142 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.589, allocations: 55.91 kB / 0.6142 GB, free: 5.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.5891, allocations: 115 kB / 0.6143 GB, free: 5.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5891, allocations: 0 / 0.6143 GB, free: 5.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002414/0.5915, allocations: 0.9667 MB / 0.6153 GB, free: 4.309 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003654/0.5952, allocations: 0.9805 MB / 0.6162 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007502/0.6027, allocations: 2.982 MB / 0.6191 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6027, allocations: 0 / 0.6191 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.6067, allocations: 1.701 MB / 0.6208 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.6075, allocations: 87.92 kB / 0.6209 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.6132, allocations: 2.652 MB / 0.6235 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.6137, allocations: 0.944 MB / 0.6244 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002501/0.6162, allocations: 1.302 MB / 0.6257 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007866/0.617, allocations: 159.2 kB / 0.6258 GB, free: 9.586 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.617, allocations: 0 / 0.6258 GB, free: 9.586 MB / 430.1 MB Notification: Performance of Templates: time 0.058/0.675, allocations: 43.18 MB / 0.668 GB, free: 14.38 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: