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.001601/0.001601, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 90.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4676/0.4676, allocations: 48.78 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.344e-05, allocations: 4 kB / 425.4 MB, free: 8.129 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/7.389, allocations: 3.017 GB / 3.491 GB, free: 51.93 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/7.389, allocations: 79.95 kB / 3.491 GB, free: 51.85 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.439/8.827, allocations: 338 MB / 3.821 GB, free: 61.41 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.085e-06/8.828, allocations: 4 kB / 3.821 GB, free: 61.4 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.498e-05/8.828, allocations: 42.19 kB / 3.821 GB, free: 61.4 MB / 0.5108 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.03943/8.867, allocations: 7.804 MB / 3.829 GB, free: 60.13 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/8.867, allocations: 7.812 kB / 3.829 GB, free: 60.13 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/8.886, allocations: 2.766 MB / 3.832 GB, free: 59.95 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/8.9, allocations: 3.59 MB / 3.835 GB, free: 59.59 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003442/8.904, allocations: 1.004 MB / 3.836 GB, free: 59.31 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003443/8.907, allocations: 109.4 kB / 3.836 GB, free: 59.3 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03962/8.947, allocations: 18.1 MB / 3.854 GB, free: 59.3 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/8.966, allocations: 8.816 MB / 3.863 GB, free: 58.97 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/8.967, allocations: 3.094 kB / 3.863 GB, free: 58.97 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001888/8.968, allocations: 7.266 kB / 3.863 GB, free: 58.96 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/8.968, allocations: 48.91 kB / 3.863 GB, free: 58.96 MB / 0.5108 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.09848/9.067, allocations: 58.36 MB / 3.92 GB, free: 16 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/9.078, allocations: 7.072 MB / 3.927 GB, free: 8.977 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009309/9.087, allocations: 6.35 MB / 3.933 GB, free: 2.629 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5973/9.684, allocations: 120.1 MB / 4.05 GB, free: 41.25 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/9.684, allocations: 57.59 kB / 4.05 GB, free: 41.21 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=210): time 4.689e-06/9.684, allocations: 4 kB / 4.05 GB, free: 41.2 MB / 0.5577 GB Notification: Performance of matching and sorting (n=211): time 0.1042/9.789, allocations: 29.63 MB / 4.079 GB, free: 40.64 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/9.789, allocations: 76.53 kB / 4.079 GB, free: 40.57 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/9.79, allocations: 0.5232 MB / 4.08 GB, free: 40.44 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.003742/9.794, allocations: 25.7 kB / 4.08 GB, free: 40.41 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/9.794, allocations: 0.5414 MB / 4.08 GB, free: 40.16 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.004369/9.798, allocations: 0.7002 MB / 4.081 GB, free: 39.79 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003643/9.802, allocations: 4 kB / 4.081 GB, free: 39.79 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0004193/9.803, allocations: 431.6 kB / 4.081 GB, free: 39.47 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01229/9.815, allocations: 6.632 MB / 4.088 GB, free: 39.46 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/9.828, allocations: 7.107 MB / 4.095 GB, free: 38.93 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1652/9.994, allocations: 62.72 MB / 4.156 GB, free: 6.301 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-05/9.994, allocations: 4 kB / 4.156 GB, free: 6.297 MB / 0.5577 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.6501/10.64, allocations: 70.35 MB / 4.225 GB, free: 105.7 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.001396/10.65, allocations: 4.978 MB / 4.23 GB, free: 100.5 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/10.65, allocations: 16.22 kB / 4.23 GB, free: 100.5 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1303/10.78, allocations: 50.19 MB / 4.279 GB, free: 92.77 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00688/10.78, allocations: 1.449 MB / 4.28 GB, free: 91.78 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03823/10.82, allocations: 16.16 MB / 4.296 GB, free: 84.02 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/10.84, allocations: 2.781 MB / 4.298 GB, free: 82.04 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004222/10.84, allocations: 426.1 kB / 4.299 GB, free: 81.84 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/10.84, allocations: 4 kB / 4.299 GB, free: 81.84 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6529/11.49, allocations: 79.41 MB / 4.376 GB, free: 98.98 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.794e-05/11.49, allocations: 11.72 kB / 4.376 GB, free: 98.98 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1346/11.63, allocations: 49.82 MB / 4.425 GB, free: 97.21 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/11.64, allocations: 1.47 MB / 4.427 GB, free: 97.17 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03192/11.67, allocations: 15.71 MB / 4.442 GB, free: 96.62 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01555/11.68, allocations: 2.778 MB / 4.445 GB, free: 96.47 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00385/11.69, allocations: 428.9 kB / 4.445 GB, free: 96.47 MB / 0.5577 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 () * 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.003203/11.69, allocations: 192.4 kB / 4.445 GB, free: 96.36 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04113/11.73, allocations: 15.04 MB / 4.46 GB, free: 96.27 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003076/11.73, allocations: 126.3 kB / 4.46 GB, free: 96.27 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05744/11.79, allocations: 33.18 MB / 4.492 GB, free: 83.94 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05133/11.84, allocations: 31.27 MB / 4.523 GB, free: 56.8 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-05/11.84, allocations: 4 kB / 4.523 GB, free: 56.79 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.045e-05/11.84, allocations: 20.14 kB / 4.523 GB, free: 56.79 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4604/12.3, allocations: 58.4 MB / 4.58 GB, free: 105.4 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/12.3, allocations: 4.469 kB / 4.58 GB, free: 105.4 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01737/12.32, allocations: 3.507 MB / 4.583 GB, free: 105.4 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004181/12.33, allocations: 1.082 MB / 4.584 GB, free: 105.4 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003665/12.33, allocations: 263.6 kB / 4.585 GB, free: 105.4 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008349/12.34, allocations: 5.803 MB / 4.59 GB, free: 104.2 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/12.34, allocations: 3.094 kB / 4.59 GB, free: 104.2 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05648/12.39, allocations: 21.74 MB / 4.612 GB, free: 103.8 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006793/12.4, allocations: 1.796 MB / 4.613 GB, free: 103.7 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003228/12.4, allocations: 17.91 kB / 4.613 GB, free: 103.7 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01582/12.42, allocations: 2.745 MB / 4.616 GB, free: 103.7 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004197/12.42, allocations: 409.9 kB / 4.616 GB, free: 103.7 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003358/12.43, allocations: 288.9 kB / 4.617 GB, free: 103.7 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.0006032/12.43, allocations: 382.6 kB / 4.617 GB, free: 103.6 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.4e-07/12.43, allocations: 1.031 kB / 4.617 GB, free: 103.6 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.02122/12.45, allocations: 3.124 MB / 4.62 GB, free: 103.6 MB / 0.5577 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: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 183 * 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: 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.06235/12.51, allocations: 23.79 MB / 4.643 GB, free: 96.39 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.04258/12.55, allocations: 22.87 MB / 4.666 GB, free: 86.98 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/12.56, allocations: 3.938 kB / 4.666 GB, free: 86.98 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01596/12.57, allocations: 7.849 MB / 4.673 GB, free: 83.51 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/12.58, allocations: 369.4 kB / 4.674 GB, free: 83.45 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/12.61, allocations: 10.1 MB / 4.684 GB, free: 80.59 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/12.61, allocations: 1.588 MB / 4.685 GB, free: 79.8 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.01309/12.62, allocations: 4.006 MB / 4.689 GB, free: 79.71 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007527/12.63, allocations: 1.147 MB / 4.69 GB, free: 79.16 MB / 0.5577 GB Notification: Performance of SimCode: time 1.363e-06/12.63, allocations: 0 / 4.69 GB, free: 79.16 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9539/13.58, allocations: 280.2 MB / 4.964 GB, free: 98.82 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/13.58, allocations: 160.2 kB / 4.964 GB, free: 98.64 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.012/22.59, allocations: 2.781 kB / 4.964 GB, free: 98.64 MB / 0.5577 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)