Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 106.1 kB / 17.69 MB, free: 5.477 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.001007/0.001007, allocations: 190.9 kB / 18.63 MB, free: 4.543 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.271/1.271, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2595/0.2595, allocations: 48.83 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.002858/0.002858, allocations: 68.45 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1054, allocations: 59.16 MB / 450.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E): time 0.3717/0.4771, allocations: 92.48 MB / 0.5304 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.4935, allocations: 15 MB / 0.5451 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.4946, allocations: 26.78 kB / 0.5451 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.4962, allocations: 0.6341 MB / 0.5457 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.4979, allocations: 0.8474 MB / 0.5466 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.514, allocations: 6.428 MB / 0.5528 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.5247, allocations: 12.51 MB / 0.565 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006317/0.5311, allocations: 4.41 MB / 0.5694 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005836/0.5369, allocations: 3.641 MB / 0.5729 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009029/0.546, allocations: 5.909 MB / 0.5787 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004022/0.5501, allocations: 1.28 MB / 0.5799 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01853/0.5686, allocations: 7.859 MB / 0.5876 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006684/0.5753, allocations: 4.635 MB / 0.5921 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01131/0.5867, allocations: 5.717 MB / 0.5977 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02497/0.6117, allocations: 17.32 MB / 0.6146 GB, free: 260 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6117, allocations: 0 / 0.6146 GB, free: 260 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6117, allocations: 0 / 0.6146 GB, free: 260 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003457/0.6121, allocations: 0 / 0.6146 GB, free: 260 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2772 * Number of variables: 2772 Notification: Performance of Generate backend data structure: time 0.05768/0.6698, allocations: 15.86 MB / 0.6301 GB, free: 368 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.6698, allocations: 11.89 kB / 0.6301 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.6792, allocations: 1.563 MB / 0.6317 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.6937, allocations: 5.477 MB / 0.637 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008664/0.6946, allocations: 0.779 MB / 0.6378 GB, free: 8.484 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004022/0.6986, allocations: 1.034 MB / 0.6388 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05783/0.7565, allocations: 24.55 MB / 0.6627 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/0.7569, allocations: 0 / 0.6627 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003305/0.7602, allocations: 438.9 kB / 0.6632 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003861/0.7606, allocations: 441.5 kB / 0.6636 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08614/0.8467, allocations: 28.77 MB / 0.6917 GB, free: 1.145 MB / 0.5137 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.3912/1.238, allocations: 47.77 MB / 0.7383 GB, free: 210.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.261, allocations: 9.705 MB / 0.7478 GB, free: 209.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006643/1.268, allocations: 4.363 MB / 0.7521 GB, free: 207.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1109/1.379, allocations: 64.34 MB / 0.8149 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.542e-05/1.379, allocations: 91.25 kB / 0.815 GB, free: 158.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=501): time 8.687e-06/1.379, allocations: 4 kB / 0.815 GB, free: 158.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=501): time 0.2363/1.615, allocations: 55.5 MB / 0.8692 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.615, allocations: 111.3 kB / 0.8693 GB, free: 103 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009609/1.625, allocations: 7.831 MB / 0.8769 GB, free: 95.22 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001887/1.627, allocations: 117.7 kB / 0.8771 GB, free: 95.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003168/1.63, allocations: 6.229 MB / 0.8831 GB, free: 88.91 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003018/1.633, allocations: 2.025 MB / 0.8851 GB, free: 86.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007615/1.641, allocations: 3.901 MB / 0.8889 GB, free: 82.98 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/1.641, allocations: 305.1 kB / 0.8892 GB, free: 82.68 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/1.652, allocations: 7.919 MB / 0.8969 GB, free: 74.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01489/1.667, allocations: 17.96 MB / 0.9145 GB, free: 51.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02786/1.695, allocations: 27.12 MB / 0.941 GB, free: 19.66 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002825/1.695, allocations: 104 kB / 0.9411 GB, free: 19.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.2419/1.937, allocations: 30.61 MB / 0.971 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/1.937, allocations: 156.5 kB / 0.9711 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004181/1.938, allocations: 354 kB / 0.9714 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08732/2.025, allocations: 25.13 MB / 0.996 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008677/2.034, allocations: 3.352 MB / 0.9993 GB, free: 173.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03571/2.069, allocations: 19.99 MB / 1.019 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/2.082, allocations: 2.365 MB / 1.021 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002889/2.085, allocations: 1.282 MB / 1.022 GB, free: 164 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01403/2.099, allocations: 10.13 MB / 1.032 GB, free: 154 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01374/2.113, allocations: 17.83 MB / 1.05 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02669/2.14, allocations: 26.87 MB / 1.076 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003057/2.14, allocations: 100 kB / 1.076 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2191) (initialization_lambda0): time 0.06789/2.208, allocations: 33.64 MB / 1.109 GB, free: 66.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007016/2.209, allocations: 160 kB / 1.109 GB, free: 66.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007353/2.21, allocations: 352 kB / 1.109 GB, free: 66.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08677/2.296, allocations: 25.14 MB / 1.134 GB, free: 41.11 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008462/2.305, allocations: 3.332 MB / 1.137 GB, free: 37.78 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03855/2.344, allocations: 20.05 MB / 1.157 GB, free: 17.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/2.356, allocations: 1.71 MB / 1.158 GB, free: 15.94 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002665/2.359, allocations: 1.273 MB / 1.16 GB, free: 14.66 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1613 * Number of states: 0 () * Number of discrete variables: 28 (hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.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 (1804): * Single equations (assignments): 1803 * 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 {(26,362)} Notification: Performance of prepare postOptimizeDAE: time 0.004366/2.363, allocations: 1.499 MB / 1.161 GB, free: 13.15 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1932/2.556, allocations: 0.6879 MB / 1.162 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09582/2.652, allocations: 65.04 MB / 1.225 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001748/2.652, allocations: 27.89 kB / 1.225 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/2.653, allocations: 0 / 1.225 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003709/2.656, allocations: 1.669 MB / 1.227 GB, free: 147 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/2.658, allocations: 176.1 kB / 1.227 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006044/2.664, allocations: 0.5855 MB / 1.228 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001731/2.665, allocations: 0.6832 MB / 1.228 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04675/2.712, allocations: 18.97 MB / 1.247 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02312/2.735, allocations: 18.72 MB / 1.265 GB, free: 109.5 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006558/2.742, allocations: 5.957 MB / 1.271 GB, free: 103.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004652/2.747, allocations: 4.566 MB / 1.275 GB, free: 98.98 MB / 0.5607 GB Notification: Performance of Backend: time 5.01e-07/2.747, allocations: 0 / 1.275 GB, free: 98.98 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.05939/2.806, allocations: 30.86 MB / 1.306 GB, free: 68.57 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02666/2.833, allocations: 21.29 MB / 1.326 GB, free: 47.31 MB / 0.5607 GB Notification: Performance of Templates: time 0.7422/3.575, allocations: 338.4 MB / 1.657 GB, free: 138.9 MB / 0.5763 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe 2>&1)