Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.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,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",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.00222/0.00222, allocations: 174.5 kB / 13.63 MB, free: 1.684 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.792/1.792, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009435/0.0009435, allocations: 78.72 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.337/0.337, allocations: 48.79 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.581e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 60.25 MB / 492.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.052/8.185, allocations: 3.006 GB / 3.487 GB, free: 120 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/8.185, allocations: 81.62 kB / 3.487 GB, free: 120 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.657/9.842, allocations: 396.6 MB / 3.874 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.467e-06/9.842, allocations: 0 / 3.874 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001304/9.842, allocations: 66.08 kB / 3.875 GB, free: 54.87 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.05679/9.899, allocations: 12.05 MB / 3.886 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/9.899, allocations: 13.25 kB / 3.886 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007998/9.907, allocations: 0.585 MB / 3.887 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/9.922, allocations: 1.196 MB / 3.888 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/9.943, allocations: 4.482 MB / 3.892 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01121/9.954, allocations: 3.116 MB / 3.895 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007348/9.962, allocations: 349.2 kB / 3.896 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06392/10.03, allocations: 19.18 MB / 3.915 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/10.03, allocations: 3.469 kB / 3.915 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009254/10.04, allocations: 133.7 kB / 3.915 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/10.04, allocations: 172.6 kB / 3.915 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08127/10.12, allocations: 31.7 MB / 3.946 GB, free: 41.82 MB / 0.5105 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.1571/10.27, allocations: 74.55 MB / 4.019 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4453/10.72, allocations: 15.99 MB / 4.034 GB, free: 82.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02423/10.74, allocations: 11.21 MB / 4.045 GB, free: 82.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2185/10.96, allocations: 125 MB / 4.167 GB, free: 39.42 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/10.96, allocations: 79.45 kB / 4.167 GB, free: 39.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 6.863e-06/10.96, allocations: 3.688 kB / 4.167 GB, free: 39.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=483): time 0.1633/11.13, allocations: 48.85 MB / 4.215 GB, free: 15.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/11.13, allocations: 128.8 kB / 4.215 GB, free: 15.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/11.13, allocations: 0.6106 MB / 4.216 GB, free: 15.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.005443/11.13, allocations: 110.3 kB / 4.216 GB, free: 15.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/11.13, allocations: 0.7392 MB / 4.217 GB, free: 14.58 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006613/11.14, allocations: 1.662 MB / 4.218 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004943/11.14, allocations: 80 kB / 4.218 GB, free: 13.12 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006918/11.14, allocations: 0.5253 MB / 4.219 GB, free: 12.65 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02297/11.17, allocations: 11.31 MB / 4.23 GB, free: 2.621 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3473/11.52, allocations: 14.6 MB / 4.244 GB, free: 111.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01742/11.53, allocations: 7.908 MB / 4.252 GB, free: 111.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/11.53, allocations: 0 / 4.252 GB, free: 111.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1249/11.66, allocations: 43.04 MB / 4.294 GB, free: 109.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004394/11.66, allocations: 1.941 MB / 4.296 GB, free: 107.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/11.66, allocations: 7.062 kB / 4.296 GB, free: 107.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3418/12, allocations: 113.5 MB / 4.407 GB, free: 67.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/12, allocations: 0.9196 MB / 4.407 GB, free: 66.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3709/12.37, allocations: 39.98 MB / 4.446 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02729/12.4, allocations: 5.47 MB / 4.452 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004716/12.41, allocations: 0.7068 MB / 4.453 GB, free: 108.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/12.41, allocations: 3.312 kB / 4.453 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0803/12.49, allocations: 37.17 MB / 4.489 GB, free: 107.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/12.49, allocations: 7.312 kB / 4.489 GB, free: 107.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3345/12.82, allocations: 112.4 MB / 4.599 GB, free: 73.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/12.82, allocations: 0.9525 MB / 4.599 GB, free: 72.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08883/12.91, allocations: 38.72 MB / 4.637 GB, free: 39.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02648/12.94, allocations: 5.461 MB / 4.643 GB, free: 34.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005164/12.95, allocations: 0.6997 MB / 4.643 GB, free: 33.46 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * 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 {15 367} Notification: Performance of prepare postOptimizeDAE: time 0.008401/12.95, allocations: 306 kB / 4.644 GB, free: 33.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002857/12.96, allocations: 220.1 kB / 4.644 GB, free: 33.06 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4074/13.36, allocations: 58.82 MB / 4.701 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09519/13.46, allocations: 55.24 MB / 4.755 GB, free: 83.61 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-05/13.46, allocations: 14.88 kB / 4.755 GB, free: 83.61 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002395/13.46, allocations: 24.19 kB / 4.755 GB, free: 83.61 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.522/13.98, allocations: 98.48 MB / 4.851 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.405e-05/13.98, allocations: 7.875 kB / 4.851 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02888/14.01, allocations: 6.136 MB / 4.857 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06467/14.08, allocations: 20.99 MB / 4.878 GB, free: 106.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005334/14.08, allocations: 0.5345 MB / 4.878 GB, free: 106.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07367/14.15, allocations: 50.71 MB / 4.928 GB, free: 87.45 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/14.15, allocations: 10.84 kB / 4.928 GB, free: 87.45 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1143/14.27, allocations: 42.91 MB / 4.97 GB, free: 73.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01081/14.28, allocations: 2.956 MB / 4.973 GB, free: 71.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005362/14.29, allocations: 119.2 kB / 4.973 GB, free: 71.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02744/14.31, allocations: 5.411 MB / 4.978 GB, free: 71.73 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006329/14.32, allocations: 0.9304 MB / 4.979 GB, free: 71.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006185/14.33, allocations: 0.5411 MB / 4.98 GB, free: 71.65 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007087/14.33, allocations: 475.7 kB / 4.98 GB, free: 71.43 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/14.33, allocations: 0 / 4.98 GB, free: 71.43 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03043/14.36, allocations: 5.205 MB / 4.985 GB, free: 71.19 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 29 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9],hexFV.htilde[10],hexFV.htilde[11],hexFV.htilde[12],hexFV.htilde[13],hexFV.htilde[14],metalTubeFV.Tvol[1],metalTubeFV.Tvol[2],metalTubeFV.Tvol[3],metalTubeFV.Tvol[4],metalTubeFV.Tvol[5],metalTubeFV.Tvol[6],metalTubeFV.Tvol[7],metalTubeFV.Tvol[8],metalTubeFV.Tvol[9],metalTubeFV.Tvol[10],metalTubeFV.Tvol[11],metalTubeFV.Tvol[12],metalTubeFV.Tvol[13],metalTubeFV.Tvol[14]) * Number of discrete variables: 36 ($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.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(15,59.6%) 28,(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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.1251/14.48, allocations: 47.03 MB / 5.031 GB, free: 36.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.4174/14.9, allocations: 52.18 MB / 5.082 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/14.9, allocations: 3.094 kB / 5.082 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02885/14.93, allocations: 15.55 MB / 5.097 GB, free: 106.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009513/14.94, allocations: 1.088 MB / 5.098 GB, free: 106.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0581/15, allocations: 21.36 MB / 5.119 GB, free: 103.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/15, allocations: 2.508 MB / 5.122 GB, free: 102.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01396/15.01, allocations: 3.312 MB / 5.125 GB, free: 102.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0123/15.02, allocations: 2.005 MB / 5.127 GB, free: 101.2 MB / 0.573 GB Notification: Performance of SimCode: time 9.11e-07/15.02, allocations: 0 / 5.127 GB, free: 101.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.675/16.7, allocations: 0.5752 GB / 5.702 GB, free: 120 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/16.7, allocations: 205.9 kB / 5.702 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/34.2, allocations: 0 / 5.702 GB, free: 119.7 MB / 0.5886 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)