Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.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_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 110.3 kB / 17.74 MB, free: 5.359 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.001036/0.001036, allocations: 189.4 kB / 18.68 MB, free: 4.434 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.237/1.237, 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.2482/0.2482, 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.001481/0.001481, allocations: 71.89 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.09032, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G): time 0.2286/0.319, allocations: 44.7 MB / 0.5421 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3304, allocations: 11.57 MB / 0.5534 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005641/0.331, allocations: 15.41 kB / 0.5534 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.3318, allocations: 329 kB / 0.5537 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.3326, allocations: 437.9 kB / 0.5541 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.3462, allocations: 5.325 MB / 0.5593 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003673/0.3499, allocations: 2.983 MB / 0.5622 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.3513, allocations: 0.9532 MB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.3525, allocations: 0.9529 MB / 0.5641 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.3543, allocations: 1.346 MB / 0.5654 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.3546, allocations: 230.3 kB / 0.5656 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01284/0.3675, allocations: 6.581 MB / 0.5721 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.369, allocations: 0.8615 MB / 0.5729 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.3714, allocations: 1.125 MB / 0.574 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.383, allocations: 6.056 MB / 0.5799 GB, free: 4.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3831, allocations: 2.969 kB / 0.5799 GB, free: 4.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3831, allocations: 0 / 0.5799 GB, free: 4.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.803e-05/0.3832, allocations: 0 / 0.5799 GB, free: 4.531 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: 496 * Number of variables: 496 Notification: Performance of Generate backend data structure: time 0.01347/0.3967, allocations: 3.705 MB / 0.5835 GB, free: 2.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3967, allocations: 12.95 kB / 0.5835 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.399, allocations: 368.9 kB / 0.5839 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.4021, allocations: 1.258 MB / 0.5851 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.4023, allocations: 144.3 kB / 0.5853 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006601/0.4029, allocations: 200.9 kB / 0.5855 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.4138, allocations: 4.632 MB / 0.59 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.4139, allocations: 0 / 0.59 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005044/0.4144, allocations: 79.94 kB / 0.5901 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-05/0.4145, allocations: 87.81 kB / 0.5901 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.4272, allocations: 5.127 MB / 0.5951 GB, free: 6.949 MB / 446.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.01395/0.4412, allocations: 8.91 MB / 0.6039 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/0.4471, allocations: 2.237 MB / 0.606 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4486, allocations: 0.9886 MB / 0.607 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1225/0.5712, allocations: 64.25 MB / 0.6697 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00557/0.5768, allocations: 1.938 MB / 0.6716 GB, free: 464 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=137): time 3.747e-06/0.5768, allocations: 0 / 0.6716 GB, free: 464 kB / 0.5137 GB Notification: Performance of matching and sorting (n=137): time 0.03286/0.6097, allocations: 8.33 MB / 0.6798 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.6098, allocations: 256.6 kB / 0.68 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.6115, allocations: 1.368 MB / 0.6814 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.6117, allocations: 53.7 kB / 0.6814 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007013/0.6125, allocations: 1.012 MB / 0.6824 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/0.613, allocations: 0.5011 MB / 0.6829 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009945/0.614, allocations: 0.6845 MB / 0.6836 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6141, allocations: 353.9 kB / 0.6839 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.6165, allocations: 1.472 MB / 0.6853 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.6196, allocations: 2.76 MB / 0.688 GB, free: 14.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0326/0.6522, allocations: 10.71 MB / 0.6985 GB, free: 3.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/0.6522, allocations: 12 kB / 0.6985 GB, free: 3.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01551/0.6677, allocations: 6.405 MB / 0.7047 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.6678, allocations: 53.61 kB / 0.7048 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.085e-05/0.6679, allocations: 44 kB / 0.7048 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.6781, allocations: 2.56 MB / 0.7073 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.6803, allocations: 0.6707 MB / 0.708 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/0.7041, allocations: 14.49 MB / 0.7221 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.7064, allocations: 372.5 kB / 0.7225 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/0.7068, allocations: 223.9 kB / 0.7227 GB, free: 10.55 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[2] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[3] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[4] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[5] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003035/0.7098, allocations: 1.938 MB / 0.7246 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003039/0.7129, allocations: 2.722 MB / 0.7273 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02486/0.7377, allocations: 9.753 MB / 0.7368 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.54e-05/0.7378, allocations: 15.94 kB / 0.7368 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=352) (initialization_lambda0): time 0.01499/0.7528, allocations: 6.331 MB / 0.743 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.7528, allocations: 61.84 kB / 0.743 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/0.7529, allocations: 44.19 kB / 0.7431 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.763, allocations: 2.553 MB / 0.7456 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.7651, allocations: 0.6706 MB / 0.7462 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.209/0.9741, allocations: 14.47 MB / 0.7604 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.9765, allocations: 281.3 kB / 0.7606 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005548/0.9771, allocations: 221.6 kB / 0.7608 GB, free: 201 MB / 0.5919 GB Warning: Assuming fixed start value for the following 6 variables: hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[2] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[3] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[4] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[5] unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = "J/kg" fixed = true nominal = 5e5 ) "Fluid specific enthalpy" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 196 * Number of states: 0 () * Number of discrete variables: 15 (hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,MassFlowRate.nextEventScaled,MassFlowRate.nextEvent,$PRE.MassFlowRate.nextEvent,MassFlowRate.last,MassFlowRate.b,MassFlowRate.a,$whenCondition1,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 1 * 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 {(6,49)} Notification: Performance of prepare postOptimizeDAE: time 0.0009319/0.9781, allocations: 459 kB / 0.7613 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/0.9785, allocations: 152.7 kB / 0.7614 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/0.9994, allocations: 15.4 MB / 0.7765 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/0.9995, allocations: 7.031 kB / 0.7765 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.9995, allocations: 0 / 0.7765 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/1, allocations: 462.2 kB / 0.7769 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/1.001, allocations: 48.86 kB / 0.777 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.002, allocations: 137.9 kB / 0.7771 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/1.003, allocations: 166.4 kB / 0.7773 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009419/1.012, allocations: 4.438 MB / 0.7816 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005374/1.018, allocations: 4.725 MB / 0.7862 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001501/1.019, allocations: 1.469 MB / 0.7876 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009055/1.02, allocations: 0.8531 MB / 0.7885 GB, free: 190 MB / 0.5919 GB Notification: Performance of Backend: time 3.6e-07/1.02, allocations: 0 / 0.7885 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01437/1.034, allocations: 6.923 MB / 0.7952 GB, free: 187 MB / 0.5919 GB Notification: Performance of SimCode: time 0.00512/1.039, allocations: 4.859 MB / 0.8 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1059/1.145, allocations: 106.7 MB / 0.9042 GB, free: 75.26 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe 2>&1)