Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002207/0.002207, allocations: 179.3 kB / 8.343 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009723/0.0009724, allocations: 84.11 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5187/0.5187, allocations: 48.78 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.918e-05, allocations: 4 kB / 425.3 MB, free: 8.234 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.144/8.286, allocations: 2.942 GB / 3.417 GB, free: 119.5 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/8.287, allocations: 75.31 kB / 3.417 GB, free: 119.4 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.675/10.96, allocations: 0.6544 GB / 4.071 GB, free: 47.91 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.504e-06/10.96, allocations: 0 / 4.071 GB, free: 47.91 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.000663/10.96, allocations: 186.3 kB / 4.071 GB, free: 47.9 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2772 * Number of variables: 2772 Notification: Performance of Generate backend data structure: time 0.07068/11.03, allocations: 19.42 MB / 4.09 GB, free: 44.29 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 9.258e-05/11.03, allocations: 7.25 kB / 4.09 GB, free: 44.29 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/11.05, allocations: 1.571 MB / 4.092 GB, free: 43.82 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02705/11.08, allocations: 5.76 MB / 4.097 GB, free: 42.79 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/11.08, allocations: 340.5 kB / 4.098 GB, free: 42.79 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0108/11.09, allocations: 0.6151 MB / 4.098 GB, free: 42.79 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08168/11.17, allocations: 22.66 MB / 4.121 GB, free: 39.81 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06058/11.23, allocations: 17.63 MB / 4.138 GB, free: 22.04 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003862/11.23, allocations: 0 / 4.138 GB, free: 22.04 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006183/11.24, allocations: 4 kB / 4.138 GB, free: 22.04 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003092/11.24, allocations: 421.6 kB / 4.138 GB, free: 21.62 MB / 0.5421 GB Warning: The model contains alias variables with conflicting start and/or 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.524/11.76, allocations: 47.82 MB / 4.185 GB, free: 33.62 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/11.77, allocations: 6.46 MB / 4.191 GB, free: 33.54 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008615/11.78, allocations: 4.117 MB / 4.195 GB, free: 33.52 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1295/11.91, allocations: 64.06 MB / 4.258 GB, free: 26.08 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/11.91, allocations: 95.03 kB / 4.258 GB, free: 26.04 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=501): time 1.954e-05/11.91, allocations: 4 kB / 4.258 GB, free: 26.03 MB / 0.5733 GB Notification: Performance of matching and sorting (n=501): time 0.09081/12, allocations: 22.41 MB / 4.28 GB, free: 24.96 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/12, allocations: 103.3 kB / 4.28 GB, free: 24.9 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/12.02, allocations: 6.521 MB / 4.286 GB, free: 24.29 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.003111/12.02, allocations: 33.61 kB / 4.286 GB, free: 24.25 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.005213/12.02, allocations: 6.212 MB / 4.292 GB, free: 20.25 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.005401/12.03, allocations: 1.965 MB / 4.294 GB, free: 19.14 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003474/12.03, allocations: 0 / 4.294 GB, free: 19.14 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.001488/12.03, allocations: 1.062 MB / 4.295 GB, free: 18.8 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01378/12.05, allocations: 7.215 MB / 4.302 GB, free: 18.76 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02451/12.07, allocations: 17.22 MB / 4.319 GB, free: 5.527 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02967/12.1, allocations: 11.08 MB / 4.33 GB, free: 4.973 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007925/12.1, allocations: 99.97 kB / 4.33 GB, free: 4.973 MB / 0.5733 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.08949/12.19, allocations: 29.1 MB / 4.358 GB, free: 11.3 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 0.4706/12.66, allocations: 140.5 MB / 4.496 GB, free: 7.34 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001672/12.66, allocations: 353.7 kB / 4.496 GB, free: 7.34 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09309/12.76, allocations: 24.15 MB / 4.52 GB, free: 7.078 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/12.77, allocations: 3.353 MB / 4.523 GB, free: 7.078 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06157/12.83, allocations: 22.31 MB / 4.545 GB, free: 6.328 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02003/12.85, allocations: 2.256 MB / 4.547 GB, free: 5.652 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006596/12.86, allocations: 1.279 MB / 4.548 GB, free: 5.648 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/12.86, allocations: 5.031 kB / 4.548 GB, free: 5.648 MB / 0.6515 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0694/12.93, allocations: 27.13 MB / 4.575 GB, free: 3.949 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001949/12.93, allocations: 352.2 kB / 4.575 GB, free: 3.949 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09249/13.02, allocations: 24.13 MB / 4.598 GB, free: 2.934 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/13.03, allocations: 3.327 MB / 4.602 GB, free: 2.613 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05992/13.09, allocations: 22.31 MB / 4.624 GB, free: 1.32 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/13.11, allocations: 1.623 MB / 4.625 GB, free: 0.6172 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006546/13.12, allocations: 1.264 MB / 4.626 GB, free: 424 kB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1613 * Number of states: 0 () * Number of discrete variables: 28 (hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1804): * Single equations (assignments): 1803 * 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 {26 362} Notification: Performance of prepare postOptimizeDAE: time 0.4447/13.57, allocations: 0.8997 MB / 4.627 GB, free: 130.3 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002799/13.57, allocations: 0.6814 MB / 4.628 GB, free: 130 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1297/13.7, allocations: 65.85 MB / 4.692 GB, free: 129 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001906/13.7, allocations: 137.8 kB / 4.692 GB, free: 129 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/13.7, allocations: 0 / 4.692 GB, free: 129 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001856/13.7, allocations: 27.89 kB / 4.692 GB, free: 129 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1335/13.83, allocations: 88 MB / 4.778 GB, free: 97.12 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.079e-05/13.83, allocations: 0 / 4.778 GB, free: 97.12 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005611/13.84, allocations: 0.7421 MB / 4.779 GB, free: 97.04 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07058/13.91, allocations: 16.44 MB / 4.795 GB, free: 90.35 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004648/13.91, allocations: 175.6 kB / 4.795 GB, free: 90.25 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5716/14.49, allocations: 58.85 MB / 4.853 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/14.49, allocations: 1.062 kB / 4.853 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08317/14.57, allocations: 30.03 MB / 4.882 GB, free: 122.2 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009183/14.58, allocations: 1.768 MB / 4.884 GB, free: 121.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004518/14.58, allocations: 84.56 kB / 4.884 GB, free: 121.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/14.59, allocations: 499.5 kB / 4.884 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004763/14.6, allocations: 490 kB / 4.885 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002418/14.6, allocations: 199.9 kB / 4.885 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.009402/14.61, allocations: 4.106 MB / 4.889 GB, free: 121.4 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.91e-07/14.61, allocations: 0 / 4.889 GB, free: 121.4 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.03769/14.65, allocations: 5.27 MB / 4.894 GB, free: 121 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (hexA.p,hexA.h[1],hexA.h[2],hexA.h[3],hexA.h[4],hexA.h[5],hexA.h[6],hexA.h[7],hexA.h[8],hexA.h[9],hexA.h[10],hexA.h[11],hexA.h[12],hexB.p,hexB.h[1],hexB.h[2],hexB.h[3],hexB.h[4],hexB.h[5],hexB.h[6],hexB.h[7],hexB.h[8],hexB.h[9],hexB.h[10],hexB.h[11],hexB.h[12]) * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {13 126,13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.008189/14.66, allocations: 1.998 MB / 4.896 GB, free: 120.8 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.07043/14.73, allocations: 31.94 MB / 4.927 GB, free: 119.5 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/14.73, allocations: 3.672 kB / 4.927 GB, free: 119.5 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.02541/14.75, allocations: 9.022 MB / 4.936 GB, free: 118.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009039/14.76, allocations: 1.118 MB / 4.937 GB, free: 118.8 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/14.8, allocations: 20.47 MB / 4.957 GB, free: 115.7 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005648/14.81, allocations: 5.063 MB / 4.962 GB, free: 114.8 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.02798/14.83, allocations: 10.62 MB / 4.972 GB, free: 113.6 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/14.84, allocations: 0.5223 MB / 4.973 GB, free: 113.6 MB / 0.6515 GB Notification: Performance of SimCode: time 1.804e-06/14.84, allocations: 0 / 4.973 GB, free: 113.6 MB / 0.6515 GB Notification: Performance of Templates: time 0.8122/15.65, allocations: 320.2 MB / 5.286 GB, free: 24.76 MB / 0.6515 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe 2>&1)