Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.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_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001241, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001207/0.001207, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.535/1.535, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2988/0.2988, allocations: 48.85 MB / 320.8 MB, free: 11.01 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.001709/0.001709, allocations: 71.89 kB / 451.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1273, allocations: 59.15 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F): time 0.3405/0.4678, allocations: 93.22 MB / 0.5895 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.4865, allocations: 14.55 MB / 0.6037 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.4881, allocations: 27.47 kB / 0.6037 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.4901, allocations: 0.6468 MB / 0.6043 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.4934, allocations: 1.02 MB / 0.6053 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01955/0.513, allocations: 6.022 MB / 0.6112 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009722/0.5227, allocations: 8.969 MB / 0.62 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0054/0.5281, allocations: 3.637 MB / 0.6235 GB, free: 9.887 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005312/0.5335, allocations: 2.962 MB / 0.6264 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006688/0.5402, allocations: 3.963 MB / 0.6303 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002262/0.5425, allocations: 0.6953 MB / 0.631 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/0.559, allocations: 7.287 MB / 0.6381 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003943/0.5629, allocations: 3.149 MB / 0.6412 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007784/0.5707, allocations: 3.966 MB / 0.645 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02408/0.5948, allocations: 12.8 MB / 0.6575 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.5949, allocations: 0 / 0.6575 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5949, allocations: 0 / 0.6575 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004421/0.5953, allocations: 0 / 0.6575 GB, free: 6.98 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: 1647 * Number of variables: 1647 Notification: Performance of Generate backend data structure: time 0.03675/0.6321, allocations: 9.601 MB / 0.6669 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6322, allocations: 11.89 kB / 0.6669 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.6433, allocations: 1.707 MB / 0.6686 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.6541, allocations: 3.649 MB / 0.6721 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005766/0.6547, allocations: 460.4 kB / 0.6726 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/0.6578, allocations: 0.6718 MB / 0.6732 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05161/0.7095, allocations: 18.66 MB / 0.6915 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.7097, allocations: 3.938 kB / 0.6915 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001877/0.7116, allocations: 244 kB / 0.6917 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003573/0.712, allocations: 352.7 kB / 0.692 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05315/0.7651, allocations: 22.02 MB / 0.7135 GB, free: 13.31 MB / 0.5606 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.3085/1.074, allocations: 43.39 MB / 0.7559 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05815/1.132, allocations: 17.21 MB / 0.7727 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009717/1.142, allocations: 4.776 MB / 0.7774 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1095/1.251, allocations: 64.38 MB / 0.8403 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/1.251, allocations: 99.77 kB / 0.8404 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=664): time 1.232e-05/1.251, allocations: 0 / 0.8404 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=664): time 0.113/1.364, allocations: 37.6 MB / 0.8771 GB, free: 98.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/1.364, allocations: 146.3 kB / 0.8772 GB, free: 98.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.367, allocations: 1.397 MB / 0.8786 GB, free: 96.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001843/1.369, allocations: 145.6 kB / 0.8787 GB, free: 96.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008581/1.369, allocations: 1.669 MB / 0.8803 GB, free: 95.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003234/1.373, allocations: 2.447 MB / 0.8827 GB, free: 93.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005296/1.378, allocations: 2.149 MB / 0.8848 GB, free: 91.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.711e-05/1.378, allocations: 305.1 kB / 0.8851 GB, free: 90.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/1.388, allocations: 6.679 MB / 0.8916 GB, free: 84.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.399, allocations: 7.416 MB / 0.8989 GB, free: 76.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/1.419, allocations: 14.09 MB / 0.9127 GB, free: 62.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/1.419, allocations: 4 kB / 0.9127 GB, free: 62.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.04167/1.461, allocations: 23.31 MB / 0.9354 GB, free: 38.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/1.461, allocations: 16.12 kB / 0.9354 GB, free: 38.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/1.461, allocations: 12 kB / 0.9354 GB, free: 38.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06577/1.527, allocations: 23.8 MB / 0.9587 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.528, allocations: 379.2 kB / 0.959 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05025/1.579, allocations: 25 MB / 0.9835 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/1.586, allocations: 0.6394 MB / 0.9841 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002163/1.588, allocations: 0.7218 MB / 0.9848 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2395/1.827, allocations: 7.933 MB / 0.9925 GB, free: 206.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01356/1.841, allocations: 7.389 MB / 0.9998 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02596/1.867, allocations: 14.03 MB / 1.013 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.085e-05/1.867, allocations: 4.406 kB / 1.013 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=785) (initialization_lambda0): time 0.04353/1.911, allocations: 23.45 MB / 1.036 GB, free: 190.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.911, allocations: 15.12 kB / 1.036 GB, free: 190.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/1.911, allocations: 11.47 kB / 1.036 GB, free: 190.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06483/1.975, allocations: 23.82 MB / 1.06 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.977, allocations: 367.4 kB / 1.06 GB, free: 172.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04012/2.017, allocations: 24.98 MB / 1.084 GB, free: 147.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/2.023, allocations: 0.5969 MB / 1.085 GB, free: 147.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/2.025, allocations: 0.7218 MB / 1.086 GB, free: 146.6 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 (223): * Single equations (assignments): 222 * 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,523)} Notification: Performance of prepare postOptimizeDAE: time 0.002302/2.027, allocations: 491.2 kB / 1.086 GB, free: 146.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/2.029, allocations: 365.2 kB / 1.086 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08517/2.114, allocations: 87.8 MB / 1.172 GB, free: 57.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001955/2.114, allocations: 35.86 kB / 1.172 GB, free: 57.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/2.114, allocations: 0 / 1.172 GB, free: 57.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003793/2.118, allocations: 1.576 MB / 1.174 GB, free: 56.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/2.12, allocations: 174.1 kB / 1.174 GB, free: 56.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007708/2.128, allocations: 0.698 MB / 1.175 GB, free: 55.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002457/2.13, allocations: 0.75 MB / 1.175 GB, free: 54.84 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04553/2.176, allocations: 19.23 MB / 1.194 GB, free: 35.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2653/2.441, allocations: 22.25 MB / 1.216 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01206/2.453, allocations: 7.202 MB / 1.223 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001499/2.455, allocations: 0.9311 MB / 1.224 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of Backend: time 1.543e-06/2.455, allocations: 0 / 1.224 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.06551/2.52, allocations: 23.94 MB / 1.247 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02154/2.542, allocations: 16.25 MB / 1.263 GB, free: 184.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.9094/3.451, allocations: 419.5 MB / 1.673 GB, free: 221.4 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe 2>&1)