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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.433/1.433, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0008236/0.0008236, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2452/0.2452, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.942e-05, allocations: 11.98 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 60.25 MB / 492.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.745/6.851, allocations: 2.831 GB / 3.313 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.852, allocations: 78.86 kB / 3.313 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6549/7.507, allocations: 122.8 MB / 3.433 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/7.507, allocations: 0 / 3.433 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.756e-05/7.507, allocations: 8.406 kB / 3.433 GB, free: 109.5 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.00743/7.514, allocations: 1.411 MB / 3.434 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/7.514, allocations: 9.469 kB / 3.434 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003366/7.515, allocations: 78.5 kB / 3.434 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/7.516, allocations: 165.2 kB / 3.434 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/7.517, allocations: 342 kB / 3.435 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/7.518, allocations: 143.4 kB / 3.435 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/7.518, allocations: 33.22 kB / 3.435 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/7.522, allocations: 1.515 MB / 3.436 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/7.522, allocations: 7.328 kB / 3.436 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/7.522, allocations: 11.12 kB / 3.436 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/7.522, allocations: 12.38 kB / 3.436 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/7.527, allocations: 1.893 MB / 3.438 GB, free: 108.6 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.005306/7.532, allocations: 4.723 MB / 3.443 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/7.535, allocations: 0.9754 MB / 3.444 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/7.536, allocations: 0.5975 MB / 3.444 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1425/7.678, allocations: 75.93 MB / 3.518 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/7.678, allocations: 34.58 kB / 3.518 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.404e-06/7.679, allocations: 0 / 3.518 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.009749/7.688, allocations: 3.147 MB / 3.521 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/7.688, allocations: 59.09 kB / 3.521 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/7.689, allocations: 139.8 kB / 3.522 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/7.689, allocations: 29.33 kB / 3.522 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/7.689, allocations: 149.2 kB / 3.522 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/7.689, allocations: 155 kB / 3.522 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/7.689, allocations: 8.719 kB / 3.522 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001008/7.689, allocations: 337.1 kB / 3.522 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/7.69, allocations: 0.6569 MB / 3.523 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/7.691, allocations: 0.7493 MB / 3.524 GB, free: 58.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/7.692, allocations: 0.5036 MB / 3.524 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/7.692, allocations: 0 / 3.524 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002461/7.695, allocations: 1.42 MB / 3.526 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/7.695, allocations: 3.562 kB / 3.526 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.695, allocations: 7.5 kB / 3.526 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/7.695, allocations: 11.58 kB / 3.526 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/7.697, allocations: 0.5944 MB / 3.526 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/7.697, allocations: 8.25 kB / 3.526 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/7.699, allocations: 355 kB / 3.526 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/7.7, allocations: 81.03 kB / 3.527 GB, free: 58.53 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 () * 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.0003002/7.7, allocations: 126.8 kB / 3.527 GB, free: 58.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/7.7, allocations: 19.5 kB / 3.527 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006348/7.706, allocations: 6.265 MB / 3.533 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005017/7.712, allocations: 5.745 MB / 3.538 GB, free: 54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/7.712, allocations: 7.672 kB / 3.538 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/7.712, allocations: 9.172 kB / 3.538 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/7.72, allocations: 9.56 MB / 3.548 GB, free: 47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/7.72, allocations: 1.031 kB / 3.548 GB, free: 47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/7.723, allocations: 0.591 MB / 3.548 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/7.723, allocations: 4 kB / 3.548 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/7.723, allocations: 45.94 kB / 3.548 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/7.723, allocations: 4 kB / 3.548 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/7.723, allocations: 7.594 kB / 3.548 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/7.727, allocations: 3.135 MB / 3.551 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/7.728, allocations: 277.4 kB / 3.552 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/7.728, allocations: 15.84 kB / 3.552 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/7.729, allocations: 375.2 kB / 3.552 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/7.73, allocations: 74.64 kB / 3.552 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/7.73, allocations: 58.72 kB / 3.552 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.357e-05/7.73, allocations: 110.7 kB / 3.552 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.252e-06/7.73, allocations: 0 / 3.552 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004403/7.734, allocations: 0.971 MB / 3.553 GB, free: 42.17 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 ($cse1.region3boundary,$cse2.region3boundary,$cse3.region3boundary,$cse4.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete 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.01227/7.747, allocations: 4.69 MB / 3.558 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003015/7.75, allocations: 1.74 MB / 3.56 GB, free: 36.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/7.75, allocations: 4 kB / 3.56 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/7.751, allocations: 1.085 MB / 3.561 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/7.752, allocations: 90.19 kB / 3.561 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009255/7.761, allocations: 2.961 MB / 3.564 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/7.761, allocations: 0.9418 MB / 3.565 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002118/7.763, allocations: 1.276 MB / 3.566 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008694/7.764, allocations: 307.3 kB / 3.566 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/7.764, allocations: 0 / 3.566 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.064/7.828, allocations: 41.28 MB / 3.606 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/7.829, allocations: 179.9 kB / 3.607 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.402/11.23, allocations: 3.906 kB / 3.607 GB, free: 0.625 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance_fmu --startTime=0 --stopTime=19 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)