Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.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_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",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.002021/0.002022, allocations: 179.6 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.647/1.647, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001122/0.001121, allocations: 96.14 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4847/0.4847, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.294/7.433, allocations: 3.018 GB / 3.505 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/7.433, allocations: 87.64 kB / 3.505 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.1/8.533, allocations: 342.3 MB / 3.839 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.943e-06/8.533, allocations: 3.938 kB / 3.839 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.527e-05/8.533, allocations: 36 kB / 3.839 GB, free: 2.793 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.3631/8.896, allocations: 7.914 MB / 3.847 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/8.896, allocations: 9.844 kB / 3.847 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003733/8.9, allocations: 291.3 kB / 3.847 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/8.918, allocations: 2.761 MB / 3.85 GB, free: 45.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/8.933, allocations: 3.591 MB / 3.854 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003384/8.936, allocations: 1.097 MB / 3.855 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/8.939, allocations: 198.6 kB / 3.855 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04604/8.985, allocations: 16.4 MB / 3.871 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/8.986, allocations: 2.688 kB / 3.871 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002323/8.988, allocations: 70.91 kB / 3.871 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/8.988, allocations: 44.59 kB / 3.871 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1004/9.088, allocations: 30.83 MB / 3.901 GB, free: 44.57 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.1118/9.2, allocations: 58.86 MB / 3.959 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0346/9.235, allocations: 13.51 MB / 3.972 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5829/9.818, allocations: 119.6 MB / 4.089 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/9.818, allocations: 61.12 kB / 4.089 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=212): time 4.017e-06/9.818, allocations: 0 / 4.089 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=213): time 0.1843/10, allocations: 57.63 MB / 4.145 GB, free: 60.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/10, allocations: 76.09 kB / 4.145 GB, free: 60.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/10, allocations: 0.5648 MB / 4.146 GB, free: 60.33 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003748/10.01, allocations: 60.89 kB / 4.146 GB, free: 60.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/10.01, allocations: 0.5409 MB / 4.146 GB, free: 59.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005324/10.01, allocations: 0.7355 MB / 4.147 GB, free: 59.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003951/10.02, allocations: 47.28 kB / 4.147 GB, free: 59.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003884/10.02, allocations: 431.4 kB / 4.147 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02992/10.05, allocations: 11.82 MB / 4.159 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03028/10.08, allocations: 12.31 MB / 4.171 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6602/10.74, allocations: 97.64 MB / 4.266 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/10.74, allocations: 5.938 kB / 4.266 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=279) (initialization): time 1.087/11.82, allocations: 210.5 MB / 4.472 GB, free: 82.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/11.83, allocations: 4.97 MB / 4.477 GB, free: 77.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/11.83, allocations: 17.22 kB / 4.477 GB, free: 77.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1567/11.98, allocations: 57.39 MB / 4.533 GB, free: 76.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/11.99, allocations: 1.448 MB / 4.534 GB, free: 76.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06509/12.05, allocations: 24.03 MB / 4.558 GB, free: 75.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01571/12.07, allocations: 2.822 MB / 4.56 GB, free: 74.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004617/12.08, allocations: 428.8 kB / 4.561 GB, free: 74.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/12.08, allocations: 3.906 kB / 4.561 GB, free: 74.95 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2283/12.3, allocations: 63.08 MB / 4.622 GB, free: 36.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/12.3, allocations: 12 kB / 4.622 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4847/12.79, allocations: 57.1 MB / 4.678 GB, free: 91.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007421/12.8, allocations: 1.468 MB / 4.68 GB, free: 91.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06848/12.86, allocations: 23.65 MB / 4.703 GB, free: 90.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01707/12.88, allocations: 2.825 MB / 4.705 GB, free: 90.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004427/12.89, allocations: 424.8 kB / 4.706 GB, free: 90.17 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,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 (182): * Single equations (assignments): 181 * 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 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.007769/12.89, allocations: 0.5813 MB / 4.706 GB, free: 89.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00373/12.9, allocations: 128 kB / 4.706 GB, free: 89.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08829/12.99, allocations: 42.03 MB / 4.748 GB, free: 82.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0742/13.06, allocations: 39.93 MB / 4.787 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/13.06, allocations: 7.406 kB / 4.787 GB, free: 58.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.49e-05/13.06, allocations: 19.02 kB / 4.787 GB, free: 58.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4301/13.49, allocations: 67.06 MB / 4.852 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/13.49, allocations: 0 / 4.852 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01746/13.51, allocations: 3.523 MB / 4.855 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004378/13.51, allocations: 1.11 MB / 4.857 GB, free: 89.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003305/13.52, allocations: 292.6 kB / 4.857 GB, free: 89.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008947/13.52, allocations: 6.246 MB / 4.863 GB, free: 88.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/13.53, allocations: 0 / 4.863 GB, free: 88.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09472/13.62, allocations: 36.02 MB / 4.898 GB, free: 87.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006641/13.63, allocations: 1.811 MB / 4.9 GB, free: 87.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003495/13.63, allocations: 54.55 kB / 4.9 GB, free: 87.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01462/13.64, allocations: 2.778 MB / 4.903 GB, free: 87.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00393/13.65, allocations: 412.8 kB / 4.903 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004007/13.65, allocations: 293.8 kB / 4.903 GB, free: 87.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007958/13.65, allocations: 436.2 kB / 4.904 GB, free: 86.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/13.65, allocations: 0 / 4.904 GB, free: 86.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01967/13.67, allocations: 3.251 MB / 4.907 GB, free: 86.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 26 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1/13.77, allocations: 38.02 MB / 4.944 GB, free: 77.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.08986/13.86, allocations: 38.62 MB / 4.982 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/13.86, allocations: 0 / 4.982 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03106/13.89, allocations: 13.21 MB / 4.995 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/13.9, allocations: 443.7 kB / 4.995 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5455/14.44, allocations: 109.5 MB / 5.102 GB, free: 88.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/14.45, allocations: 1.618 MB / 5.104 GB, free: 87.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01317/14.46, allocations: 3.977 MB / 5.107 GB, free: 87.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006653/14.47, allocations: 1.189 MB / 5.109 GB, free: 87.31 MB / 0.5573 GB Notification: Performance of SimCode: time 1.984e-06/14.47, allocations: 0.9844 kB / 5.109 GB, free: 87.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6372/15.1, allocations: 286.2 MB / 5.388 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/15.1, allocations: 233.5 kB / 5.388 GB, free: 44.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.415/24.52, allocations: 0.75 kB / 5.388 GB, free: 44.68 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe 2>&1)