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.0008562/0.0008561, allocations: 85.98 kB / 16.31 MB, free: 6.449 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.0008998/0.0008998, allocations: 183 kB / 17.21 MB, free: 6.316 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.323/1.323, allocations: 205.4 MB / 223.4 MB, free: 5.812 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3728/0.3728, allocations: 48.76 MB / 320.4 MB, free: 3.812 MB / 254.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.0005593/0.0005594, allocations: 16 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 60.26 MB / 451.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.1857/0.2864, allocations: 14.48 MB / 465.9 MB, free: 42.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.2968, allocations: 12.82 MB / 478.7 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.297, allocations: 0 / 478.7 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.2974, allocations: 113.2 kB / 478.9 MB, free: 33.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.2979, allocations: 248.7 kB / 479.1 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.3093, allocations: 4.227 MB / 483.3 MB, free: 31.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3108, allocations: 1.026 MB / 484.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.3109, allocations: 32.03 kB / 484.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/0.3117, allocations: 471.1 kB / 484.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.3124, allocations: 449.7 kB / 485.3 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.874e-05/0.3125, allocations: 38.34 kB / 485.3 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.3263, allocations: 6.103 MB / 491.4 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.3266, allocations: 175.3 kB / 491.6 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.3269, allocations: 87.45 kB / 491.7 MB, free: 29.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.3328, allocations: 2.629 MB / 494.3 MB, free: 27.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3329, allocations: 0 / 494.3 MB, free: 27.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3329, allocations: 5.312 kB / 494.3 MB, free: 27.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3329, allocations: 0 / 494.3 MB, free: 27.61 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.005457/0.3384, allocations: 1.473 MB / 495.8 MB, free: 26.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3384, allocations: 8.25 kB / 495.8 MB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.3398, allocations: 155 kB / 495.9 MB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.3402, allocations: 348.3 kB / 496.3 MB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.3405, allocations: 143.8 kB / 496.4 MB, free: 26.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3406, allocations: 28.53 kB / 496.5 MB, free: 26.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.345, allocations: 2.052 MB / 498.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.345, allocations: 1.094 kB / 498.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.3451, allocations: 12.66 kB / 498.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.3452, allocations: 12.17 kB / 498.5 MB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006704/0.3519, allocations: 2.988 MB / 0.4898 GB, free: 23.75 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.003467/0.3554, allocations: 4.834 MB / 0.4945 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/0.359, allocations: 1.522 MB / 0.496 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.3614, allocations: 1.16 MB / 0.4971 GB, free: 17.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1367/0.4981, allocations: 76.73 MB / 0.572 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.4981, allocations: 38.89 kB / 0.5721 GB, free: 13.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.314e-06/0.4981, allocations: 0 / 0.5721 GB, free: 13.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.02087/0.519, allocations: 6.688 MB / 0.5786 GB, free: 7.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.5191, allocations: 63.34 kB / 0.5787 GB, free: 7.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.5193, allocations: 153.7 kB / 0.5788 GB, free: 6.863 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.5194, allocations: 29.7 kB / 0.5788 GB, free: 6.828 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.5195, allocations: 148.6 kB / 0.579 GB, free: 6.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.5197, allocations: 145.8 kB / 0.5791 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.5198, allocations: 8 kB / 0.5791 GB, free: 6.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.52, allocations: 334.8 kB / 0.5795 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/0.5234, allocations: 1.289 MB / 0.5807 GB, free: 4.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/0.5269, allocations: 1.372 MB / 0.5821 GB, free: 3.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.5302, allocations: 1.136 MB / 0.5832 GB, free: 2.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5302, allocations: 3.938 kB / 0.5832 GB, free: 2.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007388/0.5376, allocations: 2.671 MB / 0.5858 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5376, allocations: 8 kB / 0.5858 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5377, allocations: 5.172 kB / 0.5858 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5377, allocations: 4 kB / 0.5858 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.5402, allocations: 0.582 MB / 0.5864 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.5402, allocations: 7.984 kB / 0.5864 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.542, allocations: 351.4 kB / 0.5867 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.5422, allocations: 83.8 kB / 0.5868 GB, free: 14.65 MB / 478.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.0003715/0.5426, allocations: 181.7 kB / 0.587 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5428, allocations: 19.81 kB / 0.587 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.5541, allocations: 7.461 MB / 0.5943 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/0.5642, allocations: 6.896 MB / 0.601 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.5643, allocations: 5.438 kB / 0.601 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.5643, allocations: 3.984 kB / 0.601 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.5786, allocations: 10.77 MB / 0.6115 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5787, allocations: 0 / 0.6115 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.5811, allocations: 0.5851 MB / 0.6121 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.5812, allocations: 7.953 kB / 0.6121 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5813, allocations: 47.91 kB / 0.6121 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.5813, allocations: 4 kB / 0.6121 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5813, allocations: 0 / 0.6121 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.5921, allocations: 4.978 MB / 0.617 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.5926, allocations: 283.9 kB / 0.6173 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.5928, allocations: 21.77 kB / 0.6173 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.5945, allocations: 355.6 kB / 0.6176 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.5947, allocations: 76.83 kB / 0.6177 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.5948, allocations: 55.91 kB / 0.6178 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.696e-05/0.5949, allocations: 111.2 kB / 0.6179 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.603e-06/0.5949, allocations: 0 / 0.6179 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00363/0.5986, allocations: 0.9761 MB / 0.6188 GB, free: 13.41 MB / 0.4981 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 (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.005196/0.6038, allocations: 0.9834 MB / 0.6198 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007327/0.6111, allocations: 2.975 MB / 0.6227 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6112, allocations: 0 / 0.6227 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00369/0.6148, allocations: 1.705 MB / 0.6244 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.6157, allocations: 105.5 kB / 0.6245 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.6209, allocations: 2.658 MB / 0.6271 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.6215, allocations: 0.9285 MB / 0.628 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002655/0.6242, allocations: 1.303 MB / 0.6292 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/0.625, allocations: 155.2 kB / 0.6294 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.625, allocations: 3.938 kB / 0.6294 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.2158/0.8408, allocations: 43.2 MB / 0.6716 GB, free: 154.7 MB / 0.4981 GB 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: