Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000936/0.000936, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0009973/0.0009974, allocations: 184.2 kB / 17.2 MB, free: 6.34 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.268/1.268, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2533/0.2533, allocations: 48.78 MB / 320.4 MB, free: 11.32 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 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.0004949/0.000495, allocations: 17.38 kB / 391.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08663, allocations: 60.26 MB / 451.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB): time 0.03165/0.1183, allocations: 30.73 MB / 482.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.1344, allocations: 13.73 MB / 495.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006332/0.1351, allocations: 15.88 kB / 495.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007565/0.1359, allocations: 207 kB / 496.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.1371, allocations: 462.5 kB / 496.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.1504, allocations: 4.983 MB / 0.4898 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.1546, allocations: 3.896 MB / 0.4936 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.1578, allocations: 2.26 MB / 0.4958 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.1611, allocations: 2.051 MB / 0.4978 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004306/0.1654, allocations: 2.585 MB / 0.5003 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.1668, allocations: 284 kB / 0.5006 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.1807, allocations: 7.031 MB / 0.5074 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.183, allocations: 1.271 MB / 0.5087 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.1843, allocations: 392.8 kB / 0.509 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00849/0.1928, allocations: 5.866 MB / 0.5148 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1929, allocations: 3.938 kB / 0.5148 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1929, allocations: 0 / 0.5148 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.24e-05/0.193, allocations: 0 / 0.5148 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.0328/0.2258, allocations: 8.694 MB / 0.5233 GB, free: 4.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2258, allocations: 12.02 kB / 0.5233 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.2311, allocations: 0.7862 MB / 0.524 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.2364, allocations: 1.746 MB / 0.5258 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002256/0.2387, allocations: 0.8566 MB / 0.5266 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.24, allocations: 191.8 kB / 0.5268 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2211/0.4612, allocations: 12.47 MB / 0.5389 GB, free: 33.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.4612, allocations: 1.531 kB / 0.539 GB, free: 33.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/0.4619, allocations: 71.06 kB / 0.539 GB, free: 33.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/0.462, allocations: 77.27 kB / 0.5391 GB, free: 33.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05169/0.5137, allocations: 21.24 MB / 0.5598 GB, free: 32.71 MB / 414.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.05273/0.5664, allocations: 40.15 MB / 0.599 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03038/0.5968, allocations: 11.16 MB / 0.6099 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1683/0.7652, allocations: 88.86 MB / 0.6967 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/0.7653, allocations: 60.12 kB / 0.6968 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=233): time 3.778e-06/0.7653, allocations: 4 kB / 0.6968 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.3056/1.071, allocations: 45.11 MB / 0.7408 GB, free: 216.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.071, allocations: 106 kB / 0.7409 GB, free: 216.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/1.072, allocations: 0.6706 MB / 0.7416 GB, free: 216 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00143/1.073, allocations: 67.42 kB / 0.7416 GB, free: 215.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/1.074, allocations: 0.5235 MB / 0.7422 GB, free: 215.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.075, allocations: 0.8032 MB / 0.7429 GB, free: 214.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/1.076, allocations: 45.22 kB / 0.743 GB, free: 214.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.076, allocations: 440.1 kB / 0.7434 GB, free: 214.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01968/1.096, allocations: 8.558 MB / 0.7518 GB, free: 212.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01917/1.115, allocations: 8.813 MB / 0.7604 GB, free: 209.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/1.133, allocations: 7.518 MB / 0.7677 GB, free: 203.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.133, allocations: 4 kB / 0.7677 GB, free: 203.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.06249/1.195, allocations: 25.96 MB / 0.7931 GB, free: 177.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/1.196, allocations: 1.488 MB / 0.7945 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.196, allocations: 4 kB / 0.7945 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1399/1.335, allocations: 51.6 MB / 0.8449 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.336, allocations: 191.7 kB / 0.8451 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06005/1.396, allocations: 26.51 MB / 0.871 GB, free: 97.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.407, allocations: 2.158 MB / 0.8731 GB, free: 95.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.409, allocations: 303.5 kB / 0.8734 GB, free: 95.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.409, allocations: 4 kB / 0.8734 GB, free: 95.31 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06308/1.472, allocations: 26.31 MB / 0.8991 GB, free: 68.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/1.472, allocations: 4 kB / 0.8991 GB, free: 68.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.319/1.791, allocations: 50.94 MB / 0.9488 GB, free: 206.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/1.792, allocations: 206 kB / 0.949 GB, free: 206.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0584/1.85, allocations: 26.1 MB / 0.9745 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/1.86, allocations: 2.149 MB / 0.9766 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/1.862, allocations: 301.3 kB / 0.9769 GB, free: 178.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (77): * Single equations (assignments): 76 * 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 196} Notification: Performance of prepare postOptimizeDAE: time 0.001985/1.864, allocations: 0.551 MB / 0.9774 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007621/1.865, allocations: 135.2 kB / 0.9776 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05126/1.916, allocations: 33.48 MB / 1.01 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04793/1.964, allocations: 31.79 MB / 1.041 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.964, allocations: 12 kB / 1.041 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/1.964, allocations: 11.95 kB / 1.041 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0674/2.031, allocations: 50.58 MB / 1.091 GB, free: 60.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/2.031, allocations: 0 / 1.091 GB, free: 60.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01186/2.043, allocations: 2.711 MB / 1.093 GB, free: 57.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006805/2.05, allocations: 1.684 MB / 1.095 GB, free: 56.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001536/2.052, allocations: 188.7 kB / 1.095 GB, free: 55.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2027/2.254, allocations: 27.77 MB / 1.122 GB, free: 198.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.255, allocations: 2.062 kB / 1.122 GB, free: 198.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06861/2.323, allocations: 27.03 MB / 1.149 GB, free: 190.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003878/2.327, allocations: 1.262 MB / 1.15 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/2.329, allocations: 55.98 kB / 1.15 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01024/2.339, allocations: 2.134 MB / 1.152 GB, free: 187.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001862/2.341, allocations: 325.1 kB / 1.152 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001503/2.343, allocations: 191.6 kB / 1.153 GB, free: 186.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006085/2.343, allocations: 475 kB / 1.153 GB, free: 186.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/2.343, allocations: 3.938 kB / 1.153 GB, free: 186.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01011/2.353, allocations: 2.772 MB / 1.156 GB, free: 183.7 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 (203): * Single equations (assignments): 170 * 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: 18 * 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: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005712/2.359, allocations: 1.21 MB / 1.157 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.06763/2.427, allocations: 28.71 MB / 1.185 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.427, allocations: 4 kB / 1.185 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.02361/2.45, allocations: 11.64 MB / 1.196 GB, free: 142.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/2.454, allocations: 0.4997 MB / 1.197 GB, free: 141.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/2.488, allocations: 16.37 MB / 1.213 GB, free: 125.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/2.489, allocations: 1.698 MB / 1.214 GB, free: 123.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005647/2.494, allocations: 2.401 MB / 1.217 GB, free: 121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003506/2.498, allocations: 366.7 kB / 1.217 GB, free: 120.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/2.498, allocations: 0 / 1.217 GB, free: 120.7 MB / 0.545 GB Notification: Performance of Templates: time 0.4318/2.93, allocations: 265.1 MB / 1.476 GB, free: 43.44 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1) Environment - environmentSimulation: