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.00148/0.001479, allocations: 114.3 kB / 17.75 MB, free: 5.305 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.001666/0.001666, allocations: 185.3 kB / 18.68 MB, free: 4.379 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.351/1.351, 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.2739/0.2739, allocations: 48.84 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.001553/0.001553, allocations: 67.89 kB / 451.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 59.17 MB / 0.4984 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E): time 0.3097/0.4212, allocations: 92.5 MB / 0.5888 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.4408, allocations: 15 MB / 0.6034 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.4426, allocations: 22.81 kB / 0.6034 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.4446, allocations: 0.6332 MB / 0.6041 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.447, allocations: 0.8632 MB / 0.6049 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02004/0.4671, allocations: 6.44 MB / 0.6112 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.4808, allocations: 12.5 MB / 0.6234 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006964/0.4878, allocations: 4.414 MB / 0.6277 GB, free: 5.652 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005773/0.4936, allocations: 3.647 MB / 0.6313 GB, free: 2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00954/0.5032, allocations: 5.91 MB / 0.637 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003585/0.5068, allocations: 1.281 MB / 0.6383 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01944/0.5263, allocations: 7.868 MB / 0.646 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00757/0.5339, allocations: 4.623 MB / 0.6505 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0114/0.5453, allocations: 5.71 MB / 0.6561 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02917/0.5746, allocations: 17.39 MB / 0.6731 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5746, allocations: 0 / 0.6731 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5746, allocations: 4 kB / 0.6731 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004319/0.5751, allocations: 0 / 0.6731 GB, free: 7.109 MB / 0.5137 GB 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.06218/0.6373, allocations: 16.07 MB / 0.6887 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/0.6373, allocations: 11.89 kB / 0.6888 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.6479, allocations: 1.615 MB / 0.6903 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.6632, allocations: 5.481 MB / 0.6957 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.6643, allocations: 0.7829 MB / 0.6965 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004677/0.6689, allocations: 1.036 MB / 0.6975 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06588/0.7348, allocations: 24.55 MB / 0.7214 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005196/0.7354, allocations: 0 / 0.7214 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005317/0.7408, allocations: 431.9 kB / 0.7219 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004866/0.7413, allocations: 449.5 kB / 0.7223 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09416/0.8355, allocations: 28.76 MB / 0.7504 GB, free: 7.641 MB / 0.5919 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.4932/1.329, allocations: 47.86 MB / 0.7971 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/1.351, allocations: 9.702 MB / 0.8066 GB, free: 165 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006415/1.358, allocations: 4.36 MB / 0.8108 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1026/1.46, allocations: 64.35 MB / 0.8737 GB, free: 98.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/1.46, allocations: 98.44 kB / 0.8738 GB, free: 98.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=501): time 1.28e-05/1.461, allocations: 0 / 0.8738 GB, free: 98.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=501): time 0.2308/1.691, allocations: 55.54 MB / 0.928 GB, free: 42.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.691, allocations: 107.3 kB / 0.9281 GB, free: 42.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00994/1.701, allocations: 7.858 MB / 0.9358 GB, free: 35.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002259/1.704, allocations: 113.7 kB / 0.9359 GB, free: 35.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003836/1.707, allocations: 6.535 MB / 0.9423 GB, free: 29.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003309/1.711, allocations: 2.105 MB / 0.9443 GB, free: 27.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008862/1.72, allocations: 3.932 MB / 0.9482 GB, free: 23.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/1.72, allocations: 305.1 kB / 0.9485 GB, free: 22.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0127/1.732, allocations: 7.915 MB / 0.9562 GB, free: 15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01868/1.751, allocations: 17.96 MB / 0.9737 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2725/2.024, allocations: 27.12 MB / 1 GB, free: 193.6 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002899/2.024, allocations: 101.9 kB / 1 GB, free: 193.6 MB / 0.6232 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.05676/2.081, allocations: 30.65 MB / 1.03 GB, free: 183.2 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/2.081, allocations: 161.6 kB / 1.03 GB, free: 183.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005434/2.082, allocations: 352.6 kB / 1.031 GB, free: 183.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08856/2.17, allocations: 25.12 MB / 1.055 GB, free: 177 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009683/2.18, allocations: 3.353 MB / 1.059 GB, free: 174.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03772/2.218, allocations: 20.01 MB / 1.078 GB, free: 154.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/2.231, allocations: 2.422 MB / 1.08 GB, free: 152.7 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003131/2.234, allocations: 1.282 MB / 1.082 GB, free: 151.4 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0159/2.25, allocations: 10.13 MB / 1.092 GB, free: 141.3 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01608/2.266, allocations: 17.83 MB / 1.109 GB, free: 118.5 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02819/2.295, allocations: 26.87 MB / 1.135 GB, free: 86.57 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003104/2.295, allocations: 100 kB / 1.135 GB, free: 86.47 MB / 0.6232 GB Notification: Performance of matching and sorting (n=2191) (initialization_lambda0): time 0.0701/2.365, allocations: 33.67 MB / 1.168 GB, free: 52.7 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003673/2.366, allocations: 160.1 kB / 1.168 GB, free: 52.54 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004068/2.366, allocations: 356 kB / 1.169 GB, free: 52.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08672/2.453, allocations: 25.13 MB / 1.193 GB, free: 27.01 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008493/2.461, allocations: 3.329 MB / 1.197 GB, free: 23.68 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04115/2.502, allocations: 20.06 MB / 1.216 GB, free: 3.551 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/2.515, allocations: 1.741 MB / 1.218 GB, free: 2.012 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003011/2.518, allocations: 1.273 MB / 1.219 GB, free: 0.7383 MB / 0.6232 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.005125/2.523, allocations: 1.496 MB / 1.221 GB, free: 15.23 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002746/2.526, allocations: 0.7333 MB / 1.221 GB, free: 14.49 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3343/2.86, allocations: 65.04 MB / 1.285 GB, free: 178.9 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000175/2.861, allocations: 27.38 kB / 1.285 GB, free: 178.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/2.861, allocations: 0 / 1.285 GB, free: 178.9 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004037/2.865, allocations: 1.714 MB / 1.286 GB, free: 178.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00215/2.867, allocations: 178.1 kB / 1.287 GB, free: 178.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007006/2.874, allocations: 0.5876 MB / 1.287 GB, free: 178.1 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002646/2.877, allocations: 0.6801 MB / 1.288 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04837/2.925, allocations: 18.99 MB / 1.306 GB, free: 161.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02463/2.95, allocations: 18.77 MB / 1.325 GB, free: 142.4 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007539/2.957, allocations: 5.953 MB / 1.331 GB, free: 136.4 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005276/2.962, allocations: 4.558 MB / 1.335 GB, free: 131.9 MB / 0.6388 GB Notification: Performance of Backend: time 7.81e-07/2.963, allocations: 1.422 kB / 1.335 GB, free: 131.9 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.06366/3.026, allocations: 30.9 MB / 1.365 GB, free: 101.4 MB / 0.6388 GB Notification: Performance of SimCode: time 0.02547/3.052, allocations: 21.6 MB / 1.386 GB, free: 79.8 MB / 0.6388 GB Notification: Performance of Templates: time 0.8377/3.889, allocations: 344 MB / 1.722 GB, free: 187 MB / 0.6544 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)