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.001132/0.001132, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001148/0.001148, allocations: 186.6 kB / 18.68 MB, free: 4.383 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.318/1.318, 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.2657/0.2657, allocations: 48.85 MB / 320.8 MB, free: 10.99 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.001448/0.001448, allocations: 71.89 kB / 451.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09786, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C): time 0.2447/0.3426, allocations: 51.58 MB / 0.5488 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.3559, allocations: 11.48 MB / 0.56 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.3565, allocations: 12.78 kB / 0.56 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.3575, allocations: 327.5 kB / 0.5603 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3585, allocations: 447 kB / 0.5608 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.3735, allocations: 5.271 MB / 0.5659 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006548/0.38, allocations: 6.208 MB / 0.572 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00342/0.3835, allocations: 2.035 MB / 0.574 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.3869, allocations: 1.808 MB / 0.5757 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/0.3919, allocations: 2.914 MB / 0.5786 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.3936, allocations: 0.631 MB / 0.5792 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.4076, allocations: 6.92 MB / 0.5859 GB, free: 500 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003059/0.4107, allocations: 2.273 MB / 0.5882 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004112/0.4148, allocations: 2.808 MB / 0.5909 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.4297, allocations: 10.17 MB / 0.6008 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4297, allocations: 0 / 0.6008 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4297, allocations: 0 / 0.6008 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.43, allocations: 4 kB / 0.6008 GB, free: 1.188 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.02918/0.4591, allocations: 8.304 MB / 0.6089 GB, free: 8.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.4592, allocations: 15.89 kB / 0.609 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/0.4633, allocations: 0.7993 MB / 0.6097 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006862/0.4702, allocations: 2.799 MB / 0.6125 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.4706, allocations: 390.9 kB / 0.6129 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.4721, allocations: 0.5122 MB / 0.6134 GB, free: 4.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/0.4987, allocations: 12.18 MB / 0.6252 GB, free: 8.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.4989, allocations: 4 kB / 0.6252 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.5003, allocations: 215.9 kB / 0.6255 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.5005, allocations: 218.6 kB / 0.6257 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04279/0.5433, allocations: 14.29 MB / 0.6396 GB, free: 9.281 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.03876/0.5821, allocations: 23.53 MB / 0.6626 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.5944, allocations: 4.579 MB / 0.6671 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/0.5984, allocations: 2.028 MB / 0.6691 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1254/0.7238, allocations: 64.29 MB / 0.7318 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.469e-05/0.7239, allocations: 60.56 kB / 0.7319 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=245): time 4.929e-06/0.7239, allocations: 0 / 0.7319 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=245): time 0.3583/1.082, allocations: 23.31 MB / 0.7547 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.082, allocations: 76.91 kB / 0.7547 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005246/1.088, allocations: 4.006 MB / 0.7586 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009435/1.089, allocations: 71.02 kB / 0.7587 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.09, allocations: 3.307 MB / 0.7619 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.092, allocations: 1.039 MB / 0.763 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002719/1.095, allocations: 1.977 MB / 0.7649 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.095, allocations: 343.9 kB / 0.7652 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005814/1.101, allocations: 3.861 MB / 0.769 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009133/1.11, allocations: 8.945 MB / 0.7777 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/1.126, allocations: 13.43 MB / 0.7908 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004647/1.127, allocations: 52.53 kB / 0.7909 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02673/1.154, allocations: 14.93 MB / 0.8055 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.154, allocations: 89.69 kB / 0.8056 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002796/1.154, allocations: 180 kB / 0.8057 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03378/1.188, allocations: 10.28 MB / 0.8158 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/1.193, allocations: 1.77 MB / 0.8175 GB, free: 128.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/1.208, allocations: 9.1 MB / 0.8264 GB, free: 119.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006972/1.215, allocations: 1.206 MB / 0.8276 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.217, allocations: 0.6482 MB / 0.8282 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006901/1.224, allocations: 4.979 MB / 0.8331 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007192/1.231, allocations: 8.874 MB / 0.8417 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0136/1.244, allocations: 13.29 MB / 0.8547 GB, free: 85.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001242/1.245, allocations: 56 kB / 0.8547 GB, free: 85.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization_lambda0): time 0.02612/1.271, allocations: 15.26 MB / 0.8696 GB, free: 70.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/1.271, allocations: 84.98 kB / 0.8697 GB, free: 70.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.271, allocations: 180.8 kB / 0.8699 GB, free: 69.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03309/1.304, allocations: 10.27 MB / 0.8799 GB, free: 59.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004785/1.309, allocations: 1.751 MB / 0.8816 GB, free: 57.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/1.324, allocations: 9.085 MB / 0.8905 GB, free: 48.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.331, allocations: 0.8657 MB / 0.8914 GB, free: 47.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.332, allocations: 0.6404 MB / 0.892 GB, free: 47.26 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.001948/1.334, allocations: 0.8551 MB / 0.8928 GB, free: 46.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008261/1.335, allocations: 381.5 kB / 0.8932 GB, free: 46.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04056/1.375, allocations: 31.25 MB / 0.9237 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.44e-05/1.375, allocations: 15.94 kB / 0.9237 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.375, allocations: 0 / 0.9237 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.378, allocations: 0.8833 MB / 0.9246 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007755/1.378, allocations: 91.95 kB / 0.9247 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/1.381, allocations: 288 kB / 0.9249 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009787/1.382, allocations: 329.6 kB / 0.9253 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02122/1.404, allocations: 8.836 MB / 0.9339 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01297/1.417, allocations: 9.017 MB / 0.9427 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004341/1.421, allocations: 2.839 MB / 0.9455 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003361/1.424, allocations: 2.329 MB / 0.9477 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of Backend: time 4.81e-07/1.424, allocations: 5.031 kB / 0.9477 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.03757/1.462, allocations: 15.35 MB / 0.9627 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01651/1.478, allocations: 10.68 MB / 0.9732 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.4278/1.906, allocations: 181.5 MB / 1.15 GB, free: 90.29 MB / 0.6387 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)