Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007524/0.0007525, allocations: 92.69 kB / 16.65 MB, free: 6.59 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.000827/0.0008273, allocations: 185 kB / 17.57 MB, free: 6.199 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.385/1.385, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2888/0.2888, allocations: 48.79 MB / 320.8 MB, free: 11.11 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.0005237/0.0005238, allocations: 14.91 kB / 391.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09354, allocations: 60.26 MB / 452.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast): time 0.05661/0.1502, allocations: 53.44 MB / 0.4937 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.1533, allocations: 1.371 MB / 0.495 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.1543, allocations: 11.94 kB / 0.495 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.1552, allocations: 218.7 kB / 0.4952 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1565, allocations: 449.8 kB / 0.4957 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.1587, allocations: 0.728 MB / 0.4964 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003683/0.1624, allocations: 3.905 MB / 0.5002 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.1642, allocations: 1.225 MB / 0.5014 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.1659, allocations: 0.9623 MB / 0.5023 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.1682, allocations: 1.512 MB / 0.5038 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005451/0.1688, allocations: 135.9 kB / 0.5039 GB, free: 9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2822/0.451, allocations: 29.38 MB / 0.5326 GB, free: 30.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.4528, allocations: 1.11 MB / 0.5337 GB, free: 30.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003094/0.4559, allocations: 1.375 MB / 0.535 GB, free: 30.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004557/0.4605, allocations: 3.274 MB / 0.5382 GB, free: 30.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4606, allocations: 0 / 0.5382 GB, free: 30.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4606, allocations: 1.031 kB / 0.5382 GB, free: 30.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001022/0.4607, allocations: 0 / 0.5382 GB, free: 30.7 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01126/0.4719, allocations: 3.697 MB / 0.5418 GB, free: 29.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.472, allocations: 9.406 kB / 0.5419 GB, free: 29.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.4732, allocations: 250.1 kB / 0.5421 GB, free: 29.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.4774, allocations: 1.465 MB / 0.5435 GB, free: 29.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.4776, allocations: 176.8 kB / 0.5437 GB, free: 29.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.4781, allocations: 267 kB / 0.5439 GB, free: 29.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006635/0.4847, allocations: 3.889 MB / 0.5477 GB, free: 28.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.4848, allocations: 0 / 0.5477 GB, free: 28.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/0.4851, allocations: 92.03 kB / 0.5478 GB, free: 28.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/0.4853, allocations: 154.8 kB / 0.548 GB, free: 28.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008737/0.494, allocations: 5.629 MB / 0.5535 GB, free: 28.8 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.01916/0.5132, allocations: 16.44 MB / 0.5695 GB, free: 19.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008454/0.5217, allocations: 4.837 MB / 0.5743 GB, free: 17.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.5245, allocations: 1.981 MB / 0.5762 GB, free: 16.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.5387, allocations: 9.584 MB / 0.5856 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.5388, allocations: 56.56 kB / 0.5856 GB, free: 8.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=234): time 5.601e-06/0.5388, allocations: 0 / 0.5856 GB, free: 8.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=234): time 0.02583/0.5646, allocations: 9.142 MB / 0.5945 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.5648, allocations: 73.41 kB / 0.5946 GB, free: 15.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.5662, allocations: 0.8051 MB / 0.5954 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006391/0.5669, allocations: 65.7 kB / 0.5955 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/0.5676, allocations: 0.8401 MB / 0.5963 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/0.5691, allocations: 0.8375 MB / 0.5971 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008646/0.57, allocations: 223.1 kB / 0.5973 GB, free: 12.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5701, allocations: 345.9 kB / 0.5976 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.5732, allocations: 1.418 MB / 0.599 GB, free: 10.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/0.5766, allocations: 2.062 MB / 0.601 GB, free: 8.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006656/0.5832, allocations: 3.69 MB / 0.6046 GB, free: 4.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/0.5833, allocations: 4 kB / 0.6046 GB, free: 4.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.0106/0.5939, allocations: 4.573 MB / 0.6091 GB, free: 76 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000451/0.5944, allocations: 0.6238 MB / 0.6097 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.5944, allocations: 20 kB / 0.6097 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/0.5994, allocations: 1.284 MB / 0.611 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.602, allocations: 479.5 kB / 0.6114 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009068/0.6111, allocations: 11.62 MB / 0.6228 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.6145, allocations: 381.2 kB / 0.6232 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008448/0.6154, allocations: 120 kB / 0.6233 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6154, allocations: 4 kB / 0.6233 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/0.626, allocations: 4.367 MB / 0.6275 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.998e-05/0.6261, allocations: 20 kB / 0.6276 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/0.631, allocations: 1.283 MB / 0.6288 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.6336, allocations: 480.3 kB / 0.6293 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009226/0.6428, allocations: 11.63 MB / 0.6406 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.6461, allocations: 341.8 kB / 0.641 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006609/0.6468, allocations: 127.8 kB / 0.6411 GB, free: 14.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 19 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002144/0.649, allocations: 0.7339 MB / 0.6418 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/0.6497, allocations: 150.3 kB / 0.6419 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.6631, allocations: 5.558 MB / 0.6474 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.6632, allocations: 24 kB / 0.6474 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.168e-05/0.6632, allocations: 12 kB / 0.6474 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.239e-05/0.6633, allocations: 7.969 kB / 0.6474 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.6682, allocations: 2.489 MB / 0.6498 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.6683, allocations: 4 kB / 0.6498 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.6698, allocations: 323.2 kB / 0.6501 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009649/0.6795, allocations: 2.699 MB / 0.6528 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007613/0.6803, allocations: 95.84 kB / 0.6529 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/0.7039, allocations: 11.84 MB / 0.6644 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7039, allocations: 3.984 kB / 0.6644 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.7199, allocations: 7.214 MB / 0.6715 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.7215, allocations: 0.5455 MB / 0.672 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/0.722, allocations: 63.92 kB / 0.6721 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/0.7243, allocations: 191.5 kB / 0.6723 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007179/0.7251, allocations: 178.3 kB / 0.6724 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/0.7253, allocations: 83.92 kB / 0.6725 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007692/0.7261, allocations: 0.5263 MB / 0.673 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7261, allocations: 0 / 0.673 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006349/0.7325, allocations: 1.59 MB / 0.6746 GB, free: 11.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,39,57.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/0.7331, allocations: 224.5 kB / 0.6748 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01916/0.7523, allocations: 7.049 MB / 0.6817 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7523, allocations: 4.125 kB / 0.6817 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006719/0.759, allocations: 2.713 MB / 0.6843 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005638/0.7647, allocations: 0.8968 MB / 0.6852 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.777, allocations: 7.07 MB / 0.6921 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.7789, allocations: 1.647 MB / 0.6937 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00488/0.7838, allocations: 1.312 MB / 0.695 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008609/0.7847, allocations: 163.4 kB / 0.6952 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.7847, allocations: 0 / 0.6952 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of Templates: time 0.2962/1.081, allocations: 55.5 MB / 0.7494 GB, free: 214.3 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1) Environment - environmentSimulation: