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.001061/0.001061, allocations: 112.7 kB / 17.7 MB, free: 5.301 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.001097/0.001097, allocations: 191 kB / 18.63 MB, free: 4.375 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.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2922/0.2922, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001539/0.001539, allocations: 68.06 kB / 391.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08588/0.08743, allocations: 59.17 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_E): time 0.268/0.3555, allocations: 92.9 MB / 0.5309 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.3694, allocations: 14.44 MB / 0.545 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.3703, allocations: 29.2 kB / 0.545 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3717, allocations: 0.6224 MB / 0.5456 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3732, allocations: 0.9236 MB / 0.5465 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.3875, allocations: 5.988 MB / 0.5523 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00682/0.3944, allocations: 8.799 MB / 0.5609 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003927/0.3983, allocations: 3.381 MB / 0.5642 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003941/0.4023, allocations: 2.864 MB / 0.567 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004828/0.4071, allocations: 3.65 MB / 0.5706 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.4083, allocations: 0.6311 MB / 0.5712 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/0.422, allocations: 7.207 MB / 0.5783 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.4245, allocations: 2.798 MB / 0.581 GB, free: 496 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005087/0.4296, allocations: 3.618 MB / 0.5845 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.447, allocations: 11.96 MB / 0.5962 GB, free: 3.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.447, allocations: 0 / 0.5962 GB, free: 3.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.447, allocations: 0 / 0.5962 GB, free: 3.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.4472, allocations: 0 / 0.5962 GB, free: 3.543 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: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.02684/0.474, allocations: 8.823 MB / 0.6048 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4741, allocations: 11.89 kB / 0.6048 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009745/0.4838, allocations: 1.626 MB / 0.6064 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009557/0.4934, allocations: 3.386 MB / 0.6097 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004838/0.4939, allocations: 431.7 kB / 0.6101 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/0.4961, allocations: 0.6236 MB / 0.6107 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/0.5409, allocations: 18.01 MB / 0.6283 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.376e-05/0.541, allocations: 4 kB / 0.6283 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009732/0.542, allocations: 228 kB / 0.6285 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/0.5423, allocations: 340 kB / 0.6289 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04924/0.5915, allocations: 21.46 MB / 0.6498 GB, free: 12.43 MB / 494.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.05808/0.6496, allocations: 40.41 MB / 0.6893 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03831/0.688, allocations: 15.15 MB / 0.7041 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007144/0.6952, allocations: 4.486 MB / 0.7085 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3281/1.023, allocations: 64.37 MB / 0.7713 GB, free: 117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/1.023, allocations: 96.77 kB / 0.7714 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=607): time 8.486e-06/1.023, allocations: 0 / 0.7714 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=607): time 0.09696/1.12, allocations: 33.5 MB / 0.8041 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.12, allocations: 112.2 kB / 0.8042 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.122, allocations: 1.237 MB / 0.8054 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001537/1.124, allocations: 127.9 kB / 0.8056 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006648/1.124, allocations: 1.52 MB / 0.8071 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/1.126, allocations: 2.119 MB / 0.8091 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003251/1.13, allocations: 2.027 MB / 0.8111 GB, free: 105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.318e-05/1.13, allocations: 308.9 kB / 0.8114 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008262/1.138, allocations: 6.349 MB / 0.8176 GB, free: 99.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009015/1.147, allocations: 7.036 MB / 0.8245 GB, free: 92.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01849/1.165, allocations: 13.36 MB / 0.8375 GB, free: 79.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.165, allocations: 4 kB / 0.8375 GB, free: 79.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=709) (initialization): time 0.03381/1.199, allocations: 21.58 MB / 0.8586 GB, free: 57.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/1.199, allocations: 8 kB / 0.8586 GB, free: 57.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.199, allocations: 14.58 kB / 0.8586 GB, free: 57.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05133/1.251, allocations: 21.93 MB / 0.88 GB, free: 35.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.252, allocations: 345.1 kB / 0.8803 GB, free: 35.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04215/1.294, allocations: 23.33 MB / 0.9031 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/1.301, allocations: 0.5785 MB / 0.9037 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/1.303, allocations: 0.6906 MB / 0.9044 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01119/1.314, allocations: 7.522 MB / 0.9117 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01096/1.325, allocations: 7.005 MB / 0.9186 GB, free: 12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02408/1.349, allocations: 13.29 MB / 0.9315 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.641e-05/1.349, allocations: 4 kB / 0.9315 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=709) (initialization_lambda0): time 0.2337/1.583, allocations: 22.57 MB / 0.9536 GB, free: 249.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/1.583, allocations: 12.19 kB / 0.9536 GB, free: 249.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/1.583, allocations: 12.97 kB / 0.9536 GB, free: 249.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05673/1.64, allocations: 21.92 MB / 0.975 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.641, allocations: 338.9 kB / 0.9753 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0387/1.68, allocations: 23.31 MB / 0.9981 GB, free: 227.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.686, allocations: 0.5305 MB / 0.9986 GB, free: 227.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.687, allocations: 0.6999 MB / 0.9993 GB, free: 226.8 MB / 0.5919 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.002155/1.689, allocations: 468.4 kB / 0.9997 GB, free: 226.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.691, allocations: 318.9 kB / 1 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07252/1.763, allocations: 86.26 MB / 1.084 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001649/1.763, allocations: 31.88 kB / 1.084 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.764, allocations: 0 / 1.084 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003188/1.767, allocations: 1.421 MB / 1.086 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.768, allocations: 159.9 kB / 1.086 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005875/1.774, allocations: 0.687 MB / 1.087 GB, free: 137.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/1.775, allocations: 0.6716 MB / 1.087 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03449/1.81, allocations: 17.56 MB / 1.104 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02675/1.836, allocations: 21.05 MB / 1.125 GB, free: 98.21 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007918/1.844, allocations: 6.846 MB / 1.132 GB, free: 91.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008966/1.845, allocations: 0.8045 MB / 1.132 GB, free: 90.54 MB / 0.5919 GB Notification: Performance of Backend: time 7.92e-07/1.845, allocations: 0 / 1.132 GB, free: 90.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04548/1.891, allocations: 21.99 MB / 1.154 GB, free: 68.78 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0169/1.908, allocations: 13.78 MB / 1.167 GB, free: 54.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.718/2.626, allocations: 383.5 MB / 1.542 GB, free: 159.5 MB / 0.5919 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)