Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.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_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.0009982/0.0009983, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.252/1.252, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2505/0.2505, allocations: 48.83 MB / 320.7 MB, free: 11.03 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.001411/0.001411, allocations: 71.89 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09493, allocations: 59.16 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E): time 0.2719/0.3669, allocations: 92.91 MB / 0.5892 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3836, allocations: 14.45 MB / 0.6033 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3848, allocations: 22.34 kB / 0.6033 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.3864, allocations: 0.6266 MB / 0.6039 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.3883, allocations: 0.9334 MB / 0.6048 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01419/0.4025, allocations: 6.004 MB / 0.6107 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007206/0.4098, allocations: 8.816 MB / 0.6193 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003854/0.4136, allocations: 3.382 MB / 0.6226 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.4178, allocations: 2.869 MB / 0.6254 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005833/0.4236, allocations: 3.639 MB / 0.629 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.4255, allocations: 0.6328 MB / 0.6296 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.4408, allocations: 7.204 MB / 0.6366 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.4441, allocations: 2.798 MB / 0.6393 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006719/0.4509, allocations: 3.619 MB / 0.6429 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.4689, allocations: 11.96 MB / 0.6545 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4689, allocations: 4 kB / 0.6546 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4689, allocations: 0 / 0.6546 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002329/0.4692, allocations: 0 / 0.6546 GB, free: 10.03 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.02882/0.498, allocations: 8.811 MB / 0.6632 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4981, allocations: 11.89 kB / 0.6632 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.5083, allocations: 1.638 MB / 0.6648 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.5183, allocations: 3.386 MB / 0.6681 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/0.5188, allocations: 431.7 kB / 0.6685 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/0.5207, allocations: 0.6209 MB / 0.6691 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04572/0.5664, allocations: 18.01 MB / 0.6867 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.5666, allocations: 3.938 kB / 0.6867 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/0.5681, allocations: 232 kB / 0.6869 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.5684, allocations: 340 kB / 0.6872 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04874/0.6172, allocations: 21.46 MB / 0.7082 GB, free: 2.848 MB / 0.545 GB 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.05627/0.6735, allocations: 40.4 MB / 0.7476 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2297/0.9032, allocations: 15.14 MB / 0.7624 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00643/0.9097, allocations: 4.483 MB / 0.7668 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1117/1.021, allocations: 64.38 MB / 0.8297 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.485e-05/1.022, allocations: 99.08 kB / 0.8298 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=607): time 7.504e-06/1.022, allocations: 0 / 0.8298 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=607): time 0.09253/1.114, allocations: 33.49 MB / 0.8625 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/1.114, allocations: 112.2 kB / 0.8626 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.116, allocations: 1.241 MB / 0.8638 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001528/1.117, allocations: 125.7 kB / 0.8639 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/1.118, allocations: 1.527 MB / 0.8654 GB, free: 113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/1.12, allocations: 2.11 MB / 0.8675 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002974/1.123, allocations: 2.025 MB / 0.8694 GB, free: 108.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 2.99e-05/1.123, allocations: 305.1 kB / 0.8697 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00791/1.131, allocations: 6.355 MB / 0.8759 GB, free: 102.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008758/1.139, allocations: 7.037 MB / 0.8828 GB, free: 94.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/1.158, allocations: 13.35 MB / 0.8958 GB, free: 81.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.158, allocations: 4 kB / 0.8959 GB, free: 81.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=709) (initialization): time 0.03216/1.19, allocations: 21.58 MB / 0.9169 GB, free: 59.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.19, allocations: 11.91 kB / 0.9169 GB, free: 59.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/1.19, allocations: 18.42 kB / 0.917 GB, free: 59.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04977/1.24, allocations: 21.93 MB / 0.9384 GB, free: 37.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.241, allocations: 347.4 kB / 0.9387 GB, free: 37.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03773/1.279, allocations: 23.32 MB / 0.9615 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006037/1.285, allocations: 0.5733 MB / 0.962 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.286, allocations: 0.6991 MB / 0.9627 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01012/1.296, allocations: 7.518 MB / 0.9701 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009184/1.306, allocations: 7.01 MB / 0.9769 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02138/1.327, allocations: 13.29 MB / 0.9899 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.817e-05/1.327, allocations: 4 kB / 0.9899 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=709) (initialization_lambda0): time 0.2262/1.553, allocations: 22.57 MB / 1.012 GB, free: 204 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.553, allocations: 11.81 kB / 1.012 GB, free: 204 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/1.553, allocations: 16.16 kB / 1.012 GB, free: 204 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05253/1.606, allocations: 21.92 MB / 1.033 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.607, allocations: 346 kB / 1.034 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03718/1.644, allocations: 23.3 MB / 1.056 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005931/1.65, allocations: 0.5352 MB / 1.057 GB, free: 178.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.652, allocations: 0.6906 MB / 1.058 GB, free: 178.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 44 (hexFVa.fluidState[20].phase,hexFVa.fluidState[19].phase,hexFVa.fluidState[18].phase,hexFVa.fluidState[17].phase,hexFVa.fluidState[16].phase,hexFVa.fluidState[15].phase,hexFVa.fluidState[14].phase,hexFVa.fluidState[13].phase,hexFVa.fluidState[12].phase,hexFVa.fluidState[11].phase,hexFVa.fluidState[10].phase,hexFVa.fluidState[9].phase,hexFVa.fluidState[8].phase,hexFVa.fluidState[7].phase,hexFVa.fluidState[6].phase,hexFVa.fluidState[5].phase,hexFVa.fluidState[4].phase,hexFVa.fluidState[3].phase,hexFVa.fluidState[2].phase,hexFVa.fluidState[1].phase,hexFVb.fluidState[20].phase,hexFVb.fluidState[19].phase,hexFVb.fluidState[18].phase,hexFVb.fluidState[17].phase,hexFVb.fluidState[16].phase,hexFVb.fluidState[15].phase,hexFVb.fluidState[14].phase,hexFVb.fluidState[13].phase,hexFVb.fluidState[12].phase,hexFVb.fluidState[11].phase,hexFVb.fluidState[10].phase,hexFVb.fluidState[9].phase,hexFVb.fluidState[8].phase,hexFVb.fluidState[7].phase,hexFVb.fluidState[6].phase,hexFVb.fluidState[5].phase,hexFVb.fluidState[4].phase,hexFVb.fluidState[3].phase,hexFVb.fluidState[2].phase,hexFVb.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 203 * 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 {(40,466)} Notification: Performance of prepare postOptimizeDAE: time 0.00228/1.654, allocations: 477.7 kB / 1.058 GB, free: 177.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/1.656, allocations: 312.9 kB / 1.058 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07308/1.729, allocations: 86.26 MB / 1.143 GB, free: 90.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001556/1.729, allocations: 31.88 kB / 1.143 GB, free: 90.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.729, allocations: 4 kB / 1.143 GB, free: 90.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003569/1.732, allocations: 1.422 MB / 1.144 GB, free: 89.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.734, allocations: 155.9 kB / 1.144 GB, free: 89.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005962/1.74, allocations: 0.6823 MB / 1.145 GB, free: 88.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/1.741, allocations: 0.6717 MB / 1.146 GB, free: 87.95 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03327/1.774, allocations: 17.55 MB / 1.163 GB, free: 70.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02404/1.798, allocations: 21.07 MB / 1.183 GB, free: 49.26 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007647/1.806, allocations: 6.834 MB / 1.19 GB, free: 42.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001044/1.807, allocations: 0.8084 MB / 1.191 GB, free: 41.59 MB / 0.6075 GB Notification: Performance of Backend: time 7.21e-07/1.807, allocations: 2.625 kB / 1.191 GB, free: 41.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.04827/1.855, allocations: 21.98 MB / 1.212 GB, free: 19.85 MB / 0.6075 GB Notification: Performance of SimCode: time 0.2021/2.057, allocations: 13.78 MB / 1.226 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.5471/2.605, allocations: 385.7 MB / 1.602 GB, free: 66.69 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E.pipe 2>&1)