Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 89.77 kB / 16.65 MB, free: 6.586 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.001264/0.001264, allocations: 182.5 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.282/1.282, 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.2443/0.2443, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.000767/0.0007671, allocations: 14.91 kB / 391.8 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1005, allocations: 60.26 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp): time 0.04811/0.1487, allocations: 51.91 MB / 0.4922 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.1672, allocations: 16.47 MB / 0.5083 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.1679, allocations: 15.94 kB / 0.5083 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.1688, allocations: 278.5 kB / 0.5085 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.1788, allocations: 3.777 MB / 0.5122 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.1822, allocations: 1.233 MB / 0.5134 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.1846, allocations: 2.425 MB / 0.5158 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.1852, allocations: 0.4984 MB / 0.5163 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.1859, allocations: 0.5293 MB / 0.5168 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000843/0.1867, allocations: 0.6849 MB / 0.5175 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.1869, allocations: 40 kB / 0.5175 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.1994, allocations: 7.152 MB / 0.5245 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.1997, allocations: 307 kB / 0.5248 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.2003, allocations: 0.5071 MB / 0.5253 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1909/0.3913, allocations: 4.933 MB / 0.5301 GB, free: 18.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3913, allocations: 0 / 0.5301 GB, free: 18.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3913, allocations: 0 / 0.5301 GB, free: 18.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3914, allocations: 1.031 kB / 0.5301 GB, free: 18.94 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004882/0.3962, allocations: 1.729 MB / 0.5318 GB, free: 18.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3963, allocations: 10.88 kB / 0.5318 GB, free: 18.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3976, allocations: 244.7 kB / 0.532 GB, free: 18.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3987, allocations: 0.6356 MB / 0.5327 GB, free: 17.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.3987, allocations: 60.56 kB / 0.5327 GB, free: 17.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3989, allocations: 85.67 kB / 0.5328 GB, free: 17.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/0.4036, allocations: 2.001 MB / 0.5348 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.4037, allocations: 2.219 kB / 0.5348 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.4038, allocations: 32.86 kB / 0.5348 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.4039, allocations: 44.97 kB / 0.5348 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.4087, allocations: 1.985 MB / 0.5368 GB, free: 17.75 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.005525/0.4142, allocations: 4.654 MB / 0.5413 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.4176, allocations: 1.362 MB / 0.5426 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/0.4183, allocations: 411 kB / 0.543 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1495/0.5678, allocations: 80.86 MB / 0.622 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.49e-05/0.5679, allocations: 39.16 kB / 0.622 GB, free: 11.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=72): time 3.547e-06/0.5679, allocations: 0 / 0.622 GB, free: 11.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=72): time 0.01318/0.5811, allocations: 2.584 MB / 0.6246 GB, free: 9.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.5812, allocations: 60.06 kB / 0.6246 GB, free: 9.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.5822, allocations: 0.5424 MB / 0.6251 GB, free: 8.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.5824, allocations: 40.58 kB / 0.6252 GB, free: 8.879 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.5827, allocations: 346.4 kB / 0.6255 GB, free: 8.645 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.5832, allocations: 254.8 kB / 0.6258 GB, free: 8.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.5834, allocations: 67.94 kB / 0.6258 GB, free: 8.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5837, allocations: 386.2 kB / 0.6262 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.5854, allocations: 0.5665 MB / 0.6267 GB, free: 7.652 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.5874, allocations: 0.6984 MB / 0.6274 GB, free: 7.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.5914, allocations: 1.245 MB / 0.6286 GB, free: 6.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5914, allocations: 0 / 0.6286 GB, free: 6.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007731/0.5992, allocations: 2.052 MB / 0.6306 GB, free: 4.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.5993, allocations: 156.2 kB / 0.6308 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5994, allocations: 7.938 kB / 0.6308 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007958/0.6073, allocations: 1.676 MB / 0.6324 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.6081, allocations: 89.53 kB / 0.6325 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006809/0.6149, allocations: 2.307 MB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.6167, allocations: 140.7 kB / 0.6349 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/0.617, allocations: 79.17 kB / 0.635 GB, free: 1.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.617, allocations: 4 kB / 0.635 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007162/0.6242, allocations: 1.948 MB / 0.6369 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6243, allocations: 0 / 0.6369 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008067/0.6323, allocations: 1.675 MB / 0.6385 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.633, allocations: 90.3 kB / 0.6386 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/0.6402, allocations: 2.307 MB / 0.6409 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.6421, allocations: 128 kB / 0.641 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.6424, allocations: 79.14 kB / 0.6411 GB, free: 12.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (44): * Single equations (assignments): 43 * 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 {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0009888/0.6434, allocations: 349.6 kB / 0.6414 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.6437, allocations: 75.16 kB / 0.6415 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/0.6607, allocations: 8.74 MB / 0.65 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-05/0.6608, allocations: 24.67 kB / 0.65 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.6608, allocations: 4 kB / 0.65 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.6608, allocations: 3.984 kB / 0.65 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/0.6679, allocations: 4.107 MB / 0.654 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.668, allocations: 2.297 kB / 0.6541 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.6697, allocations: 167.5 kB / 0.6542 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.6721, allocations: 301 kB / 0.6545 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.6723, allocations: 27.97 kB / 0.6545 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005834/0.6781, allocations: 2.423 MB / 0.6569 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6782, allocations: 0.8125 kB / 0.6569 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00829/0.6865, allocations: 2.673 MB / 0.6595 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008976/0.6874, allocations: 283.3 kB / 0.6598 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.6877, allocations: 23.92 kB / 0.6598 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.6892, allocations: 83.88 kB / 0.6599 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.6895, allocations: 56.66 kB / 0.6599 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.6896, allocations: 32.83 kB / 0.66 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009002/0.6906, allocations: 386.8 kB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6906, allocations: 0 / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006176/0.6968, allocations: 1.391 MB / 0.6617 GB, free: 9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 1 system {(4,6,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008072/0.7049, allocations: 1.149 MB / 0.6628 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008367/0.7132, allocations: 2.36 MB / 0.6651 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7133, allocations: 4 kB / 0.6651 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.7162, allocations: 1.01 MB / 0.6661 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/0.7199, allocations: 375.1 kB / 0.6665 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.727, allocations: 3.069 MB / 0.6695 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.7282, allocations: 1.118 MB / 0.6706 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001705/0.7299, allocations: 324.8 kB / 0.6709 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.7304, allocations: 71.41 kB / 0.6709 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.7304, allocations: 0 / 0.6709 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.2637/0.9941, allocations: 68.8 MB / 0.7381 GB, free: 238.7 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1) Environment - environmentSimulation: