Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_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.002703/0.002703, allocations: 181.3 kB / 16.39 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 2.051/2.051, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001051/0.001051, allocations: 93.2 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.6069/0.6069, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003606, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.359/7.526, allocations: 2.943 GB / 3.43 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/7.527, allocations: 81.59 kB / 3.43 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.54/9.067, allocations: 379.1 MB / 3.8 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/9.067, allocations: 0 / 3.8 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001463/9.067, allocations: 94.47 kB / 3.8 GB, free: 45.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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.0337/9.101, allocations: 10.2 MB / 3.81 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/9.101, allocations: 8.031 kB / 3.81 GB, free: 35.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004297/9.105, allocations: 0.7633 MB / 3.811 GB, free: 35.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/9.112, allocations: 0.7922 MB / 3.812 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/9.123, allocations: 2.976 MB / 3.815 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004082/9.123, allocations: 410.6 kB / 3.815 GB, free: 30.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003992/9.127, allocations: 0.5117 MB / 3.816 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03515/9.163, allocations: 12.12 MB / 3.828 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/9.163, allocations: 7.938 kB / 3.828 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003541/9.166, allocations: 216 kB / 3.828 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/9.167, allocations: 218.8 kB / 3.828 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04963/9.216, allocations: 14.15 MB / 3.842 GB, free: 3.539 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.5149/9.731, allocations: 24.49 MB / 3.866 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/9.743, allocations: 4.816 MB / 3.87 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1292/9.873, allocations: 63.76 MB / 3.933 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/9.873, allocations: 64.69 kB / 3.933 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 5.67e-06/9.873, allocations: 2.297 kB / 3.933 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=257): time 0.1059/9.979, allocations: 23.25 MB / 3.955 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/9.979, allocations: 77.47 kB / 3.955 GB, free: 18.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006515/9.986, allocations: 3.57 MB / 3.959 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001825/9.988, allocations: 76.83 kB / 3.959 GB, free: 18.06 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002681/9.99, allocations: 3.145 MB / 3.962 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002675/9.993, allocations: 1.038 MB / 3.963 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008157/9.994, allocations: 171.2 kB / 3.963 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006497/9.994, allocations: 0.717 MB / 3.964 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006013/10, allocations: 3.88 MB / 3.968 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009428/10.01, allocations: 8.944 MB / 3.977 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00978/10.02, allocations: 5.501 MB / 3.982 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000279/10.02, allocations: 50.91 kB / 3.982 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.0584/10.08, allocations: 17.57 MB / 3.999 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.4584/10.54, allocations: 70.23 MB / 4.068 GB, free: 87.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007215/10.54, allocations: 186.5 kB / 4.068 GB, free: 87.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0541/10.59, allocations: 12.58 MB / 4.08 GB, free: 87.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0058/10.6, allocations: 1.682 MB / 4.082 GB, free: 87.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/10.62, allocations: 10.34 MB / 4.092 GB, free: 86.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/10.63, allocations: 1.313 MB / 4.093 GB, free: 86.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004382/10.64, allocations: 0.6344 MB / 4.094 GB, free: 86.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/10.64, allocations: 7.125 kB / 4.094 GB, free: 86.57 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0563/10.69, allocations: 17.09 MB / 4.11 GB, free: 85.94 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001184/10.69, allocations: 177.1 kB / 4.111 GB, free: 85.94 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05495/10.75, allocations: 12.58 MB / 4.123 GB, free: 85.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006028/10.75, allocations: 1.659 MB / 4.125 GB, free: 85.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/10.78, allocations: 10.36 MB / 4.135 GB, free: 85.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/10.79, allocations: 0.9896 MB / 4.136 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/10.79, allocations: 0.6313 MB / 4.136 GB, free: 84.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,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 (903): * Single equations (assignments): 902 * 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 {13 187} Notification: Performance of prepare postOptimizeDAE: time 0.005976/10.8, allocations: 1.858 MB / 4.138 GB, free: 84.24 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/10.8, allocations: 363.1 kB / 4.138 GB, free: 84.04 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06437/10.86, allocations: 32.07 MB / 4.17 GB, free: 78.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001231/10.86, allocations: 68.72 kB / 4.17 GB, free: 78.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/10.86, allocations: 3.562 kB / 4.17 GB, free: 78.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/10.86, allocations: 14.67 kB / 4.17 GB, free: 78.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07914/10.94, allocations: 43.94 MB / 4.213 GB, free: 48.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.169e-05/10.94, allocations: 0 / 4.213 GB, free: 48.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/10.94, allocations: 390.9 kB / 4.213 GB, free: 48.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03615/10.98, allocations: 8.362 MB / 4.221 GB, free: 43.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001975/10.98, allocations: 131.8 kB / 4.221 GB, free: 43.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05967/11.04, allocations: 31.9 MB / 4.253 GB, free: 17.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/11.04, allocations: 0 / 4.253 GB, free: 17.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4246/11.47, allocations: 15.74 MB / 4.268 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004585/11.47, allocations: 0.9368 MB / 4.269 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/11.47, allocations: 89.36 kB / 4.269 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004809/11.48, allocations: 297.2 kB / 4.269 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001578/11.48, allocations: 245.5 kB / 4.269 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004335/11.48, allocations: 110.3 kB / 4.27 GB, free: 100.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004814/11.49, allocations: 2.335 MB / 4.272 GB, free: 100.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/11.49, allocations: 6.75 kB / 4.272 GB, free: 100.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0274/11.51, allocations: 3.402 MB / 4.275 GB, free: 100.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 140 * 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: 0 * Non-linear torn systems: 1 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.05053/11.56, allocations: 17.39 MB / 4.292 GB, free: 98.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04647/11.61, allocations: 17.18 MB / 4.309 GB, free: 98.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/11.61, allocations: 0 / 4.309 GB, free: 98.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01452/11.62, allocations: 4.791 MB / 4.314 GB, free: 98.04 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/11.63, allocations: 0.6768 MB / 4.314 GB, free: 98.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1345/11.76, allocations: 165.4 MB / 4.476 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/11.77, allocations: 2.864 MB / 4.479 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01199/11.78, allocations: 5.297 MB / 4.484 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00432/11.78, allocations: 1.77 MB / 4.486 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of SimCode: time 2.745e-06/11.78, allocations: 3.219 kB / 4.486 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7643/12.55, allocations: 221.1 MB / 4.701 GB, free: 54.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/12.55, allocations: 225.9 kB / 4.702 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/21.26, allocations: 7.938 kB / 4.702 GB, free: 53.98 MB / 0.6198 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)