Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 110.4 kB / 17.75 MB, free: 5.227 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.001166/0.001166, allocations: 189.3 kB / 18.67 MB, free: 4.309 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.279/1.279, 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.2705/0.2705, allocations: 48.84 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.001421/0.001421, allocations: 67.91 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09819, allocations: 59.16 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C): time 0.2442/0.3424, allocations: 51.58 MB / 0.5488 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.3549, allocations: 11.48 MB / 0.56 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/0.3556, allocations: 15.72 kB / 0.56 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.3566, allocations: 322.7 kB / 0.5603 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.3577, allocations: 441.8 kB / 0.5608 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01488/0.3726, allocations: 5.256 MB / 0.5659 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0065/0.3791, allocations: 6.212 MB / 0.572 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/0.3823, allocations: 2.036 MB / 0.5739 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.3853, allocations: 1.805 MB / 0.5757 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.3899, allocations: 2.918 MB / 0.5786 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.3915, allocations: 0.6302 MB / 0.5792 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/0.4053, allocations: 6.91 MB / 0.5859 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.4084, allocations: 2.276 MB / 0.5881 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004032/0.4125, allocations: 2.809 MB / 0.5909 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.4276, allocations: 10.14 MB / 0.6008 GB, free: 1.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4276, allocations: 0 / 0.6008 GB, free: 1.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4276, allocations: 0 / 0.6008 GB, free: 1.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.4278, allocations: 3.938 kB / 0.6008 GB, free: 1.422 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.02695/0.4547, allocations: 8.197 MB / 0.6088 GB, free: 9.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4548, allocations: 11.89 kB / 0.6088 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.4583, allocations: 0.7881 MB / 0.6096 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/0.4643, allocations: 2.791 MB / 0.6123 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.4646, allocations: 390.9 kB / 0.6127 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.4657, allocations: 0.5122 MB / 0.6132 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.4889, allocations: 12.18 MB / 0.6251 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.489, allocations: 0 / 0.6251 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008532/0.4899, allocations: 212 kB / 0.6253 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.4901, allocations: 218.6 kB / 0.6255 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03738/0.5275, allocations: 14.29 MB / 0.6394 GB, free: 9.648 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.03215/0.5596, allocations: 23.47 MB / 0.6624 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.5705, allocations: 4.585 MB / 0.6668 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.5738, allocations: 2.024 MB / 0.6688 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1261/0.6999, allocations: 64.28 MB / 0.7316 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.714e-05/0.7, allocations: 60.56 kB / 0.7316 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=245): time 6.042e-06/0.7, allocations: 0 / 0.7316 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=245): time 0.3026/1.003, allocations: 23.29 MB / 0.7544 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.003, allocations: 76.72 kB / 0.7545 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/1.008, allocations: 3.999 MB / 0.7584 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007662/1.008, allocations: 67.98 kB / 0.7584 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/1.01, allocations: 3.159 MB / 0.7615 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.011, allocations: 0.9994 MB / 0.7625 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002426/1.013, allocations: 1.967 MB / 0.7644 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/1.014, allocations: 345.6 kB / 0.7647 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006009/1.02, allocations: 3.86 MB / 0.7685 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007779/1.027, allocations: 8.947 MB / 0.7772 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/1.043, allocations: 13.43 MB / 0.7904 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002915/1.043, allocations: 55.31 kB / 0.7904 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02259/1.066, allocations: 14.91 MB / 0.805 GB, free: 174 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.066, allocations: 87.91 kB / 0.8051 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/1.066, allocations: 180 kB / 0.8052 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03181/1.098, allocations: 10.29 MB / 0.8153 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/1.103, allocations: 1.758 MB / 0.817 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.117, allocations: 9.097 MB / 0.8259 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/1.123, allocations: 1.175 MB / 0.827 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.124, allocations: 0.6495 MB / 0.8277 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006489/1.131, allocations: 4.98 MB / 0.8325 GB, free: 145.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006554/1.137, allocations: 8.881 MB / 0.8412 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01279/1.15, allocations: 13.29 MB / 0.8542 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.823e-05/1.15, allocations: 48 kB / 0.8542 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization_lambda0): time 0.02298/1.173, allocations: 15.23 MB / 0.8691 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/1.173, allocations: 84.22 kB / 0.8692 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/1.174, allocations: 184 kB / 0.8694 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03157/1.205, allocations: 10.27 MB / 0.8794 GB, free: 92.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.21, allocations: 1.745 MB / 0.8811 GB, free: 90.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.224, allocations: 9.082 MB / 0.89 GB, free: 81.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/1.23, allocations: 0.8528 MB / 0.8908 GB, free: 80.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.231, allocations: 0.6365 MB / 0.8914 GB, free: 80.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,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 (949): * Single equations (assignments): 948 * 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 {(13,141)} Notification: Performance of prepare postOptimizeDAE: time 0.001736/1.233, allocations: 0.8468 MB / 0.8922 GB, free: 79.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/1.233, allocations: 359.4 kB / 0.8926 GB, free: 79.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03789/1.271, allocations: 31.26 MB / 0.9231 GB, free: 47.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.94e-05/1.271, allocations: 23.94 kB / 0.9231 GB, free: 47.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.271, allocations: 0 / 0.9231 GB, free: 47.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.273, allocations: 0.8429 MB / 0.924 GB, free: 46.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/1.274, allocations: 91.91 kB / 0.924 GB, free: 46.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.277, allocations: 287.5 kB / 0.9243 GB, free: 46.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008636/1.278, allocations: 327.3 kB / 0.9246 GB, free: 46.13 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02014/1.298, allocations: 8.828 MB / 0.9332 GB, free: 37.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01063/1.308, allocations: 8.995 MB / 0.942 GB, free: 28.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003172/1.312, allocations: 2.845 MB / 0.9448 GB, free: 25.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002421/1.314, allocations: 2.329 MB / 0.9471 GB, free: 23.13 MB / 0.5919 GB Notification: Performance of Backend: time 7.21e-07/1.314, allocations: 0 / 0.9471 GB, free: 23.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03054/1.345, allocations: 15.33 MB / 0.9621 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2071/1.552, allocations: 10.51 MB / 0.9723 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1946/1.746, allocations: 184.4 MB / 1.152 GB, free: 29.14 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)