Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.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.TestWaterFlow1DFV2ph_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",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.001753/0.001753, 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.675/1.675, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0008595/0.0008595, allocations: 93.41 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.49/0.49, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.235e-05, allocations: 7.984 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 60.26 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.723/6.854, allocations: 2.978 GB / 3.453 GB, free: 27.39 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/6.854, allocations: 80.95 kB / 3.453 GB, free: 27.35 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.252/8.106, allocations: 297.7 MB / 3.744 GB, free: 65.06 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.647e-06/8.106, allocations: 0 / 3.744 GB, free: 65.06 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001237/8.107, allocations: 38.98 kB / 3.744 GB, free: 65.05 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.04233/8.149, allocations: 5.806 MB / 3.749 GB, free: 63.89 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/8.149, allocations: 11.69 kB / 3.749 GB, free: 63.89 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008967/8.158, allocations: 0.5553 MB / 3.75 GB, free: 63.8 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/8.168, allocations: 1.756 MB / 3.752 GB, free: 63.48 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005457/8.174, allocations: 0.9775 MB / 3.753 GB, free: 63.2 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/8.177, allocations: 116 kB / 3.753 GB, free: 63.2 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03889/8.216, allocations: 11.64 MB / 3.764 GB, free: 63.19 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/8.235, allocations: 6.56 MB / 3.77 GB, free: 62.99 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.41e-05/8.236, allocations: 0 / 3.77 GB, free: 62.99 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/8.237, allocations: 3.562 kB / 3.77 GB, free: 62.99 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/8.237, allocations: 89.86 kB / 3.77 GB, free: 62.99 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.06326/8.301, allocations: 33.5 MB / 3.803 GB, free: 43.19 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009921/8.311, allocations: 5.437 MB / 3.809 GB, free: 40.9 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009968/8.321, allocations: 4.478 MB / 3.813 GB, free: 38.96 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5736/8.894, allocations: 75.99 MB / 3.887 GB, free: 76.67 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/8.894, allocations: 60.97 kB / 3.887 GB, free: 76.63 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=192): time 3.306e-06/8.894, allocations: 0 / 3.887 GB, free: 76.63 MB / 0.5265 GB Notification: Performance of matching and sorting (n=193): time 0.04626/8.941, allocations: 18.67 MB / 3.905 GB, free: 76.12 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/8.941, allocations: 71.59 kB / 3.905 GB, free: 76.05 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/8.941, allocations: 395.5 kB / 3.906 GB, free: 75.94 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0009413/8.942, allocations: 25.7 kB / 3.906 GB, free: 75.91 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/8.942, allocations: 0.5181 MB / 3.906 GB, free: 75.68 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/8.943, allocations: 0.6415 MB / 3.907 GB, free: 75.35 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006476/8.944, allocations: 1.219 kB / 3.907 GB, free: 75.35 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001141/8.944, allocations: 413.6 kB / 3.907 GB, free: 75.04 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005578/8.95, allocations: 4.798 MB / 3.912 GB, free: 75.03 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/8.956, allocations: 5.021 MB / 3.917 GB, free: 74.84 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/8.967, allocations: 4.051 MB / 3.921 GB, free: 74.83 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/8.967, allocations: 1.094 kB / 3.921 GB, free: 74.83 MB / 0.5265 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.08103/9.048, allocations: 28.64 MB / 3.949 GB, free: 73.61 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.000347/9.048, allocations: 1.315 MB / 3.95 GB, free: 72.22 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/9.048, allocations: 11.42 kB / 3.95 GB, free: 72.21 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.125/9.173, allocations: 50.26 MB / 3.999 GB, free: 63.34 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/9.175, allocations: 317.3 kB / 4 GB, free: 63.11 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03452/9.209, allocations: 16.43 MB / 4.016 GB, free: 49.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/9.22, allocations: 1.981 MB / 4.018 GB, free: 47.86 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/9.222, allocations: 316.7 kB / 4.018 GB, free: 47.7 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/9.222, allocations: 4 kB / 4.018 GB, free: 47.7 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07946/9.301, allocations: 28.36 MB / 4.046 GB, free: 25.29 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/9.302, allocations: 0 / 4.046 GB, free: 25.29 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4531/9.755, allocations: 51.61 MB / 4.096 GB, free: 78.45 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/9.756, allocations: 311.3 kB / 4.096 GB, free: 78.45 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03705/9.793, allocations: 16.43 MB / 4.112 GB, free: 77.9 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/9.805, allocations: 1.975 MB / 4.114 GB, free: 77.9 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/9.807, allocations: 309.2 kB / 4.115 GB, free: 77.9 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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 89} Notification: Performance of prepare postOptimizeDAE: time 0.001576/9.808, allocations: 135.3 kB / 4.115 GB, free: 77.8 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02139/9.83, allocations: 10.19 MB / 4.125 GB, free: 77.73 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/9.831, allocations: 108.5 kB / 4.125 GB, free: 77.73 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03173/9.862, allocations: 28.33 MB / 4.152 GB, free: 72.35 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03125/9.894, allocations: 26.78 MB / 4.179 GB, free: 61.03 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/9.894, allocations: 7.766 kB / 4.179 GB, free: 61.03 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-05/9.894, allocations: 10.92 kB / 4.179 GB, free: 61.03 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04815/9.942, allocations: 47.77 MB / 4.225 GB, free: 30.37 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/9.942, allocations: 4 kB / 4.225 GB, free: 30.37 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01138/9.953, allocations: 2.471 MB / 4.228 GB, free: 28.8 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003972/9.957, allocations: 1.109 MB / 4.229 GB, free: 28.11 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009316/9.958, allocations: 182.1 kB / 4.229 GB, free: 28.05 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008096/9.967, allocations: 5.901 MB / 4.235 GB, free: 22.98 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/9.967, allocations: 11.59 kB / 4.235 GB, free: 22.98 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02312/9.99, allocations: 15.3 MB / 4.25 GB, free: 9.461 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/9.992, allocations: 1.224 MB / 4.251 GB, free: 8.578 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/9.993, allocations: 23.55 kB / 4.251 GB, free: 8.562 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009554/10, allocations: 1.942 MB / 4.253 GB, free: 7.246 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/10, allocations: 326.8 kB / 4.253 GB, free: 7.156 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001163/10.01, allocations: 200.6 kB / 4.253 GB, free: 7.07 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0004468/10.01, allocations: 301.7 kB / 4.253 GB, free: 6.797 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.71e-07/10.01, allocations: 0 / 4.253 GB, free: 6.797 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0114/10.02, allocations: 2.532 MB / 4.256 GB, free: 4.41 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (Mbal,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: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.3646/10.38, allocations: 18.56 MB / 4.274 GB, free: 91.79 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02739/10.41, allocations: 16.77 MB / 4.29 GB, free: 91.65 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/10.41, allocations: 3.062 kB / 4.29 GB, free: 91.65 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.008115/10.42, allocations: 5.906 MB / 4.296 GB, free: 91.52 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/10.42, allocations: 396.7 kB / 4.297 GB, free: 91.52 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/10.44, allocations: 8.671 MB / 4.305 GB, free: 90.63 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/10.44, allocations: 1.647 MB / 4.307 GB, free: 89.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.005527/10.45, allocations: 2.457 MB / 4.309 GB, free: 89.87 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003531/10.45, allocations: 0.9861 MB / 4.31 GB, free: 89.87 MB / 0.5421 GB Notification: Performance of SimCode: time 7.51e-07/10.45, allocations: 0 / 4.31 GB, free: 89.87 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6381/11.09, allocations: 263 MB / 4.567 GB, free: 78.48 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/11.09, allocations: 167.6 kB / 4.567 GB, free: 78.28 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.251/20.34, allocations: 4 kB / 4.567 GB, free: 78.27 MB / 0.5421 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1)