Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.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.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",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.001693/0.001693, allocations: 180.7 kB / 16.38 MB, free: 5.766 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.817/1.817, 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.0009161/0.0009158, allocations: 87.28 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4788/0.4788, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003232, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.743/6.884, allocations: 3.017 GB / 3.505 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/6.884, allocations: 83.95 kB / 3.505 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.432/8.317, allocations: 328.6 MB / 3.826 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.437e-06/8.317, allocations: 0 / 3.826 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.469e-05/8.317, allocations: 45.62 kB / 3.826 GB, free: 69.64 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.03416/8.351, allocations: 6.762 MB / 3.832 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/8.351, allocations: 12.03 kB / 3.832 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003561/8.355, allocations: 296.9 kB / 3.833 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/8.37, allocations: 2.228 MB / 3.835 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/8.381, allocations: 3.052 MB / 3.838 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003097/8.384, allocations: 0.8603 MB / 3.839 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004267/8.389, allocations: 199.8 kB / 3.839 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03862/8.427, allocations: 13.3 MB / 3.852 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-05/8.427, allocations: 8.406 kB / 3.852 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/8.43, allocations: 78.25 kB / 3.852 GB, free: 53.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/8.43, allocations: 44 kB / 3.852 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07111/8.501, allocations: 23.77 MB / 3.875 GB, free: 34.39 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.4146/8.916, allocations: 47.66 MB / 3.922 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03279/8.948, allocations: 11.74 MB / 3.933 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2232/9.172, allocations: 119.6 MB / 4.05 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.059e-05/9.172, allocations: 59.81 kB / 4.05 GB, free: 28.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=225): time 6.623e-06/9.172, allocations: 0 / 4.05 GB, free: 28.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=226): time 0.1541/9.326, allocations: 48.1 MB / 4.097 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/9.326, allocations: 99.11 kB / 4.097 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/9.327, allocations: 0.5836 MB / 4.098 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003538/9.331, allocations: 65.7 kB / 4.098 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/9.332, allocations: 0.5445 MB / 4.098 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004148/9.336, allocations: 0.784 MB / 4.099 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/9.339, allocations: 44 kB / 4.099 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005105/9.339, allocations: 446.1 kB / 4.1 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02775/9.367, allocations: 9.332 MB / 4.109 GB, free: 0 / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3713/9.738, allocations: 9.717 MB / 4.118 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02461/9.763, allocations: 8.26 MB / 4.126 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-05/9.763, allocations: 3.062 kB / 4.126 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.09771/9.861, allocations: 28.38 MB / 4.154 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001258/9.862, allocations: 4.113 MB / 4.158 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/9.862, allocations: 12.62 kB / 4.158 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2381/10.1, allocations: 73.92 MB / 4.23 GB, free: 94.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/10.1, allocations: 228.2 kB / 4.23 GB, free: 94.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08757/10.19, allocations: 28.94 MB / 4.259 GB, free: 71.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/10.2, allocations: 2.168 MB / 4.261 GB, free: 69.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003954/10.21, allocations: 357.1 kB / 4.261 GB, free: 69.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/10.21, allocations: 4 kB / 4.261 GB, free: 69.32 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08417/10.29, allocations: 28.02 MB / 4.288 GB, free: 45.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/10.29, allocations: 15.95 kB / 4.288 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6092/10.9, allocations: 73.73 MB / 4.36 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/10.9, allocations: 240.3 kB / 4.361 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07315/10.97, allocations: 28.67 MB / 4.389 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/10.99, allocations: 2.163 MB / 4.391 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003086/10.99, allocations: 354.8 kB / 4.391 GB, free: 108.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 181} Notification: Performance of prepare postOptimizeDAE: time 0.004183/10.99, allocations: 0.5732 MB / 4.392 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/11, allocations: 132.5 kB / 4.392 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07043/11.07, allocations: 34.17 MB / 4.425 GB, free: 94.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06295/11.13, allocations: 32.39 MB / 4.457 GB, free: 67.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.173e-05/11.13, allocations: 9.031 kB / 4.457 GB, free: 67.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.872e-05/11.13, allocations: 12.61 kB / 4.457 GB, free: 67.59 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4596/11.59, allocations: 53.56 MB / 4.509 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/11.59, allocations: 3.188 kB / 4.509 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01441/11.6, allocations: 2.742 MB / 4.512 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00541/11.61, allocations: 1.379 MB / 4.513 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00313/11.61, allocations: 242.7 kB / 4.513 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/11.63, allocations: 26.91 MB / 4.54 GB, free: 88.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/11.63, allocations: 0 / 4.54 GB, free: 88.85 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08711/11.72, allocations: 29.29 MB / 4.568 GB, free: 88.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006541/11.73, allocations: 1.518 MB / 4.57 GB, free: 88.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00303/11.73, allocations: 58.38 kB / 4.57 GB, free: 88.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01301/11.74, allocations: 2.133 MB / 4.572 GB, free: 88.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003261/11.75, allocations: 367.6 kB / 4.572 GB, free: 88.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0038/11.75, allocations: 242.5 kB / 4.572 GB, free: 88.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001012/11.75, allocations: 449.8 kB / 4.573 GB, free: 88.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.783e-06/11.75, allocations: 0 / 4.573 GB, free: 88.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02336/11.77, allocations: 3.038 MB / 4.576 GB, free: 88.03 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 22 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0886/11.86, allocations: 31.36 MB / 4.606 GB, free: 82.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.08419/11.95, allocations: 31.55 MB / 4.637 GB, free: 73.26 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.303e-05/11.95, allocations: 0 / 4.637 GB, free: 73.26 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03135/11.98, allocations: 12.46 MB / 4.649 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006093/11.98, allocations: 0.5144 MB / 4.65 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4635/12.45, allocations: 67.31 MB / 4.716 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/12.45, allocations: 1.672 MB / 4.717 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008677/12.46, allocations: 2.619 MB / 4.72 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006544/12.46, allocations: 1.093 MB / 4.721 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.863e-06/12.46, allocations: 3.75 kB / 4.721 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6976/13.16, allocations: 297.9 MB / 5.012 GB, free: 80.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/13.16, allocations: 222.1 kB / 5.012 GB, free: 80.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.485/22.65, allocations: 0 / 5.012 GB, free: 80.4 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1)