Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.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.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B",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.002718/0.002718, allocations: 180.6 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.742/1.742, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009082/0.0009082, allocations: 91.12 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.5581/0.5581, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 11.98 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.128/8.281, allocations: 2.966 GB / 3.453 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/8.281, allocations: 86.41 kB / 3.453 GB, free: 57.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.581/9.862, allocations: 375.9 MB / 3.82 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/9.862, allocations: 3.25 kB / 3.82 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.743e-05/9.862, allocations: 28.66 kB / 3.82 GB, free: 60.19 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01151/9.874, allocations: 2.682 MB / 3.823 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/9.874, allocations: 7.75 kB / 3.823 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/9.875, allocations: 245.4 kB / 3.823 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/9.878, allocations: 467.8 kB / 3.824 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/9.881, allocations: 1.142 MB / 3.825 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/9.882, allocations: 126 kB / 3.825 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/9.882, allocations: 177 kB / 3.825 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/9.894, allocations: 4.531 MB / 3.829 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.206e-05/9.894, allocations: 0 / 3.829 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006754/9.894, allocations: 67.44 kB / 3.83 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/9.895, allocations: 84.44 kB / 3.83 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/9.907, allocations: 4.833 MB / 3.834 GB, free: 54.81 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.01758/9.925, allocations: 10.4 MB / 3.844 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/9.933, allocations: 3.408 MB / 3.848 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.589/10.52, allocations: 79.65 MB / 3.926 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.605e-05/10.52, allocations: 53.3 kB / 3.926 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 3.647e-06/10.52, allocations: 3.562 kB / 3.926 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158): time 0.02212/10.54, allocations: 6.518 MB / 3.932 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/10.54, allocations: 71 kB / 3.932 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/10.55, allocations: 0.5016 MB / 3.933 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003788/10.55, allocations: 52.83 kB / 3.933 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/10.55, allocations: 0.5052 MB / 3.933 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/10.55, allocations: 0.5538 MB / 3.934 GB, free: 71.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/10.55, allocations: 32.38 kB / 3.934 GB, free: 71.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001824/10.55, allocations: 412 kB / 3.934 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/10.55, allocations: 1.459 MB / 3.936 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/10.55, allocations: 1.691 MB / 3.937 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/10.55, allocations: 1.554 MB / 3.939 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/10.55, allocations: 0 / 3.939 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009342/10.56, allocations: 5.122 MB / 3.944 GB, free: 71.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004262/10.56, allocations: 1.4 MB / 3.945 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/10.56, allocations: 6.5 kB / 3.945 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/10.58, allocations: 4.685 MB / 3.95 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/10.58, allocations: 123.9 kB / 3.95 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/10.59, allocations: 5.563 MB / 3.955 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/10.59, allocations: 275.3 kB / 3.955 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009265/10.59, allocations: 182.1 kB / 3.956 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/10.59, allocations: 3.156 kB / 3.956 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01319/10.61, allocations: 4.984 MB / 3.96 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.953e-05/10.61, allocations: 4.688 kB / 3.96 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/10.62, allocations: 4.718 MB / 3.965 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/10.62, allocations: 118.6 kB / 3.965 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/10.64, allocations: 5.557 MB / 3.971 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/10.64, allocations: 257.4 kB / 3.971 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007571/10.64, allocations: 184 kB / 3.971 GB, free: 68.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 113} Notification: Performance of prepare postOptimizeDAE: time 0.00217/10.65, allocations: 0.5304 MB / 3.972 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008909/10.65, allocations: 102 kB / 3.972 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02643/10.67, allocations: 20.76 MB / 3.992 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.32e-05/10.67, allocations: 60.7 kB / 3.992 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-05/10.67, allocations: 6.688 kB / 3.992 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-05/10.67, allocations: 9.047 kB / 3.992 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/10.68, allocations: 9.343 MB / 4.001 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/10.68, allocations: 0 / 4.001 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/10.69, allocations: 372.9 kB / 4.002 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/10.69, allocations: 0.9793 MB / 4.002 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/10.69, allocations: 70.48 kB / 4.003 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00917/10.7, allocations: 5.915 MB / 4.008 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/10.7, allocations: 0 / 4.008 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/10.71, allocations: 6.211 MB / 4.014 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/10.72, allocations: 486 kB / 4.015 GB, free: 52.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006898/10.72, allocations: 37.73 kB / 4.015 GB, free: 52.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/10.72, allocations: 162.7 kB / 4.015 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006128/10.72, allocations: 128.9 kB / 4.015 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/10.72, allocations: 66.19 kB / 4.015 GB, free: 52.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007416/10.72, allocations: 393.3 kB / 4.016 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/10.72, allocations: 3.812 kB / 4.016 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01122/10.73, allocations: 1.901 MB / 4.017 GB, free: 51.63 MB / 0.5261 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.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.02251/10.75, allocations: 8.09 MB / 4.025 GB, free: 48.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01429/10.77, allocations: 5.88 MB / 4.031 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/10.77, allocations: 0 / 4.031 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006031/10.78, allocations: 2.254 MB / 4.033 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/10.78, allocations: 0.5174 MB / 4.034 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/10.82, allocations: 17.79 MB / 4.051 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/10.82, allocations: 1.566 MB / 4.053 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002231/10.82, allocations: 496.9 kB / 4.053 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/10.82, allocations: 0.678 MB / 4.054 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of SimCode: time 3.546e-06/10.82, allocations: 0 / 4.054 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6323/11.45, allocations: 126.1 MB / 4.177 GB, free: 79.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/11.45, allocations: 224.4 kB / 4.177 GB, free: 79.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.572/17.03, allocations: 0 / 4.177 GB, free: 79.34 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)