Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 101.3 kB / 17.74 MB, free: 5.34 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.001352/0.001352, allocations: 190.5 kB / 18.67 MB, free: 4.418 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.258/1.258, 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.252/0.252, allocations: 48.85 MB / 320.8 MB, free: 11.02 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.00147/0.00147, allocations: 68.47 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09748, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F): time 0.2921/0.3896, allocations: 92.76 MB / 0.589 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.4088, allocations: 15.1 MB / 0.6038 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.41, allocations: 27.41 kB / 0.6038 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.4122, allocations: 0.6385 MB / 0.6044 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.4151, allocations: 0.9153 MB / 0.6053 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.4321, allocations: 6.458 MB / 0.6116 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.4487, allocations: 18.26 MB / 0.6295 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00948/0.4582, allocations: 6.554 MB / 0.6359 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008064/0.4663, allocations: 5.227 MB / 0.641 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01385/0.4802, allocations: 8.983 MB / 0.6497 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.006436/0.4867, allocations: 2.121 MB / 0.6518 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01975/0.5064, allocations: 8.728 MB / 0.6603 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.01103/0.5175, allocations: 7.566 MB / 0.6677 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01701/0.5345, allocations: 9.184 MB / 0.6767 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03307/0.5676, allocations: 25.74 MB / 0.7018 GB, free: 9.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5677, allocations: 0 / 0.7018 GB, free: 9.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5677, allocations: 4 kB / 0.7018 GB, free: 9.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005311/0.5682, allocations: 3.938 kB / 0.7018 GB, free: 9.516 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4501 * Number of variables: 4501 Notification: Performance of Generate backend data structure: time 0.09099/0.6592, allocations: 25.03 MB / 0.7263 GB, free: 396 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6593, allocations: 11.89 kB / 0.7263 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.6719, allocations: 2.33 MB / 0.7286 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02147/0.6934, allocations: 8.465 MB / 0.7368 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/0.6952, allocations: 1.269 MB / 0.7381 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006779/0.702, allocations: 1.692 MB / 0.7397 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5294/1.231, allocations: 38.85 MB / 0.7777 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003403/1.232, allocations: 4.719 kB / 0.7777 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003218/1.235, allocations: 0.689 MB / 0.7783 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005521/1.236, allocations: 0.6784 MB / 0.779 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1291/1.365, allocations: 47.49 MB / 0.8254 GB, free: 83.87 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.0939/1.459, allocations: 80.13 MB / 0.9036 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03971/1.498, allocations: 15.1 MB / 0.9184 GB, free: 15.38 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009151/1.508, allocations: 6.174 MB / 0.9244 GB, free: 9.199 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1245/1.632, allocations: 64.39 MB / 0.9873 GB, free: 1.504 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/1.632, allocations: 116.2 kB / 0.9874 GB, free: 1.379 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=721): time 1.029e-05/1.632, allocations: 1.312 kB / 0.9874 GB, free: 1.379 MB / 0.6857 GB Notification: Performance of matching and sorting (n=721): time 0.8208/2.453, allocations: 94.83 MB / 1.08 GB, free: 274.7 MB / 0.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/2.453, allocations: 150.7 kB / 1.08 GB, free: 274.6 MB / 0.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/2.468, allocations: 13.57 MB / 1.093 GB, free: 268.3 MB / 0.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003031/2.471, allocations: 152.7 kB / 1.094 GB, free: 268.2 MB / 0.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.0048/2.475, allocations: 10.67 MB / 1.104 GB, free: 258.9 MB / 0.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.004625/2.48, allocations: 3.029 MB / 1.107 GB, free: 256.3 MB / 0.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008115/2.488, allocations: 6.462 MB / 1.113 GB, free: 250.4 MB / 0.717 GB Notification: Performance of setup shared object (initialization): time 3.691e-05/2.488, allocations: 306.2 kB / 1.114 GB, free: 250.1 MB / 0.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01594/2.504, allocations: 12.21 MB / 1.125 GB, free: 237.9 MB / 0.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02293/2.527, allocations: 30.26 MB / 1.155 GB, free: 198.6 MB / 0.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04357/2.571, allocations: 44.73 MB / 1.199 GB, free: 144.9 MB / 0.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004117/2.571, allocations: 183.9 kB / 1.199 GB, free: 144.7 MB / 0.717 GB Notification: Performance of matching and sorting (n=3756) (initialization): time 0.09907/2.67, allocations: 53.1 MB / 1.251 GB, free: 91.54 MB / 0.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003187/2.671, allocations: 279.9 kB / 1.251 GB, free: 91.26 MB / 0.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000643/2.671, allocations: 0.6327 MB / 1.252 GB, free: 90.63 MB / 0.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3685/3.04, allocations: 37.02 MB / 1.288 GB, free: 238.9 MB / 0.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/3.056, allocations: 5.9 MB / 1.294 GB, free: 238.9 MB / 0.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0584/3.115, allocations: 28.57 MB / 1.321 GB, free: 233.5 MB / 0.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02065/3.135, allocations: 4.052 MB / 1.325 GB, free: 231.7 MB / 0.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004703/3.14, allocations: 2.119 MB / 1.327 GB, free: 231.4 MB / 0.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02231/3.162, allocations: 15.89 MB / 1.343 GB, free: 226.8 MB / 0.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02396/3.186, allocations: 30.09 MB / 1.372 GB, free: 199 MB / 0.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04491/3.231, allocations: 44.37 MB / 1.416 GB, free: 155.3 MB / 0.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0005832/3.232, allocations: 184.9 kB / 1.416 GB, free: 155.1 MB / 0.717 GB Notification: Performance of matching and sorting (n=3756) (initialization_lambda0): time 0.07678/3.309, allocations: 48.1 MB / 1.463 GB, free: 112.8 MB / 0.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003624/3.309, allocations: 280 kB / 1.463 GB, free: 112.5 MB / 0.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007741/3.31, allocations: 0.625 MB / 1.464 GB, free: 111.9 MB / 0.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1273/3.437, allocations: 36.99 MB / 1.5 GB, free: 78.02 MB / 0.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/3.451, allocations: 5.869 MB / 1.506 GB, free: 72.14 MB / 0.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3205/3.772, allocations: 28.5 MB / 1.533 GB, free: 205.3 MB / 0.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02302/3.795, allocations: 2.893 MB / 1.536 GB, free: 204.5 MB / 0.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006998/3.802, allocations: 2.107 MB / 1.538 GB, free: 204.5 MB / 0.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2917 * Number of states: 0 () * Number of discrete variables: 36 (hexB.fluidState[16].phase,hexB.fluidState[15].phase,hexB.fluidState[14].phase,hexB.fluidState[13].phase,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[16].phase,hexA.fluidState[15].phase,hexA.fluidState[14].phase,hexA.fluidState[13].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 (3173): * Single equations (assignments): 3172 * 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 {(43,541)} Notification: Performance of prepare postOptimizeDAE: time 0.009225/3.811, allocations: 2.478 MB / 1.541 GB, free: 203.9 MB / 0.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00356/3.815, allocations: 1.151 MB / 1.542 GB, free: 203.3 MB / 0.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1428/3.957, allocations: 89.19 MB / 1.629 GB, free: 173.4 MB / 0.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002669/3.958, allocations: 41.73 kB / 1.629 GB, free: 173.4 MB / 0.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/3.958, allocations: 3.938 kB / 1.629 GB, free: 173.4 MB / 0.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005786/3.964, allocations: 2.461 MB / 1.631 GB, free: 172.1 MB / 0.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002457/3.966, allocations: 248.4 kB / 1.632 GB, free: 171.9 MB / 0.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0098/3.976, allocations: 0.8173 MB / 1.632 GB, free: 171.7 MB / 0.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004345/3.98, allocations: 1.001 MB / 1.633 GB, free: 171.6 MB / 0.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07452/4.055, allocations: 27.46 MB / 1.66 GB, free: 153 MB / 0.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04299/4.098, allocations: 25.85 MB / 1.685 GB, free: 127.1 MB / 0.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01207/4.11, allocations: 8.199 MB / 1.693 GB, free: 118.9 MB / 0.717 GB Notification: Performance of sorting global known variables: time 0.01043/4.12, allocations: 7.829 MB / 1.701 GB, free: 111.1 MB / 0.717 GB Notification: Performance of Backend: time 2.575e-06/4.12, allocations: 0 / 1.701 GB, free: 111.1 MB / 0.717 GB Notification: Performance of simCode: created initialization part: time 0.1049/4.225, allocations: 49.1 MB / 1.749 GB, free: 62.7 MB / 0.717 GB Notification: Performance of SimCode: time 0.04344/4.269, allocations: 35.03 MB / 1.783 GB, free: 27.65 MB / 0.717 GB Notification: Performance of Templates: time 1.105/5.374, allocations: 0.4968 GB / 2.28 GB, free: 38.4 MB / 0.717 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F.pipe 2>&1)