Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.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.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",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.001759/0.001759, allocations: 176.4 kB / 8.346 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.507/1.507, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001006/0.001006, allocations: 79.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5347/0.5347, allocations: 48.78 MB / 358.8 MB, free: 53.2 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.484e-05, allocations: 4 kB / 425.4 MB, free: 8.117 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 60.26 MB / 485.7 MB, free: 11.71 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.089/7.218, allocations: 3.017 GB / 3.491 GB, free: 52.11 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/7.218, allocations: 77.66 kB / 3.491 GB, free: 52.04 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.482/8.7, allocations: 324.4 MB / 3.808 GB, free: 60.45 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.105e-06/8.7, allocations: 0 / 3.808 GB, free: 60.45 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001802/8.7, allocations: 35.31 kB / 3.808 GB, free: 60.45 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.03429/8.734, allocations: 6.646 MB / 3.814 GB, free: 59.45 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/8.734, allocations: 8.562 kB / 3.814 GB, free: 59.45 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/8.75, allocations: 2.219 MB / 3.817 GB, free: 59.36 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/8.763, allocations: 3.048 MB / 3.819 GB, free: 59.05 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003368/8.766, allocations: 0.779 MB / 3.82 GB, free: 58.86 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003984/8.77, allocations: 116.6 kB / 3.82 GB, free: 58.85 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03826/8.808, allocations: 14.02 MB / 3.834 GB, free: 58.84 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/8.831, allocations: 7.379 MB / 3.841 GB, free: 58.52 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/8.831, allocations: 1.688 kB / 3.841 GB, free: 58.52 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003739/8.835, allocations: 7.25 kB / 3.841 GB, free: 58.52 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/8.835, allocations: 44.06 kB / 3.841 GB, free: 58.52 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.08757/8.922, allocations: 47.21 MB / 3.887 GB, free: 31.88 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/8.937, allocations: 6.801 MB / 3.894 GB, free: 30.46 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009673/8.947, allocations: 5.193 MB / 3.899 GB, free: 28.12 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6088/9.556, allocations: 120.3 MB / 4.017 GB, free: 28.84 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/9.558, allocations: 59.47 kB / 4.017 GB, free: 44.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=223): time 9.087e-06/9.558, allocations: 0 / 4.017 GB, free: 44.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=224): time 0.08072/9.638, allocations: 25 MB / 4.041 GB, free: 44.11 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/9.638, allocations: 111 kB / 4.041 GB, free: 44.01 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/9.639, allocations: 0.52 MB / 4.042 GB, free: 43.89 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.002467/9.642, allocations: 27.39 kB / 4.042 GB, free: 43.86 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/9.642, allocations: 0.5614 MB / 4.042 GB, free: 43.61 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/9.644, allocations: 0.7512 MB / 4.043 GB, free: 43.21 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/9.645, allocations: 0 / 4.043 GB, free: 43.21 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002232/9.645, allocations: 440.8 kB / 4.043 GB, free: 42.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006633/9.652, allocations: 5.35 MB / 4.049 GB, free: 42.89 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007596/9.659, allocations: 5.78 MB / 4.054 GB, free: 42.42 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/9.678, allocations: 5.995 MB / 4.06 GB, free: 42.38 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/9.678, allocations: 2.734 kB / 4.06 GB, free: 42.38 MB / 0.5421 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.05545/9.733, allocations: 22.01 MB / 4.082 GB, free: 39.91 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.001474/9.735, allocations: 4.11 MB / 4.086 GB, free: 35.54 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/9.735, allocations: 7.75 kB / 4.086 GB, free: 35.54 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1156/9.85, allocations: 46.1 MB / 4.131 GB, free: 11.14 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/9.851, allocations: 225.7 kB / 4.131 GB, free: 10.97 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4465/10.3, allocations: 22.22 MB / 4.153 GB, free: 87.58 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/10.31, allocations: 2.118 MB / 4.155 GB, free: 87.58 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003312/10.32, allocations: 356.9 kB / 4.155 GB, free: 87.58 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/10.32, allocations: 2.812 kB / 4.155 GB, free: 87.58 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07105/10.39, allocations: 23.52 MB / 4.178 GB, free: 87.54 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.648e-05/10.39, allocations: 11.59 kB / 4.178 GB, free: 87.54 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1235/10.51, allocations: 45.91 MB / 4.223 GB, free: 86.33 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/10.51, allocations: 233.9 kB / 4.223 GB, free: 86.33 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05956/10.57, allocations: 21.17 MB / 4.244 GB, free: 85.74 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/10.58, allocations: 2.119 MB / 4.246 GB, free: 85.63 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003194/10.59, allocations: 353.6 kB / 4.246 GB, free: 85.63 MB / 0.5421 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[2]:VARIABLE(flow=true unit = "W/m2" ) "Heat flux at the nodes" type: Real [8] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {9 181} Notification: Performance of prepare postOptimizeDAE: time 0.005294/10.59, allocations: 150.1 kB / 4.246 GB, free: 85.52 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0412/10.63, allocations: 12.85 MB / 4.259 GB, free: 81.53 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003237/10.64, allocations: 128.5 kB / 4.259 GB, free: 81.53 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04938/10.69, allocations: 27.39 MB / 4.286 GB, free: 62.57 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04457/10.73, allocations: 25.76 MB / 4.311 GB, free: 40.18 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-05/10.73, allocations: 8 kB / 4.311 GB, free: 40.17 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/10.73, allocations: 14.64 kB / 4.311 GB, free: 40.17 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4983/11.23, allocations: 46.1 MB / 4.356 GB, free: 88.29 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/11.23, allocations: 6.844 kB / 4.356 GB, free: 88.29 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01449/11.24, allocations: 2.735 MB / 4.359 GB, free: 88.29 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/11.25, allocations: 1.344 MB / 4.36 GB, free: 88.16 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003003/11.25, allocations: 213 kB / 4.36 GB, free: 88.16 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/11.27, allocations: 25.52 MB / 4.385 GB, free: 67.96 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/11.27, allocations: 0 / 4.385 GB, free: 67.96 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05536/11.33, allocations: 18.5 MB / 4.403 GB, free: 67.43 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007712/11.33, allocations: 1.5 MB / 4.405 GB, free: 67.24 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004172/11.34, allocations: 20.38 kB / 4.405 GB, free: 67.24 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01475/11.35, allocations: 2.09 MB / 4.407 GB, free: 67.23 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0038/11.36, allocations: 371.6 kB / 4.407 GB, free: 67.23 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004044/11.36, allocations: 243.1 kB / 4.407 GB, free: 67.23 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.001236/11.36, allocations: 398.7 kB / 4.408 GB, free: 67.14 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.6e-07/11.36, allocations: 0.6562 kB / 4.408 GB, free: 67.14 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.02489/11.39, allocations: 2.925 MB / 4.41 GB, free: 67.14 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 20 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 171 * 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: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(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,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07035/11.46, allocations: 20.62 MB / 4.431 GB, free: 64.23 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0489/11.51, allocations: 19.64 MB / 4.45 GB, free: 56.52 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/11.51, allocations: 4.875 kB / 4.45 GB, free: 56.52 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01962/11.53, allocations: 8.301 MB / 4.458 GB, free: 51.99 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/11.53, allocations: 457 kB / 4.458 GB, free: 51.91 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03404/11.57, allocations: 9.238 MB / 4.467 GB, free: 49.23 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/11.57, allocations: 1.646 MB / 4.469 GB, free: 48.43 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.01108/11.58, allocations: 2.662 MB / 4.471 GB, free: 48.39 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00891/11.59, allocations: 1.07 MB / 4.473 GB, free: 47.8 MB / 0.5421 GB Notification: Performance of SimCode: time 1.763e-06/11.59, allocations: 0 / 4.473 GB, free: 47.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.103/12.69, allocations: 290.7 MB / 4.756 GB, free: 80.37 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/12.69, allocations: 157.7 kB / 4.757 GB, free: 80.18 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.52/22.21, allocations: 6.047 kB / 4.757 GB, free: 80.18 MB / 0.5577 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1)