Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 95.89 kB / 16.31 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.00178/0.00178, allocations: 184.6 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.512/1.512, 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.2798/0.2798, 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.0005161/0.0005163, allocations: 17.3 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 60.27 MB / 451.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D): time 0.03318/0.1401, allocations: 33.73 MB / 485.1 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1516, allocations: 8.861 MB / 494 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.1524, allocations: 7.938 kB / 494 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.153, allocations: 187.1 kB / 494.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.1537, allocations: 279.1 kB / 494.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.1656, allocations: 3.931 MB / 498.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.1701, allocations: 3.835 MB / 0.4904 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.1728, allocations: 1.739 MB / 0.4921 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.1752, allocations: 1.498 MB / 0.4936 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/0.1788, allocations: 2.636 MB / 0.4962 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000946/0.1798, allocations: 320 kB / 0.4965 GB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.1917, allocations: 6.31 MB / 0.5026 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.1945, allocations: 1.847 MB / 0.5045 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.1959, allocations: 0.7066 MB / 0.5051 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.206, allocations: 7.29 MB / 0.5123 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.206, allocations: 0 / 0.5123 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2061, allocations: 0 / 0.5123 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001922/0.2063, allocations: 0 / 0.5123 GB, free: 252 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03055/0.2368, allocations: 10.3 MB / 0.5223 GB, free: 5.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2369, allocations: 19.95 kB / 0.5223 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.2418, allocations: 0.7639 MB / 0.5231 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008952/0.2508, allocations: 2.755 MB / 0.5258 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/0.2512, allocations: 386.3 kB / 0.5261 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.2534, allocations: 0.5038 MB / 0.5266 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2189/0.4724, allocations: 11.96 MB / 0.5383 GB, free: 74.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-05/0.4725, allocations: 3.062 kB / 0.5383 GB, free: 74.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008427/0.4733, allocations: 207 kB / 0.5385 GB, free: 74.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.4736, allocations: 221 kB / 0.5387 GB, free: 74.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03806/0.5117, allocations: 14.15 MB / 0.5525 GB, free: 67.84 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.03569/0.5474, allocations: 24.24 MB / 0.5762 GB, free: 46.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009612/0.557, allocations: 4.461 MB / 0.5806 GB, free: 41.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.117/0.6741, allocations: 64.63 MB / 0.6437 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/0.6742, allocations: 60.56 kB / 0.6437 GB, free: 1.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=240): time 4.208e-06/0.6742, allocations: 0.8438 kB / 0.6437 GB, free: 1.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=240): time 0.1041/0.7783, allocations: 23.12 MB / 0.6663 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.7785, allocations: 77.41 kB / 0.6664 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/0.7856, allocations: 3.98 MB / 0.6703 GB, free: 6.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009955/0.7867, allocations: 69.7 kB / 0.6703 GB, free: 6.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002628/0.7893, allocations: 3.128 MB / 0.6734 GB, free: 3.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00239/0.7917, allocations: 0.9843 MB / 0.6744 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.7931, allocations: 172 kB / 0.6745 GB, free: 2.086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000657/0.7938, allocations: 0.7169 MB / 0.6752 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00688/0.8007, allocations: 3.76 MB / 0.6789 GB, free: 13.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/0.8121, allocations: 8.855 MB / 0.6875 GB, free: 2.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009563/0.8217, allocations: 5.391 MB / 0.6928 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/0.8219, allocations: 52 kB / 0.6929 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.03694/0.8589, allocations: 15.19 MB / 0.7077 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.2502/1.109, allocations: 71.3 MB / 0.7773 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000571/1.11, allocations: 181.1 kB / 0.7775 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03778/1.148, allocations: 10.3 MB / 0.7876 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006955/1.155, allocations: 1.743 MB / 0.7893 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/1.172, allocations: 9.065 MB / 0.7981 GB, free: 104.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007269/1.179, allocations: 1.273 MB / 0.7993 GB, free: 104 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/1.181, allocations: 0.6464 MB / 0.8 GB, free: 103.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.181, allocations: 3.75 kB / 0.8 GB, free: 103.9 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02531/1.207, allocations: 14.73 MB / 0.8144 GB, free: 97.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008387/1.208, allocations: 180 kB / 0.8145 GB, free: 97.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03182/1.239, allocations: 10.29 MB / 0.8246 GB, free: 86.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004878/1.244, allocations: 1.731 MB / 0.8263 GB, free: 85.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.258, allocations: 9.059 MB / 0.8351 GB, free: 76.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006868/1.265, allocations: 0.9368 MB / 0.836 GB, free: 75.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/1.267, allocations: 0.6482 MB / 0.8367 GB, free: 74.49 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[12].phase,hex.fluidState[11].phase,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 {13 142} Notification: Performance of prepare postOptimizeDAE: time 0.003791/1.271, allocations: 1.833 MB / 0.8385 GB, free: 72.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008111/1.272, allocations: 351.5 kB / 0.8388 GB, free: 72.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04214/1.314, allocations: 31.18 MB / 0.8693 GB, free: 41.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.95e-05/1.314, allocations: 63.92 kB / 0.8693 GB, free: 40.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.314, allocations: 4 kB / 0.8693 GB, free: 40.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.297e-05/1.314, allocations: 11.95 kB / 0.8693 GB, free: 40.97 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05335/1.367, allocations: 42.66 MB / 0.911 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/1.368, allocations: 4 kB / 0.911 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.37, allocations: 383.2 kB / 0.9114 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02918/1.399, allocations: 7.017 MB / 0.9182 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001371/1.401, allocations: 126.7 kB / 0.9183 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3109/1.712, allocations: 29.88 MB / 0.9475 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.712, allocations: 0 / 0.9475 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03086/1.742, allocations: 13.66 MB / 0.9608 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.745, allocations: 0.8925 MB / 0.9617 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006648/1.746, allocations: 85.22 kB / 0.9618 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.749, allocations: 256.4 kB / 0.962 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/1.75, allocations: 233.1 kB / 0.9623 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/1.75, allocations: 106 kB / 0.9624 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002598/1.753, allocations: 2.319 MB / 0.9646 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.2e-07/1.753, allocations: 0 / 0.9646 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01651/1.769, allocations: 3.248 MB / 0.9678 GB, free: 161.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.006139/1.775, allocations: 1.018 MB / 0.9688 GB, free: 161 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03139/1.807, allocations: 16.13 MB / 0.9846 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.807, allocations: 0 / 0.9846 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/1.817, allocations: 4.26 MB / 0.9887 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/1.821, allocations: 0.6175 MB / 0.9893 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.839, allocations: 13 MB / 1.002 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.842, allocations: 2.772 MB / 1.005 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01153/1.854, allocations: 5.759 MB / 1.01 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.855, allocations: 287.3 kB / 1.011 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.913e-06/1.855, allocations: 0 / 1.011 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.4677/2.323, allocations: 173.7 MB / 1.18 GB, free: 137.3 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1) Environment - environmentSimulation: