Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",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.00112/0.00112, allocations: 181.7 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.35/1.35, 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.0009447/0.0009449, allocations: 104.1 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4086/0.4086, allocations: 48.77 MB / 367.9 MB, free: 47.46 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.00032/0.00032, allocations: 15.98 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.869/6.986, allocations: 2.972 GB / 3.459 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/6.986, allocations: 84.92 kB / 3.459 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/8.129, allocations: 320.4 MB / 3.772 GB, free: 57.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/8.129, allocations: 0.9375 kB / 3.772 GB, free: 57.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.488e-05/8.129, allocations: 36 kB / 3.772 GB, free: 57.55 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.03289/8.162, allocations: 6.783 MB / 3.779 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/8.162, allocations: 8.031 kB / 3.779 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003/8.165, allocations: 298.5 kB / 3.779 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006064/8.171, allocations: 0.7283 MB / 3.78 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/8.183, allocations: 2.813 MB / 3.783 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002825/8.185, allocations: 0.8584 MB / 3.784 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/8.188, allocations: 205.6 kB / 3.784 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03882/8.227, allocations: 12.29 MB / 3.796 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/8.227, allocations: 0 / 3.796 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00299/8.23, allocations: 72.62 kB / 3.796 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/8.231, allocations: 44 kB / 3.796 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06311/8.294, allocations: 20.99 MB / 3.816 GB, free: 19.83 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.3784/8.672, allocations: 30.29 MB / 3.846 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03138/8.704, allocations: 11.08 MB / 3.857 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2383/8.942, allocations: 124 MB / 3.978 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/8.942, allocations: 60.19 kB / 3.978 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 8.516e-06/8.942, allocations: 0 / 3.978 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.1437/9.086, allocations: 44.81 MB / 4.022 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/9.086, allocations: 105.5 kB / 4.022 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/9.087, allocations: 0.4966 MB / 4.022 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002775/9.09, allocations: 73.53 kB / 4.022 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/9.09, allocations: 481.4 kB / 4.023 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003822/9.094, allocations: 0.8502 MB / 4.024 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/9.097, allocations: 44 kB / 4.024 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004375/9.097, allocations: 439.4 kB / 4.024 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02367/9.121, allocations: 8.543 MB / 4.032 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3502/9.471, allocations: 9.799 MB / 4.042 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02193/9.493, allocations: 7.515 MB / 4.049 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/9.493, allocations: 0 / 4.049 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.07027/9.563, allocations: 25.9 MB / 4.075 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004564/9.564, allocations: 1.502 MB / 4.076 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/9.564, allocations: 4.469 kB / 4.076 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1559/9.72, allocations: 51.09 MB / 4.126 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/9.721, allocations: 189.1 kB / 4.126 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07552/9.796, allocations: 26.57 MB / 4.152 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/9.809, allocations: 2.158 MB / 4.154 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003314/9.812, allocations: 299.5 kB / 4.155 GB, free: 101 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/9.812, allocations: 7.891 kB / 4.155 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1177/9.93, allocations: 34.23 MB / 4.188 GB, free: 74.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/9.93, allocations: 7.125 kB / 4.188 GB, free: 74.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1415/10.07, allocations: 50.64 MB / 4.237 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/10.07, allocations: 217.6 kB / 4.238 GB, free: 28.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4477/10.52, allocations: 26.13 MB / 4.263 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/10.53, allocations: 2.158 MB / 4.265 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/10.54, allocations: 292.7 kB / 4.266 GB, free: 106.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (77): * Single equations (assignments): 76 * 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 196} Notification: Performance of prepare postOptimizeDAE: time 0.004316/10.54, allocations: 0.5543 MB / 4.266 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/10.54, allocations: 133.8 kB / 4.266 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08067/10.62, allocations: 32.69 MB / 4.298 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06178/10.68, allocations: 31.03 MB / 4.328 GB, free: 95.53 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-05/10.68, allocations: 7.75 kB / 4.328 GB, free: 95.53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/10.69, allocations: 11.84 kB / 4.328 GB, free: 95.53 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08424/10.77, allocations: 49.77 MB / 4.377 GB, free: 70.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/10.77, allocations: 4 kB / 4.377 GB, free: 70.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01408/10.78, allocations: 2.672 MB / 4.38 GB, free: 68.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00726/10.79, allocations: 1.654 MB / 4.381 GB, free: 67.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002566/10.79, allocations: 200.6 kB / 4.381 GB, free: 67.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/10.81, allocations: 27.71 MB / 4.409 GB, free: 39.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/10.81, allocations: 7.938 kB / 4.409 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07278/10.89, allocations: 27.38 MB / 4.435 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4002/11.29, allocations: 1.274 MB / 4.437 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/11.29, allocations: 62.41 kB / 4.437 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01378/11.3, allocations: 2.138 MB / 4.439 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002886/11.31, allocations: 348.8 kB / 4.439 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001929/11.31, allocations: 198.2 kB / 4.439 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008649/11.31, allocations: 397.9 kB / 4.44 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/11.31, allocations: 0 / 4.44 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01743/11.33, allocations: 2.83 MB / 4.442 GB, free: 102.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 ($cse4.phase,$cse4.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.region3boundary,$cse13.region3boundary,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 184 * 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: 18 * 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: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.08448/11.41, allocations: 30.4 MB / 4.472 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.09154/11.5, allocations: 28.96 MB / 4.5 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.658e-05/11.5, allocations: 0 / 4.5 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03095/11.53, allocations: 11.75 MB / 4.512 GB, free: 97.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/11.54, allocations: 0.4959 MB / 4.512 GB, free: 97.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1782/11.72, allocations: 65.93 MB / 4.577 GB, free: 69.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/11.72, allocations: 1.683 MB / 4.578 GB, free: 68.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00851/11.73, allocations: 2.392 MB / 4.581 GB, free: 66.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006474/11.73, allocations: 0.9927 MB / 4.582 GB, free: 65.93 MB / 0.5573 GB Notification: Performance of SimCode: time 2.935e-06/11.73, allocations: 0 / 4.582 GB, free: 65.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/12.77, allocations: 273.7 MB / 4.849 GB, free: 111.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/12.77, allocations: 217 kB / 4.849 GB, free: 111.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.731/22.5, allocations: 4 kB / 4.849 GB, free: 111.6 MB / 0.573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)