Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.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_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, 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.001298/0.001298, allocations: 183.4 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.51/1.51, allocations: 205.4 MB / 223.3 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.2986/0.2986, allocations: 48.77 MB / 320.4 MB, free: 11.33 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.0005125/0.0005126, allocations: 14.64 kB / 391.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 60.27 MB / 451.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B): time 0.04405/0.1526, allocations: 43.67 MB / 495.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.1707, allocations: 13.43 MB / 0.4966 GB, free: 372 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.1716, allocations: 15.88 kB / 0.4966 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1726, allocations: 278.7 kB / 0.4969 GB, free: 76 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.183, allocations: 3.499 MB / 0.5003 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.1866, allocations: 1.208 MB / 0.5015 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.1886, allocations: 1.634 MB / 0.5031 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1897, allocations: 0.7854 MB / 0.5038 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008469/0.1906, allocations: 0.7013 MB / 0.5045 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.1916, allocations: 0.8297 MB / 0.5053 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.1918, allocations: 84 kB / 0.5054 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/0.2036, allocations: 6.294 MB / 0.5115 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.2041, allocations: 0.5728 MB / 0.5121 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.2046, allocations: 356.9 kB / 0.5124 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00559/0.2103, allocations: 3.863 MB / 0.5162 GB, free: 12.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2103, allocations: 0 / 0.5162 GB, free: 12.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.2103, allocations: 0 / 0.5162 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.2103, allocations: 3.938 kB / 0.5162 GB, free: 12.19 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.007405/0.2177, allocations: 2.615 MB / 0.5188 GB, free: 9.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2178, allocations: 12.02 kB / 0.5188 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.2204, allocations: 465.7 kB / 0.5192 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.2231, allocations: 1.045 MB / 0.5203 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2233, allocations: 119.1 kB / 0.5204 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.2236, allocations: 175.8 kB / 0.5205 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.2341, allocations: 4.547 MB / 0.525 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.2341, allocations: 0 / 0.525 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.2343, allocations: 67.98 kB / 0.525 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.89e-05/0.2344, allocations: 83.25 kB / 0.5251 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2074/0.4418, allocations: 4.914 MB / 0.5299 GB, free: 62.64 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.01366/0.4555, allocations: 10.26 MB / 0.5399 GB, free: 57.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/0.4635, allocations: 3.478 MB / 0.5433 GB, free: 57.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1356/0.5992, allocations: 80.76 MB / 0.6222 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.5e-05/0.5993, allocations: 54.38 kB / 0.6223 GB, free: 15.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 4.078e-06/0.5993, allocations: 0 / 0.6223 GB, free: 15.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=158): time 0.02031/0.6196, allocations: 6.636 MB / 0.6287 GB, free: 10.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.6197, allocations: 66.59 kB / 0.6288 GB, free: 10.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.6205, allocations: 0.5634 MB / 0.6294 GB, free: 9.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.6208, allocations: 56.02 kB / 0.6294 GB, free: 9.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.6212, allocations: 0.5027 MB / 0.6299 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/0.622, allocations: 0.5608 MB / 0.6304 GB, free: 8.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.6222, allocations: 24.12 kB / 0.6305 GB, free: 8.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6224, allocations: 413.6 kB / 0.6309 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.6247, allocations: 1.483 MB / 0.6323 GB, free: 7.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.6272, allocations: 1.688 MB / 0.634 GB, free: 5.469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.6297, allocations: 1.568 MB / 0.6355 GB, free: 3.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6297, allocations: 0 / 0.6355 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009231/0.639, allocations: 5.25 MB / 0.6406 GB, free: 14.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000572/0.6396, allocations: 1.401 MB / 0.642 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6396, allocations: 4 kB / 0.642 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/0.6515, allocations: 4.762 MB / 0.6466 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.6521, allocations: 126.1 kB / 0.6468 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.6625, allocations: 5.617 MB / 0.6522 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.6649, allocations: 273.5 kB / 0.6525 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004926/0.6654, allocations: 183.8 kB / 0.6527 GB, free: 2.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6654, allocations: 4 kB / 0.6527 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009109/0.6745, allocations: 5.11 MB / 0.6577 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.6746, allocations: 4 kB / 0.6577 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.6864, allocations: 4.801 MB / 0.6624 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.687, allocations: 114 kB / 0.6625 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00967/0.6967, allocations: 5.62 MB / 0.668 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.6991, allocations: 263.4 kB / 0.6682 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/0.6995, allocations: 183.8 kB / 0.6684 GB, free: 2.125 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,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,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 (66): * Single equations (assignments): 65 * 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 113} Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.7008, allocations: 0.5195 MB / 0.6689 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.7012, allocations: 108.1 kB / 0.669 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/0.725, allocations: 21.22 MB / 0.6897 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-05/0.7251, allocations: 47.94 kB / 0.6898 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/0.7252, allocations: 8 kB / 0.6898 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/0.7252, allocations: 7.969 kB / 0.6898 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.7356, allocations: 9.584 MB / 0.6991 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.7357, allocations: 2.188 kB / 0.6991 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.7377, allocations: 357.3 kB / 0.6995 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003798/0.7416, allocations: 0.9871 MB / 0.7004 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003687/0.742, allocations: 59.92 kB / 0.7005 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009142/0.7511, allocations: 5.913 MB / 0.7063 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7511, allocations: 3.844 kB / 0.7063 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.7624, allocations: 6.25 MB / 0.7124 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.7638, allocations: 490.1 kB / 0.7129 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.764, allocations: 43.98 kB / 0.7129 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.7657, allocations: 159.6 kB / 0.713 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/0.7661, allocations: 125.8 kB / 0.7132 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.7662, allocations: 65.33 kB / 0.7132 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005073/0.7667, allocations: 396.9 kB / 0.7136 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7668, allocations: 0 / 0.7136 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005292/0.7721, allocations: 1.867 MB / 0.7154 GB, free: 1.305 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * 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.004/0.7761, allocations: 1.019 MB / 0.7164 GB, free: 452 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2194/0.9955, allocations: 5.901 MB / 0.7222 GB, free: 192.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.9956, allocations: 0 / 0.7222 GB, free: 192.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004236/0.9998, allocations: 2.271 MB / 0.7244 GB, free: 191.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/1.003, allocations: 0.5308 MB / 0.7249 GB, free: 191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008772/1.012, allocations: 6.096 MB / 0.7309 GB, free: 188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.013, allocations: 1.562 MB / 0.7324 GB, free: 187.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00176/1.015, allocations: 0.5048 MB / 0.7329 GB, free: 187.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/1.015, allocations: 116 kB / 0.733 GB, free: 187.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/1.015, allocations: 4 kB / 0.733 GB, free: 187.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.1185/1.134, allocations: 115.2 MB / 0.8455 GB, free: 79.77 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1) Environment - environmentSimulation: