Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 107 kB / 17.74 MB, free: 5.312 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.001618/0.001618, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.53/1.53, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3125/0.3125, allocations: 48.85 MB / 320.8 MB, free: 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.001477/0.001477, allocations: 67.91 kB / 451.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1157, allocations: 59.16 MB / 0.4984 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.3038/0.4196, allocations: 40.11 MB / 0.5376 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.4355, allocations: 15.21 MB / 0.5525 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.436, allocations: 10.97 kB / 0.5525 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.4368, allocations: 226.6 kB / 0.5527 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0175/0.4543, allocations: 4.71 MB / 0.5573 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004612/0.459, allocations: 1.22 MB / 0.5585 GB, free: 412 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.4614, allocations: 1.539 MB / 0.56 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.4624, allocations: 0.5351 MB / 0.5605 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.4637, allocations: 0.5415 MB / 0.561 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.4646, allocations: 0.6015 MB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.4648, allocations: 74.38 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/0.4803, allocations: 6.288 MB / 0.5678 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.4808, allocations: 360.7 kB / 0.5682 GB, free: 12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.4818, allocations: 0.5111 MB / 0.5687 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.4972, allocations: 4.415 MB / 0.573 GB, free: 8.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4972, allocations: 0 / 0.573 GB, free: 8.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4972, allocations: 1.281 kB / 0.573 GB, free: 8.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.238e-05/0.4973, allocations: 7.938 kB / 0.573 GB, free: 8.863 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.006796/0.5041, allocations: 1.811 MB / 0.5748 GB, free: 7.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5041, allocations: 13.42 kB / 0.5748 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.5057, allocations: 257.1 kB / 0.575 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.5072, allocations: 0.6335 MB / 0.5756 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.5072, allocations: 64.11 kB / 0.5757 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.5074, allocations: 96.59 kB / 0.5758 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005567/0.513, allocations: 2.214 MB / 0.578 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5131, allocations: 3.938 kB / 0.578 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.349e-05/0.5132, allocations: 31.97 kB / 0.578 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.5132, allocations: 46.64 kB / 0.578 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005511/0.5187, allocations: 2.211 MB / 0.5802 GB, free: 4.41 MB / 430.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.006457/0.5252, allocations: 4.846 MB / 0.5849 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.5292, allocations: 1.401 MB / 0.5863 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.5298, allocations: 370.7 kB / 0.5867 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1269/0.6567, allocations: 64.22 MB / 0.6494 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.6568, allocations: 43.11 kB / 0.6494 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=67): time 3.797e-06/0.6568, allocations: 4 kB / 0.6494 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.01047/0.6673, allocations: 2.886 MB / 0.6522 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6674, allocations: 59.97 kB / 0.6523 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.6681, allocations: 0.4902 MB / 0.6528 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.6683, allocations: 37.7 kB / 0.6528 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.6686, allocations: 384.5 kB / 0.6532 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.669, allocations: 253.8 kB / 0.6534 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/0.6695, allocations: 270.4 kB / 0.6537 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6697, allocations: 370.8 kB / 0.654 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.6708, allocations: 0.6332 MB / 0.6546 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.672, allocations: 0.756 MB / 0.6554 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.6743, allocations: 1.341 MB / 0.6567 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.6743, allocations: 0 / 0.6567 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004679/0.679, allocations: 2.254 MB / 0.6589 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.6791, allocations: 15.84 kB / 0.6589 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6791, allocations: 3.938 kB / 0.6589 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/0.6832, allocations: 1.729 MB / 0.6606 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.6836, allocations: 87.89 kB / 0.6607 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.6878, allocations: 2.407 MB / 0.663 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.6888, allocations: 83.48 kB / 0.6631 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.689, allocations: 87.91 kB / 0.6632 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001431/0.6904, allocations: 0.8382 MB / 0.664 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001209/0.6916, allocations: 0.753 MB / 0.6648 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002216/0.6939, allocations: 1.329 MB / 0.6661 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.042e-06/0.6939, allocations: 0 / 0.6661 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.004276/0.6982, allocations: 2.203 MB / 0.6682 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6982, allocations: 4 kB / 0.6682 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6982, allocations: 5.188 kB / 0.6682 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/0.7021, allocations: 1.73 MB / 0.6699 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.7024, allocations: 91.89 kB / 0.67 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.7066, allocations: 2.4 MB / 0.6723 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.7075, allocations: 63.67 kB / 0.6724 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.7078, allocations: 87.91 kB / 0.6725 GB, free: 15.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (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 (50): * Single equations (assignments): 49 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0004297/0.7082, allocations: 228.1 kB / 0.6727 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.7085, allocations: 67.58 kB / 0.6728 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.7193, allocations: 10.16 MB / 0.6827 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.7194, allocations: 3.984 kB / 0.6827 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7194, allocations: 0 / 0.6827 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.7199, allocations: 245 kB / 0.6829 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.7201, allocations: 19.94 kB / 0.6829 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/0.7211, allocations: 87.78 kB / 0.683 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.7213, allocations: 56.55 kB / 0.6831 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003697/0.725, allocations: 1.701 MB / 0.6847 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003251/0.7282, allocations: 2.29 MB / 0.687 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009239/0.7292, allocations: 0.6968 MB / 0.6877 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004927/0.7297, allocations: 342.9 kB / 0.688 GB, free: 15.4 MB / 0.545 GB Notification: Performance of Backend: time 5.01e-07/0.7297, allocations: 4 kB / 0.688 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01204/0.7418, allocations: 3.173 MB / 0.6911 GB, free: 12.22 MB / 0.545 GB Notification: Performance of SimCode: time 0.004205/0.746, allocations: 2.494 MB / 0.6935 GB, free: 9.68 MB / 0.545 GB Notification: Performance of Templates: time 0.3258/1.072, allocations: 71.29 MB / 0.7631 GB, free: 216.1 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)