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.0009833/0.0009833, allocations: 97.11 kB / 16.3 MB, free: 5.598 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.001134/0.001134, allocations: 179.6 kB / 17.19 MB, free: 5.535 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.473/1.473, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2943/0.2943, allocations: 48.77 MB / 320.4 MB, free: 11.31 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.0005167/0.0005167, allocations: 12.91 kB / 391.1 MB, free: 50.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1008, allocations: 60.27 MB / 451.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C): time 0.04157/0.1424, allocations: 43.36 MB / 494.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.1549, allocations: 9.968 MB / 0.4929 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007537/0.1557, allocations: 15.88 kB / 0.4929 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009527/0.1567, allocations: 270.7 kB / 0.4932 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008742/0.1576, allocations: 343 kB / 0.4935 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0136/0.1712, allocations: 4.122 MB / 0.4975 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.1763, allocations: 3.952 MB / 0.5014 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.1792, allocations: 1.787 MB / 0.5031 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.182, allocations: 1.552 MB / 0.5046 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004503/0.1866, allocations: 2.683 MB / 0.5073 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.188, allocations: 328 kB / 0.5076 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.2013, allocations: 6.47 MB / 0.5139 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.2041, allocations: 1.863 MB / 0.5157 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.2055, allocations: 0.73 MB / 0.5164 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.2166, allocations: 7.431 MB / 0.5237 GB, free: 4.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2166, allocations: 0 / 0.5237 GB, free: 4.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2166, allocations: 4 kB / 0.5237 GB, free: 4.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001175/0.2168, allocations: 3.938 kB / 0.5237 GB, free: 4.492 MB / 414.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.2349/0.4517, allocations: 10.44 MB / 0.5339 GB, free: 27.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4517, allocations: 11.77 kB / 0.5339 GB, free: 27.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.4563, allocations: 0.7816 MB / 0.5347 GB, free: 27.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008352/0.4647, allocations: 2.785 MB / 0.5374 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/0.4651, allocations: 394.4 kB / 0.5378 GB, free: 26.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/0.4673, allocations: 0.5048 MB / 0.5382 GB, free: 26.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.496, allocations: 12.1 MB / 0.5501 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.263e-05/0.4962, allocations: 0.5156 kB / 0.5501 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007904/0.497, allocations: 213.8 kB / 0.5503 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.4971, allocations: 220 kB / 0.5505 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03503/0.5322, allocations: 14.27 MB / 0.5644 GB, free: 24.19 MB / 414.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.03198/0.5642, allocations: 23.48 MB / 0.5873 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.5737, allocations: 4.567 MB / 0.5918 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1275/0.7012, allocations: 64.64 MB / 0.6549 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.999e-05/0.7014, allocations: 60.56 kB / 0.655 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 4.99e-06/0.7014, allocations: 0 / 0.655 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=245): time 0.09986/0.8012, allocations: 22.87 MB / 0.6773 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.8013, allocations: 84.23 kB / 0.6774 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/0.8069, allocations: 3.997 MB / 0.6813 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009873/0.8079, allocations: 69.7 kB / 0.6814 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002306/0.8102, allocations: 3.159 MB / 0.6845 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001822/0.812, allocations: 0.9926 MB / 0.6854 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/0.8127, allocations: 176 kB / 0.6856 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0005508/0.8132, allocations: 0.7092 MB / 0.6863 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006418/0.8197, allocations: 3.784 MB / 0.69 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/0.8306, allocations: 8.889 MB / 0.6987 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009528/0.8402, allocations: 5.414 MB / 0.7039 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001538/0.8404, allocations: 52 kB / 0.704 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02908/0.8694, allocations: 14.84 MB / 0.7185 GB, free: 9.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.2501/1.12, allocations: 71.31 MB / 0.7881 GB, free: 137.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005707/1.12, allocations: 181.6 kB / 0.7883 GB, free: 137.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03721/1.157, allocations: 10.34 MB / 0.7984 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005722/1.163, allocations: 1.761 MB / 0.8001 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/1.18, allocations: 9.037 MB / 0.8089 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008166/1.188, allocations: 1.294 MB / 0.8102 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/1.19, allocations: 0.6492 MB / 0.8108 GB, free: 133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.19, allocations: 3.75 kB / 0.8108 GB, free: 133 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02234/1.212, allocations: 14.36 MB / 0.8249 GB, free: 125.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001079/1.214, allocations: 180 kB / 0.825 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03155/1.245, allocations: 10.34 MB / 0.8351 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/1.25, allocations: 1.751 MB / 0.8369 GB, free: 113.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/1.264, allocations: 9.041 MB / 0.8457 GB, free: 104.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007908/1.272, allocations: 0.9633 MB / 0.8466 GB, free: 103.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/1.275, allocations: 0.6443 MB / 0.8473 GB, free: 102.5 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 141} Notification: Performance of prepare postOptimizeDAE: time 0.004126/1.279, allocations: 1.836 MB / 0.849 GB, free: 100.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008783/1.28, allocations: 360.5 kB / 0.8494 GB, free: 100.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04162/1.321, allocations: 31.28 MB / 0.8799 GB, free: 68.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/1.321, allocations: 67.91 kB / 0.88 GB, free: 68.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.321, allocations: 0 / 0.88 GB, free: 68.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.316e-05/1.322, allocations: 11.95 kB / 0.88 GB, free: 68.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0552/1.377, allocations: 43.3 MB / 0.9223 GB, free: 24.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.377, allocations: 0 / 0.9223 GB, free: 24.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.379, allocations: 405 kB / 0.9227 GB, free: 24.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02586/1.405, allocations: 6.992 MB / 0.9295 GB, free: 17.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001576/1.407, allocations: 119.8 kB / 0.9296 GB, free: 17.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.311/1.718, allocations: 28.6 MB / 0.9575 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.718, allocations: 1.156 kB / 0.9575 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03531/1.753, allocations: 13.97 MB / 0.9712 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003382/1.757, allocations: 0.9054 MB / 0.9721 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008517/1.758, allocations: 88.42 kB / 0.9722 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/1.761, allocations: 268.7 kB / 0.9724 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/1.762, allocations: 240.2 kB / 0.9726 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.762, allocations: 101.4 kB / 0.9727 GB, free: 182.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002717/1.765, allocations: 2.333 MB / 0.975 GB, free: 181.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.765, allocations: 0 / 0.975 GB, free: 181.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01365/1.778, allocations: 3.298 MB / 0.9782 GB, free: 181.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.00412/1.782, allocations: 1.031 MB / 0.9792 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02813/1.811, allocations: 16.28 MB / 0.9951 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.811, allocations: 0 / 0.9951 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009303/1.82, allocations: 4.277 MB / 0.9993 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.823, allocations: 0.6524 MB / 1 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.841, allocations: 13.35 MB / 1.013 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/1.843, allocations: 2.823 MB / 1.016 GB, free: 151 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01088/1.854, allocations: 5.872 MB / 1.021 GB, free: 145.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.855, allocations: 295.3 kB / 1.022 GB, free: 144.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/1.855, allocations: 0 / 1.022 GB, free: 144.8 MB / 0.545 GB Notification: Performance of Templates: time 0.415/2.27, allocations: 175.2 MB / 1.193 GB, free: 162.4 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: