Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009162/0.0009165, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.375/1.375, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2646/0.2646, 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.0005298/0.0005299, allocations: 13.91 kB / 391.8 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09111, allocations: 60.26 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.04194/0.1331, allocations: 40.15 MB / 492.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.1505, allocations: 15.93 MB / 0.4963 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.1512, allocations: 11.88 kB / 0.4963 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.1518, allocations: 187 kB / 0.4964 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.1619, allocations: 3.727 MB / 0.5001 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.1651, allocations: 1.054 MB / 0.5011 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002169/0.1673, allocations: 2.136 MB / 0.5032 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006361/0.168, allocations: 465.7 kB / 0.5036 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.1687, allocations: 478.2 kB / 0.5041 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/0.1695, allocations: 0.615 MB / 0.5047 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.1696, allocations: 36 kB / 0.5047 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.1808, allocations: 6.2 MB / 0.5108 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.1812, allocations: 319 kB / 0.5111 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006308/0.1818, allocations: 0.5071 MB / 0.5116 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00883/0.1907, allocations: 4.349 MB / 0.5158 GB, free: 12.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1907, allocations: 3.938 kB / 0.5158 GB, free: 12.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1907, allocations: 0 / 0.5158 GB, free: 12.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1907, allocations: 4 kB / 0.5158 GB, free: 12.79 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004138/0.1949, allocations: 1.599 MB / 0.5174 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1949, allocations: 8.031 kB / 0.5174 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.1963, allocations: 251.6 kB / 0.5176 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1974, allocations: 0.6204 MB / 0.5183 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.1974, allocations: 62.38 kB / 0.5183 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1976, allocations: 100.3 kB / 0.5184 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005215/0.2028, allocations: 2.213 MB / 0.5206 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2029, allocations: 4 kB / 0.5206 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.203, allocations: 28 kB / 0.5206 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.203, allocations: 53.98 kB / 0.5207 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/0.2082, allocations: 2.209 MB / 0.5228 GB, free: 5.531 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.005748/0.214, allocations: 4.844 MB / 0.5275 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2239/0.4379, allocations: 1.395 MB / 0.5289 GB, free: 84.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.4386, allocations: 373.9 kB / 0.5293 GB, free: 84.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1177/0.5564, allocations: 64.59 MB / 0.5923 GB, free: 29.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5564, allocations: 39.12 kB / 0.5924 GB, free: 29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.445e-06/0.5564, allocations: 0 / 0.5924 GB, free: 29 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.008575/0.565, allocations: 2.896 MB / 0.5952 GB, free: 26.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5651, allocations: 63.97 kB / 0.5953 GB, free: 26.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.5656, allocations: 0.4893 MB / 0.5957 GB, free: 25.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.5657, allocations: 37.7 kB / 0.5958 GB, free: 25.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5659, allocations: 379 kB / 0.5961 GB, free: 25.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.5661, allocations: 241.8 kB / 0.5964 GB, free: 24.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.5663, allocations: 73.67 kB / 0.5964 GB, free: 24.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.5664, allocations: 376.4 kB / 0.5968 GB, free: 24.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008491/0.5672, allocations: 0.6148 MB / 0.5974 GB, free: 23.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/0.5681, allocations: 0.7627 MB / 0.5981 GB, free: 23.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.5699, allocations: 1.353 MB / 0.5995 GB, free: 21.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5699, allocations: 0 / 0.5995 GB, free: 21.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003634/0.5735, allocations: 2.246 MB / 0.6017 GB, free: 19.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.5736, allocations: 168.2 kB / 0.6018 GB, free: 19.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.5736, allocations: 4 kB / 0.6018 GB, free: 19.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.577, allocations: 1.732 MB / 0.6035 GB, free: 17.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.5774, allocations: 87.89 kB / 0.6036 GB, free: 17.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.5807, allocations: 2.408 MB / 0.606 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.5817, allocations: 128.7 kB / 0.6061 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.5818, allocations: 97.58 kB / 0.6062 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5819, allocations: 8 kB / 0.6062 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/0.5853, allocations: 2.151 MB / 0.6083 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5853, allocations: 4 kB / 0.6083 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.5886, allocations: 1.737 MB / 0.61 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.589, allocations: 90.7 kB / 0.6101 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.5921, allocations: 2.4 MB / 0.6124 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.593, allocations: 126.4 kB / 0.6125 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5932, allocations: 91.91 kB / 0.6126 GB, free: 8.086 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (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 (50): * Single equations (assignments): 49 * 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 {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0005273/0.5937, allocations: 360.9 kB / 0.613 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5939, allocations: 67.19 kB / 0.613 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/0.6023, allocations: 10.17 MB / 0.623 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.6024, allocations: 23.97 kB / 0.623 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.6024, allocations: 4 kB / 0.623 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.6024, allocations: 3.984 kB / 0.623 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.6068, allocations: 4.725 MB / 0.6276 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6068, allocations: 0 / 0.6276 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.6076, allocations: 151.7 kB / 0.6277 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.6093, allocations: 419.6 kB / 0.6281 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.6094, allocations: 27.97 kB / 0.6282 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.6143, allocations: 4.185 MB / 0.6323 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6143, allocations: 0 / 0.6323 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/0.6185, allocations: 2.572 MB / 0.6348 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.6189, allocations: 267.6 kB / 0.635 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.619, allocations: 19.98 kB / 0.635 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.6197, allocations: 71.84 kB / 0.6351 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6199, allocations: 56.56 kB / 0.6352 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.62, allocations: 24.8 kB / 0.6352 GB, free: 384 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003924/0.6204, allocations: 346.8 kB / 0.6355 GB, free: 36 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.6204, allocations: 0 / 0.6355 GB, free: 36 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003238/0.6236, allocations: 1.305 MB / 0.6368 GB, free: 14.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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): 2 systems {(5,8,76.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003465/0.6271, allocations: 0.9668 MB / 0.6377 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004762/0.6319, allocations: 2.543 MB / 0.6402 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6319, allocations: 3.844 kB / 0.6402 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.6338, allocations: 1.104 MB / 0.6413 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.6355, allocations: 292.6 kB / 0.6416 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.6395, allocations: 3.05 MB / 0.6446 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.6402, allocations: 1.121 MB / 0.6457 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008329/0.641, allocations: 390.7 kB / 0.646 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.6413, allocations: 59.41 kB / 0.6461 GB, free: 5.383 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6413, allocations: 0 / 0.6461 GB, free: 5.383 MB / 446.1 MB Notification: Performance of Templates: time 0.0863/0.7276, allocations: 67.08 MB / 0.7116 GB, free: 2.012 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1) Environment - environmentSimulation: