Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_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.TestFlow1D2phDB_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_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.001384/0.001384, allocations: 181.2 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.371/1.371, 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.0009842/0.0009842, allocations: 95.11 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.4279/0.4279, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1123, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.947/7.059, allocations: 2.972 GB / 3.46 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/7.059, allocations: 82.09 kB / 3.46 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.095/8.155, allocations: 332.1 MB / 3.784 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/8.155, allocations: 0 / 3.784 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.889e-05/8.155, allocations: 43.69 kB / 3.784 GB, free: 46.95 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.03689/8.192, allocations: 7.941 MB / 3.792 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/8.192, allocations: 12.02 kB / 3.792 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003572/8.195, allocations: 294.2 kB / 3.792 GB, free: 38.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007678/8.203, allocations: 0.8133 MB / 3.793 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/8.218, allocations: 3.28 MB / 3.796 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004127/8.222, allocations: 1.095 MB / 3.797 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003797/8.226, allocations: 196.5 kB / 3.797 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/8.274, allocations: 15.11 MB / 3.812 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/8.274, allocations: 0 / 3.812 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/8.276, allocations: 73.02 kB / 3.812 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/8.276, allocations: 47.92 kB / 3.812 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.394/8.67, allocations: 27.04 MB / 3.839 GB, free: 57.06 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.09348/8.764, allocations: 48.23 MB / 3.886 GB, free: 31.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03149/8.795, allocations: 12.65 MB / 3.898 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2147/9.01, allocations: 119.5 MB / 4.015 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/9.01, allocations: 56.81 kB / 4.015 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=222): time 5.28e-06/9.01, allocations: 0 / 4.015 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=223): time 0.5402/9.55, allocations: 53.4 MB / 4.067 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/9.55, allocations: 82.27 kB / 4.067 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/9.552, allocations: 0.591 MB / 4.068 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004244/9.556, allocations: 69.2 kB / 4.068 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/9.556, allocations: 498.7 kB / 4.068 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004533/9.561, allocations: 0.7601 MB / 4.069 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003102/9.564, allocations: 42.81 kB / 4.069 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003254/9.564, allocations: 438.9 kB / 4.069 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02935/9.594, allocations: 10.91 MB / 4.08 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03638/9.63, allocations: 11.18 MB / 4.091 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.195/9.825, allocations: 67.61 MB / 4.157 GB, free: 92.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/9.825, allocations: 4 kB / 4.157 GB, free: 92.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.1423/9.968, allocations: 43.99 MB / 4.2 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007666/9.968, allocations: 1.669 MB / 4.202 GB, free: 57.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.526e-05/9.969, allocations: 4 kB / 4.202 GB, free: 57.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5325/10.5, allocations: 57.33 MB / 4.258 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00641/10.51, allocations: 1.312 MB / 4.259 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.071/10.58, allocations: 23.96 MB / 4.282 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01611/10.59, allocations: 2.823 MB / 4.285 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003929/10.6, allocations: 358.1 kB / 4.285 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/10.6, allocations: 6.188 kB / 4.285 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2903/10.89, allocations: 84.26 MB / 4.368 GB, free: 81.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-05/10.89, allocations: 4.547 kB / 4.368 GB, free: 81.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1486/11.04, allocations: 57.07 MB / 4.423 GB, free: 32.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/11.04, allocations: 1.318 MB / 4.425 GB, free: 30.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4286/11.47, allocations: 23.59 MB / 4.448 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/11.49, allocations: 2.821 MB / 4.451 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004115/11.49, allocations: 349.6 kB / 4.451 GB, free: 102.7 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: 19 * 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 (174): * Single equations (assignments): 173 * 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.006279/11.5, allocations: 0.5595 MB / 4.451 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002746/11.5, allocations: 129.8 kB / 4.452 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08779/11.59, allocations: 39.93 MB / 4.491 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07776/11.67, allocations: 38.03 MB / 4.528 GB, free: 88.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.543e-05/11.67, allocations: 3.469 kB / 4.528 GB, free: 88.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.322e-05/11.67, allocations: 13.22 kB / 4.528 GB, free: 88.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1/11.77, allocations: 60.77 MB / 4.587 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/11.77, allocations: 0 / 4.587 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01734/11.78, allocations: 3.413 MB / 4.59 GB, free: 48.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004413/11.79, allocations: 1.112 MB / 4.591 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003525/11.79, allocations: 231.3 kB / 4.592 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009491/11.8, allocations: 6.264 MB / 4.598 GB, free: 42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/11.8, allocations: 5.172 kB / 4.598 GB, free: 42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4286/12.23, allocations: 34.58 MB / 4.632 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00689/12.24, allocations: 1.493 MB / 4.633 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00295/12.24, allocations: 57.08 kB / 4.633 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01595/12.26, allocations: 2.788 MB / 4.636 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003209/12.26, allocations: 343.8 kB / 4.636 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003448/12.26, allocations: 232.7 kB / 4.636 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001257/12.26, allocations: 457.3 kB / 4.637 GB, free: 103 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.41e-07/12.26, allocations: 0 / 4.637 GB, free: 103 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02107/12.29, allocations: 3.002 MB / 4.64 GB, free: 103 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 (212): * Single equations (assignments): 195 * 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.1032/12.39, allocations: 34.94 MB / 4.674 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.09271/12.48, allocations: 35.4 MB / 4.708 GB, free: 99.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/12.48, allocations: 4.656 kB / 4.708 GB, free: 99.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03209/12.51, allocations: 12.16 MB / 4.72 GB, free: 96.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/12.52, allocations: 423 kB / 4.721 GB, free: 96.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.903/13.42, allocations: 177.2 MB / 4.894 GB, free: 96.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/13.42, allocations: 1.621 MB / 4.895 GB, free: 95.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01361/13.44, allocations: 3.334 MB / 4.899 GB, free: 95.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008437/13.45, allocations: 1.081 MB / 4.9 GB, free: 95.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.733e-06/13.45, allocations: 0 / 4.9 GB, free: 95.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7161/14.16, allocations: 279.6 MB / 5.173 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/14.16, allocations: 231.3 kB / 5.173 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.375/23.54, allocations: 0 / 5.173 GB, free: 52.59 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe 2>&1)