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.00153/0.00153, allocations: 177.1 kB / 8.35 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.981/1.981, 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.001081/0.001081, allocations: 81.81 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6463/0.6463, allocations: 48.78 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.701e-05, allocations: 7.984 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.692/7.842, allocations: 2.942 GB / 3.416 GB, free: 131.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/7.842, allocations: 78.8 kB / 3.416 GB, free: 131.6 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.584/9.426, allocations: 374.8 MB / 3.782 GB, free: 45.98 MB / 0.5108 GB Notification: Performance of FrontEnd: time 4.188e-06/9.426, allocations: 0 / 3.782 GB, free: 45.98 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001802/9.426, allocations: 92.72 kB / 3.782 GB, free: 45.98 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.04762/9.474, allocations: 10.09 MB / 3.792 GB, free: 44.57 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 7.306e-05/9.474, allocations: 11.03 kB / 3.792 GB, free: 44.57 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008494/9.483, allocations: 0.7968 MB / 3.793 GB, free: 44.34 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/9.498, allocations: 2.974 MB / 3.796 GB, free: 43.89 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006599/9.498, allocations: 172.2 kB / 3.796 GB, free: 43.89 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004681/9.503, allocations: 316.4 kB / 3.796 GB, free: 43.89 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04736/9.551, allocations: 11.35 MB / 3.807 GB, free: 43.87 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03273/9.583, allocations: 8.842 MB / 3.816 GB, free: 43.55 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004964/9.584, allocations: 2.719 kB / 3.816 GB, free: 43.55 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003937/9.588, allocations: 2.75 kB / 3.816 GB, free: 43.55 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/9.588, allocations: 210.2 kB / 3.816 GB, free: 43.54 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.05764/9.646, allocations: 23.97 MB / 3.84 GB, free: 32.84 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007165/9.653, allocations: 3.28 MB / 3.843 GB, free: 32.78 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004115/9.657, allocations: 2.083 MB / 3.845 GB, free: 32.76 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1308/9.788, allocations: 64 MB / 3.907 GB, free: 24.27 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/9.788, allocations: 63.06 kB / 3.908 GB, free: 24.23 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=257): time 7.674e-06/9.788, allocations: 4 kB / 3.908 GB, free: 24.23 MB / 0.5421 GB Notification: Performance of matching and sorting (n=257): time 0.047/9.835, allocations: 11.3 MB / 3.919 GB, free: 23.62 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/9.836, allocations: 80.56 kB / 3.919 GB, free: 23.55 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007991/9.844, allocations: 3.313 MB / 3.922 GB, free: 23.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001935/9.845, allocations: 29.23 kB / 3.922 GB, free: 23.07 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.003237/9.849, allocations: 3.139 MB / 3.925 GB, free: 20.98 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.003304/9.852, allocations: 0.9973 MB / 3.926 GB, free: 20.42 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/9.854, allocations: 3.875 kB / 3.926 GB, free: 20.42 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.001385/9.856, allocations: 0.7172 MB / 3.927 GB, free: 20.08 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008596/9.864, allocations: 3.63 MB / 3.93 GB, free: 20.06 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/9.879, allocations: 8.637 MB / 3.939 GB, free: 13.43 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/9.896, allocations: 5.576 MB / 3.944 GB, free: 13.15 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004148/9.896, allocations: 48.75 kB / 3.944 GB, free: 13.15 MB / 0.5421 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.06064/9.957, allocations: 16.45 MB / 3.96 GB, free: 3.008 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.4794/10.44, allocations: 70.22 MB / 4.029 GB, free: 27.17 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001133/10.44, allocations: 177 kB / 4.029 GB, free: 27.17 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05428/10.49, allocations: 12.14 MB / 4.041 GB, free: 27.14 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006976/10.5, allocations: 1.68 MB / 4.042 GB, free: 27.14 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/10.52, allocations: 11.42 MB / 4.054 GB, free: 26.55 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/10.54, allocations: 1.141 MB / 4.055 GB, free: 26.48 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004363/10.54, allocations: 0.6358 MB / 4.055 GB, free: 26.48 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/10.54, allocations: 6.781 kB / 4.055 GB, free: 26.48 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05027/10.59, allocations: 15.8 MB / 4.071 GB, free: 26.22 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001942/10.59, allocations: 180.7 kB / 4.071 GB, free: 26.22 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04955/10.64, allocations: 12.13 MB / 4.083 GB, free: 26.08 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005644/10.65, allocations: 1.673 MB / 4.084 GB, free: 25.92 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04135/10.69, allocations: 11.43 MB / 4.096 GB, free: 25.16 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/10.7, allocations: 0.8075 MB / 4.096 GB, free: 24.96 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003363/10.71, allocations: 0.6379 MB / 4.097 GB, free: 24.96 MB / 0.5577 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 () * 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.005703/10.71, allocations: 0.5069 MB / 4.097 GB, free: 24.61 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04404/10.76, allocations: 11.62 MB / 4.109 GB, free: 23.91 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002492/10.76, allocations: 349.8 kB / 4.109 GB, free: 23.73 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06255/10.82, allocations: 33.03 MB / 4.141 GB, free: 19.78 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.922e-05/10.82, allocations: 72.3 kB / 4.141 GB, free: 19.76 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/10.82, allocations: 0 / 4.141 GB, free: 19.76 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/10.82, allocations: 15.39 kB / 4.141 GB, free: 19.76 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.545/11.37, allocations: 45.74 MB / 4.186 GB, free: 76.73 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/11.37, allocations: 0 / 4.186 GB, free: 76.73 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/11.37, allocations: 392 kB / 4.187 GB, free: 76.73 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.035/11.4, allocations: 8.251 MB / 4.195 GB, free: 76.7 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001572/11.41, allocations: 85.8 kB / 4.195 GB, free: 76.7 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05693/11.46, allocations: 29.34 MB / 4.223 GB, free: 74.89 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/11.46, allocations: 4.641 kB / 4.223 GB, free: 74.89 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04421/11.51, allocations: 15.14 MB / 4.238 GB, free: 74.21 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003942/11.51, allocations: 0.9288 MB / 4.239 GB, free: 73.82 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/11.51, allocations: 43.28 kB / 4.239 GB, free: 73.82 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00519/11.52, allocations: 248.8 kB / 4.239 GB, free: 73.8 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002913/11.52, allocations: 250.5 kB / 4.24 GB, free: 73.8 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001369/11.52, allocations: 103.4 kB / 4.24 GB, free: 73.8 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.00503/11.53, allocations: 2.103 MB / 4.242 GB, free: 73.66 MB / 0.5577 GB Notification: Performance of sort global known variables: time 5.41e-07/11.53, allocations: 1.75 kB / 4.242 GB, free: 73.66 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.02529/11.55, allocations: 3.011 MB / 4.245 GB, free: 73.45 MB / 0.5577 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 () * 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.05589/11.61, allocations: 17.17 MB / 4.261 GB, free: 72.12 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.04223/11.65, allocations: 16.09 MB / 4.277 GB, free: 71.76 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 2.038e-05/11.65, allocations: 3.281 kB / 4.277 GB, free: 71.76 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/11.67, allocations: 4.566 MB / 4.282 GB, free: 71.44 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/11.67, allocations: 0.5754 MB / 4.282 GB, free: 71.42 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03857/11.71, allocations: 11.35 MB / 4.293 GB, free: 68.46 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004159/11.72, allocations: 2.857 MB / 4.296 GB, free: 67.45 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.01532/11.73, allocations: 5.317 MB / 4.301 GB, free: 66.86 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005277/11.74, allocations: 1.768 MB / 4.303 GB, free: 65.47 MB / 0.5577 GB Notification: Performance of SimCode: time 2.044e-06/11.74, allocations: 0 / 4.303 GB, free: 65.47 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.72/12.46, allocations: 212.2 MB / 4.51 GB, free: 45.21 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/12.46, allocations: 156.7 kB / 4.51 GB, free: 45.02 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/20.48, allocations: 0 / 4.51 GB, free: 45.02 MB / 0.5577 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)