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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 91.84 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001239, allocations: 187.2 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 223.4 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3637/0.3637, allocations: 48.77 MB / 320.4 MB, free: 3.816 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004783, allocations: 12 kB / 391.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 60.26 MB / 451.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen): time 0.2012/0.3022, allocations: 30.77 MB / 482.2 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3176, allocations: 14.19 MB / 496.4 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.3185, allocations: 16.19 kB / 496.4 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.3191, allocations: 206.4 kB / 496.6 MB, free: 21.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.3205, allocations: 475.2 kB / 497 MB, free: 21.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01724/0.3377, allocations: 5.124 MB / 0.4904 GB, free: 18.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.3429, allocations: 4.521 MB / 0.4948 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.3465, allocations: 2.528 MB / 0.4973 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.3508, allocations: 2.279 MB / 0.4995 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.356, allocations: 3.017 MB / 0.5025 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.3579, allocations: 344.2 kB / 0.5028 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.3751, allocations: 7.167 MB / 0.5098 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.3779, allocations: 1.427 MB / 0.5112 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.38, allocations: 396.8 kB / 0.5116 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3911, allocations: 6.334 MB / 0.5177 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3912, allocations: 0 / 0.5177 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.3912, allocations: 0 / 0.5177 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.276e-05/0.3913, allocations: 3.938 kB / 0.5177 GB, free: 14.58 MB / 398.1 MB 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.03603/0.4273, allocations: 8.652 MB / 0.5262 GB, free: 5.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4274, allocations: 12.02 kB / 0.5262 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.4414, allocations: 2.289 MB / 0.5284 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.4474, allocations: 1.952 MB / 0.5303 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002443/0.4498, allocations: 0.8605 MB / 0.5312 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/0.4516, allocations: 191.8 kB / 0.5314 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03636/0.488, allocations: 13.49 MB / 0.5445 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.488, allocations: 0 / 0.5445 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008032/0.4889, allocations: 75.95 kB / 0.5446 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.928e-05/0.4889, allocations: 75.34 kB / 0.5447 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06056/0.5495, allocations: 24.04 MB / 0.5682 GB, free: 10.69 MB / 446.1 MB 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.07214/0.6217, allocations: 48.6 MB / 0.6156 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03157/0.6533, allocations: 11.88 MB / 0.6272 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3506/1.004, allocations: 88.93 MB / 0.7141 GB, free: 70.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/1.004, allocations: 56 kB / 0.7141 GB, free: 70.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=225): time 4.389e-06/1.004, allocations: 0 / 0.7141 GB, free: 70.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=226): time 0.1251/1.129, allocations: 48.68 MB / 0.7617 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/1.129, allocations: 99.11 kB / 0.7618 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/1.13, allocations: 0.6639 MB / 0.7624 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001652/1.132, allocations: 64.27 kB / 0.7625 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/1.132, allocations: 0.5492 MB / 0.763 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.133, allocations: 0.7857 MB / 0.7638 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006137/1.134, allocations: 47.39 kB / 0.7638 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.134, allocations: 439.3 kB / 0.7642 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01977/1.154, allocations: 9.278 MB / 0.7733 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02022/1.174, allocations: 9.681 MB / 0.7827 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/1.193, allocations: 8.268 MB / 0.7908 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/1.193, allocations: 3.953 kB / 0.7908 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.07582/1.269, allocations: 28.38 MB / 0.8185 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001366/1.27, allocations: 4.1 MB / 0.8225 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.27, allocations: 8 kB / 0.8225 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4427/1.713, allocations: 77.37 MB / 0.8981 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/1.714, allocations: 230 kB / 0.8983 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06498/1.779, allocations: 28.89 MB / 0.9265 GB, free: 151 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.79, allocations: 2.157 MB / 0.9286 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.791, allocations: 359.4 kB / 0.929 GB, free: 148.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.791, allocations: 4 kB / 0.929 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06286/1.854, allocations: 28.11 MB / 0.9564 GB, free: 120.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.854, allocations: 12 kB / 0.9565 GB, free: 120.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4192/2.273, allocations: 77.12 MB / 1.032 GB, free: 201.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/2.274, allocations: 236.4 kB / 1.032 GB, free: 201.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07269/2.347, allocations: 28.66 MB / 1.06 GB, free: 196.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/2.358, allocations: 2.156 MB / 1.062 GB, free: 196.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001571/2.36, allocations: 360.1 kB / 1.062 GB, free: 196.4 MB / 0.545 GB 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 () * Number of clocked 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.002074/2.362, allocations: 0.5634 MB / 1.063 GB, free: 196 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008022/2.363, allocations: 134.2 kB / 1.063 GB, free: 196 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05516/2.418, allocations: 35.11 MB / 1.097 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05179/2.47, allocations: 33.3 MB / 1.13 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/2.47, allocations: 8 kB / 1.13 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-05/2.47, allocations: 11.95 kB / 1.13 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07187/2.542, allocations: 54.85 MB / 1.183 GB, free: 77.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/2.542, allocations: 4 kB / 1.183 GB, free: 77.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01233/2.554, allocations: 2.821 MB / 1.186 GB, free: 74.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00456/2.559, allocations: 1.407 MB / 1.188 GB, free: 73.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001477/2.56, allocations: 236.9 kB / 1.188 GB, free: 73.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/2.577, allocations: 27.01 MB / 1.214 GB, free: 43.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.577, allocations: 3.938 kB / 1.214 GB, free: 43.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2833/2.86, allocations: 29.42 MB / 1.243 GB, free: 194.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004144/2.865, allocations: 1.504 MB / 1.244 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009889/2.866, allocations: 57.97 kB / 1.244 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/2.876, allocations: 2.135 MB / 1.247 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/2.877, allocations: 376.1 kB / 1.247 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007534/2.878, allocations: 235.3 kB / 1.247 GB, free: 193.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005465/2.878, allocations: 450.7 kB / 1.248 GB, free: 193.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/2.878, allocations: 3.656 kB / 1.248 GB, free: 193.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008473/2.887, allocations: 2.968 MB / 1.25 GB, free: 193.2 MB / 0.545 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: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.region3boundary,$cse7.region3boundary,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.004591/2.891, allocations: 1.228 MB / 1.252 GB, free: 193 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.06964/2.961, allocations: 31.34 MB / 1.282 GB, free: 176.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/2.961, allocations: 4.062 kB / 1.282 GB, free: 176.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.02553/2.987, allocations: 12.48 MB / 1.294 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/2.99, allocations: 0.51 MB / 1.295 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/3.025, allocations: 16.66 MB / 1.311 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008943/3.026, allocations: 1.695 MB / 1.313 GB, free: 145.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005919/3.032, allocations: 2.645 MB / 1.315 GB, free: 142.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003123/3.035, allocations: 470.6 kB / 1.316 GB, free: 142.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/3.035, allocations: 0 / 1.316 GB, free: 142.1 MB / 0.545 GB Notification: Performance of Templates: time 0.4419/3.477, allocations: 289.2 MB / 1.598 GB, free: 35.71 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.makefile Environment - environmentSimulation: (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1) Environment - environmentSimulation: