Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.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.TestWaterFlow1DFV_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 90.89 kB / 16.31 MB, free: 6.129 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.00114/0.00114, allocations: 184.1 kB / 17.2 MB, free: 6.012 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.443/1.443, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3019/0.3019, allocations: 48.78 MB / 320.4 MB, free: 11.31 MB / 270.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.000536/0.000536, allocations: 17.28 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 60.27 MB / 451.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB): time 0.04258/0.1743, allocations: 43.72 MB / 495.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.1907, allocations: 12.62 MB / 0.4958 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.1917, allocations: 11.94 kB / 0.4958 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.1928, allocations: 298.6 kB / 0.4961 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.1941, allocations: 362.9 kB / 0.4965 GB, free: 464 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01705/0.2111, allocations: 4.664 MB / 0.501 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.2144, allocations: 1.944 MB / 0.5029 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.2162, allocations: 0.9024 MB / 0.5038 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.2176, allocations: 0.8184 MB / 0.5046 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.2191, allocations: 0.9663 MB / 0.5056 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.2193, allocations: 100 kB / 0.5057 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.2345, allocations: 6.758 MB / 0.5123 GB, free: 264 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.2362, allocations: 0.7053 MB / 0.5129 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.2373, allocations: 416.8 kB / 0.5133 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.25, allocations: 4.486 MB / 0.5177 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2501, allocations: 0 / 0.5177 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.071e-06/0.2501, allocations: 0 / 0.5177 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.2502, allocations: 3.938 kB / 0.5177 GB, free: 10.64 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.01028/0.2605, allocations: 2.863 MB / 0.5205 GB, free: 7.719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2605, allocations: 16.02 kB / 0.5205 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/0.2644, allocations: 0.6418 MB / 0.5212 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.2678, allocations: 1.221 MB / 0.5224 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.268, allocations: 151.8 kB / 0.5225 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003965/0.2684, allocations: 203.8 kB / 0.5227 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.2807, allocations: 5.226 MB / 0.5278 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.2807, allocations: 4 kB / 0.5278 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.281, allocations: 76 kB / 0.5279 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2811, allocations: 95.92 kB / 0.528 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2675/0.5486, allocations: 5.813 MB / 0.5336 GB, free: 61.61 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.01582/0.5645, allocations: 11.7 MB / 0.5451 GB, free: 56.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.5766, allocations: 4.561 MB / 0.5495 GB, free: 56.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1483/0.725, allocations: 81.64 MB / 0.6292 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.7252, allocations: 55.12 kB / 0.6293 GB, free: 9.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 5.55e-06/0.7252, allocations: 0 / 0.6293 GB, free: 9.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=244): time 0.02735/0.7525, allocations: 8.129 MB / 0.6372 GB, free: 1.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.7527, allocations: 81.41 kB / 0.6373 GB, free: 1.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.7537, allocations: 0.5558 MB / 0.6379 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006948/0.7544, allocations: 65.7 kB / 0.6379 GB, free: 452 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.7549, allocations: 0.5044 MB / 0.6384 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.7561, allocations: 0.8389 MB / 0.6392 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.7563, allocations: 44 kB / 0.6393 GB, free: 15.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.7566, allocations: 435 kB / 0.6397 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/0.7598, allocations: 1.85 MB / 0.6415 GB, free: 12.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/0.7633, allocations: 2.089 MB / 0.6435 GB, free: 10.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/0.7667, allocations: 2.011 MB / 0.6455 GB, free: 8.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.7667, allocations: 3.391 kB / 0.6455 GB, free: 8.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01151/0.7782, allocations: 6.495 MB / 0.6518 GB, free: 2.059 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006229/0.7789, allocations: 1.406 MB / 0.6532 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.7789, allocations: 8 kB / 0.6532 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04646/0.8254, allocations: 8.858 MB / 0.6619 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.826, allocations: 101.8 kB / 0.662 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.8396, allocations: 7.539 MB / 0.6693 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.8427, allocations: 308.5 kB / 0.6696 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000569/0.8433, allocations: 207.8 kB / 0.6698 GB, free: 15.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8433, allocations: 6.906 kB / 0.6698 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01156/0.8549, allocations: 6.339 MB / 0.676 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.855, allocations: 4 kB / 0.676 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04503/0.9, allocations: 8.862 MB / 0.6847 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.9006, allocations: 107 kB / 0.6848 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.9147, allocations: 7.536 MB / 0.6921 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.9173, allocations: 290 kB / 0.6924 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/0.9177, allocations: 211.8 kB / 0.6926 GB, free: 8.121 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 202} Notification: Performance of prepare postOptimizeDAE: time 0.00161/0.9193, allocations: 0.6189 MB / 0.6932 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.9199, allocations: 132.5 kB / 0.6934 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/0.9457, allocations: 22.76 MB / 0.7156 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.592e-05/0.9458, allocations: 59.94 kB / 0.7156 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/0.9459, allocations: 15.83 kB / 0.7157 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/0.9459, allocations: 11.95 kB / 0.7157 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.9569, allocations: 10.28 MB / 0.7257 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.957, allocations: 0 / 0.7257 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/0.9597, allocations: 493.4 kB / 0.7262 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/0.9635, allocations: 0.9855 MB / 0.7271 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004934/0.964, allocations: 77.45 kB / 0.7272 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2537/1.218, allocations: 5.91 MB / 0.733 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.218, allocations: 1.594 kB / 0.733 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.231, allocations: 7.769 MB / 0.7406 GB, free: 203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.233, allocations: 0.6259 MB / 0.7412 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/1.234, allocations: 54.86 kB / 0.7412 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.235, allocations: 162.6 kB / 0.7414 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/1.236, allocations: 164.8 kB / 0.7415 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.236, allocations: 84.66 kB / 0.7416 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005645/1.237, allocations: 393.5 kB / 0.742 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.237, allocations: 0 / 0.742 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006704/1.243, allocations: 2.154 MB / 0.7441 GB, free: 202.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * 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: 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.005362/1.249, allocations: 1.191 MB / 0.7453 GB, free: 201.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.263, allocations: 7.378 MB / 0.7525 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.264, allocations: 3.938 kB / 0.7525 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/1.268, allocations: 2.771 MB / 0.7552 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.271, allocations: 0.6424 MB / 0.7558 GB, free: 198 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009563/1.281, allocations: 7.096 MB / 0.7627 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/1.282, allocations: 1.714 MB / 0.7644 GB, free: 192.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002143/1.284, allocations: 0.6407 MB / 0.765 GB, free: 191.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/1.285, allocations: 151.3 kB / 0.7652 GB, free: 191.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.285, allocations: 0 / 0.7652 GB, free: 191.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1848/1.47, allocations: 135.5 MB / 0.8975 GB, free: 55.66 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe 2>&1) Environment - environmentSimulation: