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.001522/0.001522, allocations: 180 kB / 16.39 MB, free: 5.762 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.446/1.446, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008974/0.0008974, allocations: 96.23 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3585/0.3585, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 11.94 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 60.25 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.901/5.008, allocations: 2.831 GB / 3.319 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/5.008, allocations: 76 kB / 3.319 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2911/5.299, allocations: 123 MB / 3.439 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/5.299, allocations: 0 / 3.439 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.639e-05/5.299, allocations: 11.94 kB / 3.439 GB, free: 83.83 MB / 0.5105 GB 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.006039/5.305, allocations: 1.42 MB / 3.44 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/5.305, allocations: 8.031 kB / 3.44 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/5.307, allocations: 159.6 kB / 3.44 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/5.308, allocations: 343.7 kB / 3.441 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/5.308, allocations: 146.3 kB / 3.441 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/5.308, allocations: 28.69 kB / 3.441 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/5.313, allocations: 2.024 MB / 3.443 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/5.313, allocations: 4 kB / 3.443 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/5.313, allocations: 16 kB / 3.443 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/5.313, allocations: 12.55 kB / 3.443 GB, free: 79.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00634/5.319, allocations: 2.972 MB / 3.446 GB, free: 76.59 MB / 0.5105 GB 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.00351/5.323, allocations: 4.727 MB / 3.45 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/5.326, allocations: 1.502 MB / 3.452 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3578/5.684, allocations: 75.63 MB / 3.526 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/5.684, allocations: 39.55 kB / 3.526 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/5.684, allocations: 3.125 kB / 3.526 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.02093/5.705, allocations: 6.814 MB / 3.532 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/5.705, allocations: 59.78 kB / 3.532 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/5.706, allocations: 138 kB / 3.533 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/5.706, allocations: 31.67 kB / 3.533 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/5.706, allocations: 146 kB / 3.533 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/5.706, allocations: 150.9 kB / 3.533 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/5.706, allocations: 8.406 kB / 3.533 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/5.706, allocations: 335.1 kB / 3.533 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/5.71, allocations: 1.293 MB / 3.534 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003341/5.713, allocations: 1.38 MB / 3.536 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/5.716, allocations: 1.15 MB / 3.537 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/5.716, allocations: 3.938 kB / 3.537 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00707/5.723, allocations: 2.68 MB / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/5.723, allocations: 12.77 kB / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/5.723, allocations: 0 / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/5.723, allocations: 9.266 kB / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/5.726, allocations: 0.5917 MB / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/5.726, allocations: 8 kB / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/5.728, allocations: 356 kB / 3.54 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/5.728, allocations: 77.39 kB / 3.541 GB, free: 102.7 MB / 0.5105 GB 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.0003571/5.728, allocations: 188.8 kB / 3.541 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/5.728, allocations: 21.84 kB / 3.541 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/5.738, allocations: 7.392 MB / 3.548 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009383/5.748, allocations: 6.841 MB / 3.555 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/5.748, allocations: 0 / 3.555 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/5.748, allocations: 12.83 kB / 3.555 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/5.763, allocations: 10.67 MB / 3.565 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/5.763, allocations: 0 / 3.565 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002773/5.766, allocations: 0.5953 MB / 3.566 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/5.766, allocations: 3 kB / 3.566 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/5.766, allocations: 48.47 kB / 3.566 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/5.766, allocations: 6.422 kB / 3.566 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/5.766, allocations: 1.188 kB / 3.566 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/5.777, allocations: 5.019 MB / 3.571 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/5.777, allocations: 272.1 kB / 3.571 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/5.778, allocations: 23.09 kB / 3.571 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/5.779, allocations: 365.4 kB / 3.571 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/5.78, allocations: 80.81 kB / 3.571 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/5.78, allocations: 58.34 kB / 3.571 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.868e-05/5.78, allocations: 113.9 kB / 3.571 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/5.78, allocations: 0 / 3.571 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004431/5.784, allocations: 0.9691 MB / 3.572 GB, free: 95.46 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 (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.005281/5.789, allocations: 1.104 MB / 3.574 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007188/5.797, allocations: 2.998 MB / 3.576 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/5.797, allocations: 0 / 3.576 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003484/5.8, allocations: 1.715 MB / 3.578 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/5.801, allocations: 89.41 kB / 3.578 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008841/5.81, allocations: 3.763 MB / 3.582 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/5.81, allocations: 0.9427 MB / 3.583 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002448/5.813, allocations: 1.273 MB / 3.584 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008767/5.814, allocations: 163.3 kB / 3.584 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/5.814, allocations: 4 kB / 3.584 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.04222/5.856, allocations: 34.27 MB / 3.618 GB, free: 87.64 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)