Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008039/0.000804, allocations: 90.22 kB / 16.65 MB, free: 6.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.0008251/0.0008252, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.518/1.518, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3012/0.3012, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0005517/0.0005517, allocations: 14.25 kB / 391.8 MB, free: 50.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 60.27 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D): time 0.04173/0.1424, allocations: 40 MB / 492.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.1567, allocations: 10.79 MB / 0.4911 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.1575, allocations: 11.94 kB / 0.4911 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.1582, allocations: 186.9 kB / 0.4913 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008142/0.159, allocations: 358.2 kB / 0.4916 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.1723, allocations: 4.066 MB / 0.4956 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006209/0.1785, allocations: 6.083 MB / 0.5015 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.1819, allocations: 1.775 MB / 0.5033 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.1848, allocations: 1.54 MB / 0.5048 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.1896, allocations: 2.76 MB / 0.5075 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.1908, allocations: 324 kB / 0.5078 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.2037, allocations: 6.388 MB / 0.514 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.2066, allocations: 1.948 MB / 0.5159 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003736/0.2104, allocations: 2.463 MB / 0.5183 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.2257, allocations: 9.565 MB / 0.5276 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2257, allocations: 0 / 0.5276 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.489e-06/0.2258, allocations: 0 / 0.5276 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002327/0.226, allocations: 0 / 0.5276 GB, free: 0.6523 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.2763/0.5023, allocations: 10.25 MB / 0.5377 GB, free: 81.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.5024, allocations: 9.531 kB / 0.5377 GB, free: 81.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005409/0.5079, allocations: 0.7639 MB / 0.5384 GB, free: 80.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00832/0.5162, allocations: 2.779 MB / 0.5411 GB, free: 79.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/0.5167, allocations: 387.5 kB / 0.5415 GB, free: 79.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.5194, allocations: 0.4962 MB / 0.542 GB, free: 79.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/0.5468, allocations: 12.05 MB / 0.5537 GB, free: 73.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.5469, allocations: 0 / 0.5537 GB, free: 73.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/0.548, allocations: 211.9 kB / 0.554 GB, free: 72.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.5482, allocations: 214.4 kB / 0.5542 GB, free: 72.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03704/0.5853, allocations: 14.19 MB / 0.568 GB, free: 58.42 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.03528/0.6206, allocations: 24.25 MB / 0.5917 GB, free: 32.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009706/0.6303, allocations: 4.473 MB / 0.5961 GB, free: 28.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/0.6332, allocations: 2.008 MB / 0.598 GB, free: 26.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1259/0.7592, allocations: 64.63 MB / 0.6611 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/0.7593, allocations: 60.56 kB / 0.6612 GB, free: 1.859 MB / 462.1 MB Notification: Performance of pre-optimization done (n=240): time 5.58e-06/0.7593, allocations: 0 / 0.6612 GB, free: 1.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=240): time 0.1103/0.8696, allocations: 23.29 MB / 0.6839 GB, free: 10.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.8697, allocations: 78.44 kB / 0.684 GB, free: 10.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/0.8749, allocations: 3.972 MB / 0.6879 GB, free: 6.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001143/0.8761, allocations: 69.7 kB / 0.688 GB, free: 6.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002371/0.8785, allocations: 3.139 MB / 0.691 GB, free: 3.258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002237/0.8808, allocations: 0.9783 MB / 0.692 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.8825, allocations: 0.7002 MB / 0.6927 GB, free: 1.574 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.8827, allocations: 341.9 kB / 0.693 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00728/0.89, allocations: 3.796 MB / 0.6967 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/0.9012, allocations: 8.927 MB / 0.7054 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/0.9196, allocations: 13.38 MB / 0.7185 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001766/0.9199, allocations: 52 kB / 0.7185 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.2841/1.204, allocations: 15.07 MB / 0.7332 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.003675/1.208, allocations: 5.392 MB / 0.7385 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003993/1.208, allocations: 180.8 kB / 0.7387 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03692/1.245, allocations: 10.29 MB / 0.7487 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005636/1.251, allocations: 1.743 MB / 0.7504 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/1.266, allocations: 9.071 MB / 0.7593 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007699/1.274, allocations: 1.264 MB / 0.7605 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.275, allocations: 0.652 MB / 0.7612 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.275, allocations: 0 / 0.7612 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02329/1.298, allocations: 14.59 MB / 0.7754 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006213/1.299, allocations: 180 kB / 0.7756 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03392/1.333, allocations: 10.28 MB / 0.7856 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/1.338, allocations: 1.735 MB / 0.7873 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.353, allocations: 9.081 MB / 0.7962 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/1.361, allocations: 0.9373 MB / 0.7971 GB, free: 118.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/1.362, allocations: 0.6404 MB / 0.7977 GB, free: 118 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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,142)} Notification: Performance of prepare postOptimizeDAE: time 0.003306/1.366, allocations: 1.834 MB / 0.7995 GB, free: 116.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/1.367, allocations: 358.3 kB / 0.7999 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04377/1.41, allocations: 31.19 MB / 0.8303 GB, free: 84.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.032e-05/1.41, allocations: 59.94 kB / 0.8304 GB, free: 84.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.41, allocations: 0 / 0.8304 GB, free: 84.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.975e-05/1.411, allocations: 19.88 kB / 0.8304 GB, free: 84.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05515/1.466, allocations: 42.67 MB / 0.8721 GB, free: 41.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/1.466, allocations: 4 kB / 0.8721 GB, free: 41.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.468, allocations: 384.8 kB / 0.8724 GB, free: 40.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02878/1.497, allocations: 7.024 MB / 0.8793 GB, free: 33.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/1.498, allocations: 123.9 kB / 0.8794 GB, free: 33.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04736/1.546, allocations: 28.55 MB / 0.9073 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.546, allocations: 7.969 kB / 0.9073 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3195/1.865, allocations: 13.66 MB / 0.9207 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003257/1.869, allocations: 0.8845 MB / 0.9215 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.87, allocations: 85.56 kB / 0.9216 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/1.874, allocations: 254.7 kB / 0.9218 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001681/1.876, allocations: 231.7 kB / 0.9221 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005556/1.876, allocations: 104.5 kB / 0.9222 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00478/1.881, allocations: 2.309 MB / 0.9244 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/1.881, allocations: 0.5625 kB / 0.9244 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0209/1.902, allocations: 3.251 MB / 0.9276 GB, free: 158.9 MB / 0.5137 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: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,106)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006483/1.909, allocations: 1.019 MB / 0.9286 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.03757/1.946, allocations: 16.21 MB / 0.9444 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/1.946, allocations: 6.844 kB / 0.9444 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.958, allocations: 4.262 MB / 0.9486 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/1.964, allocations: 0.6594 MB / 0.9492 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.985, allocations: 13.38 MB / 0.9623 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/1.988, allocations: 2.691 MB / 0.9649 GB, free: 136 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01239/2, allocations: 5.758 MB / 0.9705 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/2.002, allocations: 283.3 kB / 0.9708 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/2.002, allocations: 3.938 kB / 0.9708 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.428/2.43, allocations: 175.9 MB / 1.143 GB, free: 158.4 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)